[cairo] how to enable font aliasing
draymond at foxvalley.net
Tue Mar 24 19:06:27 PDT 2015
On 3/24/2015 7:14 PM, Lawrence D'Oliveiro wrote:
>> You’re not calling cairo_set_antialias, are you? What does
> By the way, this setting applies to paths, not text. For text, you
> control anti-aliasing via the font_options.
Both APIS return 0 (CAIRO_ANTIALIAS_DEFAULT).
options = cairo_font_options_create();
printf("cairo_font_options_get_antialias = %d\n",
printf("cairo_get_antialias = %d\n", cairo_get_antialias(cr));
I just noticed that text anti-aliasing is working on one machine but not
another. Why would this differ between machines? They both have the
same version of cairo installed.
More information about the cairo