freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Autohinter: stem darkening, first rough prototype


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] Autohinter: stem darkening, first rough prototype
Date: Mon, 31 Aug 2015 13:09:03 -0400

On Mon, Aug 31, 2015 at 12:24 PM, Nikolaus Waxweiler <address@hidden> wrote:
>
> Frankly, I'm not pleased with the results,
> especially below 10 or 11ppem, where glyphs degenerate into a hazy mess

FT_Outline_EmboldenXY will not work well at very small sizes when
emboldening amount may exceed the stem width. In fact I would try that
as a limit:

darkenAmount = darkenAmount > stemWidth ? stemWidth : darkenAmount;

To be more precise, it is not so much about stem width but about
"characteristic feature size" or some characteristic distance between
outline points. If you embolden much more than that, artifacts will be
awesome.



reply via email to

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