[Fontconfig] Help, about font size

Ken Joseph fontconfig@fontconfig.org
Wed, 12 Mar 2003 18:15:00 -0800


Keith Packard wrote:

>Around 19 o'clock on Mar 9, "Jeffrey Shen" wrote:
>
>>    <test qual=3D"any" name=3D"size" compare=3D"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 fo=
nt.
Take a look at an example from my ~/.fonts.conf file.

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




________________________________________
³×¶ì¾Ó ÇÁ¸®¹Ì¾ö ¸ÞÀÏ ¿ÀÇÂ! (SMTP, ½ºÆÔ¸ÞÀÏ ÇÊÅ͸µ Á¦°ø) http://www.netian.com/premium_mail/main.html