You are not logged in.

#1 2008-04-21 01:23:39

jrick
Member
Registered: 2008-01-16
Posts: 27

Correct Fontconfig Syntax

I am trying to set up my Fontconfig so that fonts in the Bitstream Vera/Dejavu Sans families >= 12 pts are not hinted (or use the hintnone hintstyle).  Here is the appropriate section in my ~/.fonts.conf so far:

<match>
    <test compare="more_eq" compare="size" >
        <double>12<double>
    </test>
    <test name="family">
        <string>Bitstream Vera Sans</string> <or> <string>DejaVu Sans</string> <or> <string>Sans</string>
    </test>
    <edit mode="assign" name="hintstyle">
        <const>hintnone</const>
    </edit>
</match>

Am I using the <or> tag correctly? I don't think so, as I don't see any difference in my webpages.  Is this possible to do this without three separate <match> tags?

EDIT: Must have been really tired when writing this post... what's a Syntaxset? tongue

Last edited by jrick (2008-04-21 19:21:32)


"Gentlemen! You can't fight in here! This is the war room!"
--President Merkin Muffley

Offline

Board footer

Powered by FluxBB