freetype
[Top][All Lists]
Advanced

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

Re: [ft] Emboldening and then hinting a glyph with FreeType


From: Edward Woeful
Subject: Re: [ft] Emboldening and then hinting a glyph with FreeType
Date: Thu, 19 Jan 2017 21:23:25 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

Thank you for the answer. I have not tried darkening auto-hinter yet, because the vast majority of fonts being used on E-Ink devices are TrueType (.ttf).

Is there any other possibility to "hint" transformed glyphs? For example, by calling hinting function directly or something like that?

Also I have noticed that proper scaling could help to improve font displaying dramatically. If x-height is aligned to pixel grid, the result looks much like "light hinting" even without hinting at all.

I appreciate any thoughts and advice on this.

Thank you,

Best regards,
EW


I'm a one of the developers of free open source CoolReader3 branch
for E-Ink reader devices and I have a question.  CR3 is based on
FreeType2 lib.  I have added emboldening font functionality to CR3,
since E-Ink devices seem to need some font emboldening due to the
low contrast of E-Ink screens.
The current release of FreeType supports stem darkening for the
auto-hinter.  Have you tried it?

So, my question is: is there a way to embolden a glyph first and
then "hint" it with FT_LOAD_TARGET_NORMAL, HINTING_MODE_AUTOHINT or
FT_LOAD_TARGET_LIGHT, so that I could get an emboldened and THEN
hinted glyph before using FT_Render_Glyph()? I have searched the
Documentation and forums, but was not able to find the answer.
This is not possible (yet).  Stem darkening (this is what you really
want, I guess) is available for CFF and the auto-hinter, but not for
TrueType.


     Werner




reply via email to

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