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: Werner LEMBERG
Subject: Re: [ft] Emboldening and then hinting a glyph with FreeType
Date: Mon, 16 Jan 2017 22:24:17 +0100 (CET)

> 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]