Around 9 o'clock on Apr 18, David Reveman wrote:

> I added this to fonts.conf:
> 
> <match target="pattern">
>       <test qual="any" name="family">
>          <string>arial</string>
>       </test>
>       <edit name="hinting" mode="assign">
>          <bool>false</bool>
>       </edit>
>    </match>

This will only work if your pattern includes 'arial'; if you're pattern 
ends up matching 'arial' through some other route, you won't get hinting 
disabled.  The key here is to edit the output of the matching process 
rather than the input:

<match target="font">
        <test qual="any" name="family"><string>arial</string></test>
        <edit name="hinting" mode="assign"><bool>false</bool></edit>
</match>

Now any time your application uses 'arial', it will have hinting disabled.

Keith Packard        XFree86 Core Team        Compaq Cambridge Research Lab


_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to