freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] gamma correction and stem darkening


From: Nikolaus Waxweiler
Subject: Re: [ft-devel] gamma correction and stem darkening
Date: Sat, 16 Jan 2016 02:30:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

For high-quality output with gamma correction, I think I need both:
(1) native hinting for TrueType fonts -- otherwise tricky CJK fonts
     fail
(2) stem darkening -- otherwise the text is too light after gamma
     correction

This is actually what I have in mind. The idea is to get the TrueType driver to a point where it can be enabled for FT_LOAD_TARGET_LIGHT. What's blocking this from my point of view is:

1) To get stem-darkening working with native TrueType hinting, subpixel hinting/full ClearType handling is needed, specifically the backwards compatibility mode that hides behind #define TT_CONFIG_OPTION_SUBPIXEL_HINTING -- and is not really ready for public consumption. I need it so that I can freely darken on the X-axis. 2) So far, I failed miserably in understanding how this entire TrueType hinting and ClearType stuff works so my attempts to do something about it got nowhere.

Your best bet is probably to find ways to detect tricky fonts somehow or postpone your work to a future release. No idea which one, though...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]