[Fontconfig] Help, about font size

Ken Joseph o123 at netian.com
Thu Mar 13 13:15:00 EST 2003


Keith Packard wrote:

>Around 19 o'clock on Mar 9, "Jeffrey Shen" wrote:
>
>>    <test qual="any" name="size" compare="less_eq">
>>        <string>12</string>
>>    </test>
>
>You'll have to change the type of the '12' in the above to get it to 
>successfully compare against numbers.  Try
>
>	<int>12</int>
>
>instead.

I use the type "double" instead of "int" as explained in the fontconfig
user's manual. I disabled anti-aliasing for 11-25 point sizes of Gulim font.
Take a look at an example from my ~/.fonts.conf file.

        <match target="font">
                <test name="family">
                        <string>Gulim</string>
                </test>
                <test name="size" compare="more">
                        <double>10</double>
                </test>
                <test name="size" compare="less">
                        <double>26</double>
                </test>
                <edit name="antialias" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>




________________________________________
네띠앙 프리미엄 메일 오픈! (SMTP, 스팸메일 필터링 제공) http://www.netian.com/premium_mail/main.html





More information about the Fontconfig mailing list