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: Werner LEMBERG
Subject: Re: [ft-devel] Taming CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y* for a gamma of ~2.2/sRGB?
Date: Sun, 23 Aug 2015 18:26:26 +0200 (CEST)

> "stem width measured along the vertical axis" == stdHW?

Yes.

> I was thinking about refactoring the emboldening out into a kind of
> service that font drivers can use internally when they promise to
> hint Y only.  But I know too little about FT's internals yet to
> judge if this is actually a good idea.

This might be a nice idea!  However, I suggest that you first finish
the stuff for the auto-hinter.  This makes your life much simpler :-)

> No, unless FT_Outline_Embolden() does that, then yes ;)

`FT_Outline_Embolden' *does* change the advance width!  You have to
save the metrics before the call, then restoring the original values.


    Werner



reply via email to

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