Re: how to enable font aliasing

Dan Raymond <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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?
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.