[poppler] LCD filtering

Carl Worth cworth at cworth.org
Tue May 13 11:27:41 PDT 2008


On Tue, 13 May 2008 19:54:48 +0200, Albert Astals Cid wrote:
> A Dimarts 13 Maig 2008, towolf at gmail.com 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080513/e8febc92/attachment.pgp 


More information about the poppler mailing list