I'm trying to modify text2image from the Tesseract OCR training code to output antialiased text.
I've tried tried the suggestions from both Andreas and Constantine in this SO Question: Change font rendering (non-antialiased) with pango but the output is always the same - lots of jagged edges:
Anyone know how to antialias the rendered text?

text2imagegenerates black&white (1 BitsPerPixel) images that why so do not see antialiased text.Also, tesseract uses for training and OCR black&white images, so there is no sense to use/producing antialiased image with
text2image...