[cairo] Struggling with subpixel text (last blocker for 1.8)
david at freetype.org
Sun Sep 28 00:51:20 PDT 2008
If you absolutely want to support LCD filtering even if FreeType doesn't,
then I really
recommend you to simply ignore the FreeType-specific APIs and just
damn thing in Cairo.
then deal with the legal consequences yourselves...
2008/9/28 Sylvain Pasche <sylvain.pasche at gmail.com>
> Carl Worth wrote:
> > On Sat, 2008-09-27 at 18:22 +0200, Sylvain Pasche wrote:
> >> The test assumed that FreeType was compiled with that option. Ideally,
> >> it should have used two reference images, and switch the image to test
> >> according to the HAVE_FT_LIBRARY_SETLCDFILTER macro value. I'm not sure
> >> this is possible to do with the current test infrastructure.
> > A macro is a compile-time option. But the capabilities of the freetype
> > libraryy can be varied at runtime. So that's not an interesting place to
> > start at all.
> That's right. A better alternative could be to include
> FT_CONFIG_OPTIONS_H and check for FT_CONFIG_OPTION_SUBPIXEL_RENDERING.
> The macro should match the option that was used when FreeType was
> compiled. The constraint will be that configure and the test should be
> compiled and run against the same FreeType.
> cairo mailing list
> cairo at cairographics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo