This is on Ubuntu Intrepid (the upcoming 8.10), with fontconfig 2.6.0. No user specified font config, no KDE.
$ grep -l rgba /etc/fonts/* /etc/fonts/conf.d/* ~/.fonts.conf | xargs ls -l lrwxrwxrwx 1 root root 42 2008-09-20 16:35 /etc/fonts/conf.d/10-no-sub-pixel.conf -> /etc/fonts/conf.avail/10-no-sub-pixel.conf -rw-r--r-- 1 root root 257 2006-09-15 19:21 /etc/fonts/conf.d/no-sub-pixel.conf -rw-r--r-- 1 root root 256 2006-09-15 19:21 /etc/fonts/conf.d/sub-pixel.conf
hm, this is strange.
$ cat /etc/fonts/conf.d/no-sub-pixel.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!-- conf.d/sub-pixel.conf --> <fontconfig> <!-- Enable sub-pixel rendering --> <match target="font"> <edit name="rgba" mode="assign"><const>none</const></edit> </match> </fontconfig>
$ cat /etc/fonts/conf.d/sub-pixel.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!-- conf.d/sub-pixel.conf --> <fontconfig> <!-- Enable sub-pixel rendering --> <match target="font"> <edit name="rgba" mode="assign"><const>rgb</const></edit> </match> </fontconfig>
$ cat /etc/fonts/conf.d/10-no-sub-pixel.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- Enable sub-pixel rendering --> <match target="font"> <edit name="rgba" mode="assign"><const>none</const></edit> </match> </fontconfig>
This is on Ubuntu Intrepid (the upcoming 8.10), with fontconfig 2.6.0.
No user specified font config, no KDE.
$ grep -l rgba /etc/fonts/* /etc/fonts/conf.d/* ~/.fonts.conf | xargs ls -l conf.d/ 10-no-sub- pixel.conf -> /etc/fonts/ conf.avail/ 10-no-sub- pixel.conf conf.d/ no-sub- pixel.conf conf.d/ sub-pixel. conf
lrwxrwxrwx 1 root root 42 2008-09-20 16:35 /etc/fonts/
-rw-r--r-- 1 root root 257 2006-09-15 19:21 /etc/fonts/
-rw-r--r-- 1 root root 256 2006-09-15 19:21 /etc/fonts/
hm, this is strange.
$ cat /etc/fonts/ conf.d/ no-sub- pixel.conf sub-pixel. conf --> ><const> none</const> </edit>
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- conf.d/
<fontconfig>
<!-- Enable sub-pixel rendering -->
<match target="font">
<edit name="rgba" mode="assign"
</match>
</fontconfig>
$ cat /etc/fonts/ conf.d/ sub-pixel. conf sub-pixel. conf --> ><const> rgb</const> </edit>
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- conf.d/
<fontconfig>
<!-- Enable sub-pixel rendering -->
<match target="font">
<edit name="rgba" mode="assign"
</match>
</fontconfig>
$ cat /etc/fonts/ conf.d/ 10-no-sub- pixel.conf ><const> none</const> </edit>
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Enable sub-pixel rendering -->
<match target="font">
<edit name="rgba" mode="assign"
</match>
</fontconfig>