freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] FT_Outline_Embolden() is Blurry


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] FT_Outline_Embolden() is Blurry
Date: Sat, 16 Jun 2012 23:07:09 -0400

On Fri, Jun 15, 2012 at 5:31 PM, Infinality <address@hidden> wrote:
> Sorry to resurrect an old thread here, but I think I have a solution that
> preserves the addition of Y-weight at larger font sizes, while still keeping
> the blur to a minimum:
>
> In FT_Outline_Embolden (which is now FT_Outline_Embolden_XY), do this to
> ystrength:
>    ystrength = FT_PIX_FLOOR ( ystrength );

This rounding belongs at a higher level. Nothing stops an enlightened
user from properly rounding the strength before calling this function.
There is no need to hard code this at the low level function or
library. There may be a case to be made for this rounding in
FT_GlyphSlot_Embolden. Even then I would argue that hinting belongs to
hinting, it can follow the emboldening but should not be so invasive,



reply via email to

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