Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

My .fonts.conf file

This is the contents of my .fonts.conf file.

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

<!--  Do not smooth Fixedsys  -->
<match target="font" >
        <test name="family" >
                <string>FixedsysTTF</string>
        </test>
        <edit name="antialias" >
                <bool>false</bool>
        </edit>
</match>

<!--  Do not smooth Tahoma 8pt and under  -->
<match target="font" >
        <test name="family" >
                <string>Tahoma</string>
                </test>
        <test compare="less" name="size" qual="any" >
                <double>9</double>
                </test>
        <edit name="antialias" >
                <bool>false</bool>
                </edit>
</match>

        <!--  Do not smooth Times New Roman or 
                  Courier New for 12pt and under  -->
<match target="font" >
        <test name="family" >
                <string>Times New Roman</string>
        </test>
        <test compare="less" name="size" qual="any" >
                <double>12</double>
        </test>
        <edit name="antialias" >
                <bool>false</bool>
        </edit>
</match>

<match target="font" >
        <test name="family" >
                <string>Courier New</string>
        </test>
        <test compare="less" name="size" qual="any" >
                <double>10</double>
        </test>
        <edit name="antialias" >
                <bool>false</bool>
        </edit>
</match>

<!-- Do not autohint Courier New, Fixedsys, Tahoma, or Times New Roman -->
<match target="font" >
        <test name="family" >
                <string>Courier New</string>
                <string>Times New Roman</string>
                <string>Tahoma</string>
                <string>FixedsysTTF</string>
        </test>
        <edit mode="assign" name="hintstyle" >
                <const>hintslight</const>
        </edit>
        <edit mode="assign" name="autohint" >
                <bool>false</bool>
        </edit>
</match>

<!-- Give all fonts light hinting and subpixel smoothing -->
<match target="font" >
        <edit mode="assign" name="rgba" >
                <const>rgb</const>
                </edit>
        <edit mode="assign" name="hinting" >
                <bool>true</bool>
                </edit>
        <edit mode="assign" name="hintstyle" >
                <const>hintslight</const>
                </edit>
        <edit mode="assign" name="antialias" >
                <bool>true</bool>
                </edit>
</match>

</fontconfig>
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed