I basically want all my fonts to be unhinted and antialiased (with sub-pixel) and have setup my setup that way. However, I can not convince firefox to adhere to this.
I use the following small test page:
Code: Select all
<html>
<body>
<div style="font-family: Courier, Courier New, monospace;">
Testing /// \\\ X O
</div>
<div style="font-family: Courier;">
Testing /// \\\ X O
</div>
<div style="font-family: Courier New;">
Testing /// \\\ X O
</div>
<div style="font-family: monospace;">
Testing /// \\\ X O
</div>
</body>
</html>http://os.inf.tu-dresden.de/~mp26/tmp/fonts.png
My understanding is that all lines should look roughly like the fourth line.
However, line 1 and 3 are not anti-aliased and line 2 is not courier [new]. The user account which does the rendering does not have any local font settings (.fonts.conf). Another account uses the following .fonts.conf, but with similar results:
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintnone</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
</fontconfig>
Code: Select all
10-sub-pixel-rgb.conf@
10-unhinted.conf@
20-fix-globaladvance.conf@
30-urw-aliases.conf@
40-nonlatin.conf@
45-latin.conf@
49-sansserif.conf@
50-user.conf@
51-local.conf@
60-latin.conf@
65-fonts-persian.conf@
65-nonlatin.conf@
69-unifont.conf@
70-no-bitmaps.conf@
80-delicious.conf@
90-synthetic.conf@
Any hints appreciated.
