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: Sun, 17 Jun 2012 07:11:21 -0400

On Sat, Jun 16, 2012 at 11:13 PM, Infinality <address@hidden> wrote:
> Well, I can agree with you that it may not be the proper spot for doing the
> rounding;  I just can't imagine why anybody would ever want it to appear the
> way it does now unless no hinting is being used at all.

If you think that rounding the emboldening strength is sufficient, you
must assume that the original outline is already well hinted, which is
just wrong. There is no way you can shortcut the hinting like that.



>
> On 06/16/2012 10:07 PM, Alexei Podtelezhnikov wrote:
>>
>> 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]