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 11:11:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

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.

Saving advance_width, emboldening, restoring advance-width wouldn't work as
the emboldened outline is shifter to the right so as to retain it's lsb.  We'd
need to shift it left.



reply via email to

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