[cairo] Font smoothing using anti aliasing

shiplu shiplu.net at gmail.com
Tue Aug 3 15:54:02 PDT 2010


On Wed, Aug 4, 2010 at 3:48 AM, Karl Tomlinson <cairo at karlt.net> wrote:
> shiplu writes:
>
>> I am trying to smooth text rendering using anti aliasing.
>> But its not anti aliased.
>>
>> See the picture http://tinypic.com/r/2h7dy1i/4
>> First line is a png image created using pango and cairo.
>
> This is anti-aliased with CAIRO_ANTIALIAS_GRAY
> (from cairo_font_options_set_antialias, I expect).
>
>> Second line is just an html <span> tag. Its in firefox, Ubuntu with Gnome DE.
>
> This looks anti-aliased with CAIRO_ANTIALIAS_SUBPIXEL.  That comes
> from screen settings and/or fontconfig settings.
>

No matter what CAIRO_ANTIALIAS_* option I set. It doesn't change the
image. Its just as it is.


More information about the cairo mailing list