[cairo] win32 text antialiasing
Kozhevnikov Mikhail
mikhailkozhevnikov at yandex.ru
Fri Jan 9 14:48:06 PST 2009
Hi All,
I'm using Cairo Win32 backend. While graphics look nice and smooth, text definitely requires some antialiasing (image attached).
I've tried turning on antialiasing with the following code:
cairo_font_options_t opt;
cairo_get_font_options(_cr, &opt);
cairo_font_options_set_antialias(&opt, CAIRO_ANTIALIAS_GRAY);
cairo_set_font_options(_cr, &opt);
but received an error as _cairo_font_options underlying cairo_font_options_t is not defined.
Could anyone help?
Thanks in advance,
Mikhail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 1538 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20090110/78a7bbc5/attachment.png
More information about the cairo
mailing list