fonts.conf

David Hláčik david at hlacik.eu
Fri Apr 3 12:43:54 UTC 2009


Hello guys,

I am using hintslight by default . I want to configure fontconfig to
use hintmedium for fonts equal or smaller than 9px , this is what i
have in my .fonts.conf :

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
    <test name="pixelsize" compare="less_eq">
      <double>9.0</double>
    </test>
    <edit name="hintstyle" mode="assign">
      <const>hintmedium</const>
    </edit>
  </match>
</fontconfig>

But it does not works,

what is wrong?

Thanks,
David




More information about the users mailing list