[cairo] how to enable font aliasing
Dan Raymond
draymond at foxvalley.net
Wed Mar 25 00:14:00 PDT 2015
On 3/25/2015 12:44 AM, LRN wrote:
> Both APIS return 0 (CAIRO_ANTIALIAS_DEFAULT). { cairo_font_options_t
> *options; options = cairo_font_options_create();
> printf("cairo_font_options_get_antialias = %d\n",
> cairo_font_options_get_antialias(options));
> 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.
> Stupid question: Are you using Windows pangocairo backend (as opposed to
> Fontconfig backend), and if so, do you have ClearType enabled?
I built cairo as follows:
./configure --build=i686-w64-mingw32 --disable-xlib --disable-xcb
make
make install
configure reported the following:
The following font backends:
User: yes (always builtin)
FreeType: yes
Fontconfig: yes
Win32: yes
Quartz: no (requires CoreGraphics framework)
I built pango as follows:
./configure --build=i686-w64-mingw32 --with-included_modules
make
make install
When building my application I used:
`pkg-config --cflags --libs glib-2.0 pangocairo`
I don't know about ClearType. How is that enabled/disabled?
More information about the cairo
mailing list