[cairo] how to enable font aliasing

Dan Raymond draymond at foxvalley.net
Tue Mar 24 18:08:25 PDT 2015


On 3/24/2015 7:04 PM, Lawrence D'Oliveiro wrote:
>> Yes, replace all instances of "aliasing" in my post with
>> "anti-aliasing".
> Text anti-aliasing should be on by default. Are you creating a
> CAIRO_FORMAT_A1 image surface, by any chance?

I've tried the following surfaces (same results each time):

surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, 640, 480);
surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 640, 480);
surface = (void 
*)cairo_win32_surface_create_with_dib(CAIRO_FORMAT_RGB24, 640, 480);



More information about the cairo mailing list