freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Taming CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y* for a gam


From: Behdad Esfahbod
Subject: Re: [ft-devel] Taming CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y* for a gamma of ~2.2/sRGB?
Date: Mon, 24 Aug 2015 12:10:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

On 15-08-24 12:07 PM, Alexei Podtelezhnikov wrote:
> 
> 
> Alexei A Podtelezhnikov, PhD
> 
>> On Aug 24, 2015, at 6:11 AM, Behdad Esfahbod <address@hidden> wrote:
>>
>>> On 15-08-23 11:29 PM, Werner LEMBERG wrote:
>>>
>>>>> `FT_Outline_Embolden' *does* change the advance width!  You have to
>>>>> save the metrics before the call, then restoring the original
>>>>> values.
>>>>
>>>> Don't you mean experimental FT_Glyph_Embolden?
>>>
>>> Oops *blush*.  Please forget what I've said :-)
>>
>> Ok I'm not following what's going on
> 
> FT_Outline_EmboldenXY only changes the outline and its bounding box. The 
> dimensions of the letter is changed very predictably by xstrength and 
> ystrength. The outline is shifted by half of the strengths so that the 
> bottom-left of the bounding box stays in place. Makes sense?

Yes, this I understand very well.  I have no idea what FT_Glyph_Embolden() is.



reply via email to

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