Comment 31 for bug 197163

Revision history for this message
murphy.md (murphy-md) wrote :

Things somewhat improve if I put the following in my ~/.fonts.conf

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

<fontconfig>
<!-- Enable sub-pixel rendering -->
<match target="font" >
        <edit mode="assign" name="rgba" >
                <const>rgb</const>
        </edit>
</match>

<match target="font" >
        <edit mode="assign" name="hinting">
                 <bool>true</bool>
        </edit>
</match>

<match target="font" >
        <edit mode="assign" name="hintstyle">
                 <const>hintfull</const>
        </edit>
</match>

<match target="font" >
        <edit mode="assign" name="antialias">
                <bool>true</bool>
        </edit>
</match>

<match target="pattern" name="family" >
        <test name="family" qual="any" >
                <string>Courier</string>
        </test>
        <edit mode="assign" name="family" >
                <string>Courier New</string>
        </edit>
</match>

<!-- Location of local fonts -->
<dir>~/.fonts</dir>

</fontconfig>

The killer is replacing Courier with Courier New. I believe that this shows that it is somehow a problem with Hardy, in that the fonts have been configured differently from Gutsy.