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: Alexei Podtelezhnikov
Subject: Re: [ft-devel] Taming CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y* for a gamma of ~2.2/sRGB?
Date: Mon, 24 Aug 2015 07:07:22 -0400


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?


reply via email to

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