On Fri, Jun 15, 2012 at 5:31 PM, Infinality <infinal...@infinality.net> 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,

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to