[cairo] Freetype + subpixel, how?

Igor Stasenko siguctua at gmail.com
Tue Oct 23 07:44:10 PDT 2012


Hi,
i setting AA options using

cairo_font_options_set_antialias ( options, CAIRO_ANTIALIAS_SUBPIXEL);

and then passing options to  cairo_scaled_font_create() function.

But it looks like those options are either ignored or overridden by
global ones, and resulting font rendered using grayscale AA..

Is there example/explanation what is the proper way to enable subpixel AA?

Could it be because i using cairo_show_text() function to render text
(because the other one is way too complicated to use outside
of C world)?

-- 
Best regards,
Igor Stasenko.


More information about the cairo mailing list