On Thu, Dec 05, 2002 at 05:38:24PM -0800, Keith Packard wrote:
> instead.  You can add size tests inside the match element if you like to 
> narrow the range to specific sizes.

As an example, here is what I use for a traditional Chinese font:

        <match target="font">
                <test name="family" compare="eq">
                        <string>MingLiU</string>
                </test>
                <or>
                        <test name="family" compare="eq">
                                <string>PMingLiU</string>
                        </test>
                </or>
                <test name="size" compare="more_eq">
                        <double>8</double>
                </test>
                <test name="size" compare="less_eq">
                        <double>12</double>
                </test>
                <test target="pattern" name="slant" compare="eq">
                        <const>roman</const>
                </test>
                <edit name="antialias" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>

-- 
  Roger So                 Debian Developer
  Sun Wah Linux Limited    i18n/L10n Project Leader
  Tel: +852 2250 0230      [EMAIL PROTECTED]
  Fax: +852 2259 9112      http://www.sw-linux.com/
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to