Solved /usr/local/etc/fonts/local.conf syntax - AND two conditions?

Can't get syntax rules for fonts-conf()
How to write this (logical AND):
Code:
<test name="file" compare="contains">
      <string>fonts</string>
</test>
-AND-
<test name="size" compare="less">
       <double>18</double>
</test>
 
Finally, I've got it working this way:
Code:
<match target="font">
   <test qual="any" name="file" compare="contains">
       <string>fonts</string>
   </test>
   <test qual="any" name="size" compare="less">
       <double>18</double>
   </test>
   <edit name="antialias" mode="assign">
       <bool>false</bool>
   </edit>
</match>
But I wonder, why qual="any"? Shouldn't in be "all" for AND?
 
Back
Top