On Tue, 13 May 2008 19:54:48 +0200, Albert Astals Cid wrote: > A Dimarts 13 Maig 2008, [EMAIL PROTECTED] va escriure: > > Can we enable FreeType's/Cairo's subpixel rendering mode in Poppler? > > Just asking whether that's possible. > > More info needed. > > What's that? > > Should it be always on or configurable by the application? > > How does one enable it?
The mode is selectable with:
cairo_font_options_set_antialias (font_options,
CAIRO_ANTIALIAS_SUBPIXEL);
But poppler really shouldn't need to be calling this
explicitly. Instead, cairo should be setting the font options
automatically so that when cairo renders to an X surface, the subpixel
settings are enabled by default if the user has configured his system
to do so, (such as with GNOME or KDE font-rendering preferences).
Tobias, what kind of surface are you rendering to? And do you have
your system font settings set to do sub-pixel rendering?
-Carl
pgpGkowo8cJQX.pgp
Description: PGP signature
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
