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.
Things somewhat improve if I put the following in my ~/.fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<const> rgb</const>
<!-- Enable sub-pixel rendering -->
<match target="font" >
<edit mode="assign" name="rgba" >
</edit>
</match>
<match target="font" >
<bool> true</bool>
<edit mode="assign" name="hinting">
</edit>
</match>
<match target="font" >
<const> hintfull< /const>
<edit mode="assign" name="hintstyle">
</edit>
</match>
<match target="font" >
<bool> true</bool>
<edit mode="assign" name="antialias">
</edit>
</match>
<match target="pattern" name="family" >
<string> Courier< /string>
<string> Courier New</string>
<test name="family" qual="any" >
</test>
<edit mode="assign" name="family" >
</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.