freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [RFC] FT_LCD_FILTER_HEAVY


From: Werner LEMBERG
Subject: Re: [ft-devel] [RFC] FT_LCD_FILTER_HEAVY
Date: Mon, 21 Nov 2011 07:46:50 +0100 (CET)

> With the patch and freetype2, lcdfilter=lcddefault would correspond to:
> 
>       <match target="font">
>         <edit mode="assign" name="lcdfilter">
>           <const>lcdcustom</const>
>         </edit>
>       </match>
>       <match target="font">
>         <edit mode="assign" name="lcdfiltercustom">
>           <string>.0625 .25 .4375 .25 .0625</string>
>         </edit>
>       </match>
> 
> But it's not perfect, as users of the fontconfig API would have to
> parse the lcdfiltercustom string themselves. I will ask if the
> fontconfig developers see a better way of specifying a list of
> double.

What about using values between 0 and 1000 instead?

And I second Erik: Specifying five values looks `right'.


    Werner



reply via email to

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