The only difference is that I specified the absolute path when creating the symbolic links, for example:
Code: Select all
ln -s /etc/fonts/conf.avail/10-antialias.conf /etc/fonts/conf.d/10-antialias.conf
Thanks again!
Code: Select all
ln -s /etc/fonts/conf.avail/10-antialias.conf /etc/fonts/conf.d/10-antialias.conf
Monsta wrote:Thinking out loud about what I've just read when I followed GeneC's links...
1. Reconfiguring fontconfig-config just changes a few symlinks in /etc/fonts/conf.d to point to the appropriate (depending on what has been chosen during the reconfiguration) files in /etc/fonts/conf.avail.
2. Ubuntu's fontconfig-config package has additional symlinks which are missing in Debian's one. For example, 11-lcdfilter-default.conf. Look at the file list and see for yourself.
3. I suspect that setting things in ~/.fonts.conf works only if there is the respective symlink in /etc/fonts/conf.d. For example, the lcdfilter option won't do anything unless you have /etc/fonts/conf.d/11-lcdfilter-default.conf pointing to ../conf.avail/11-lcd-filter-lcddefault.conf. This is just my speculation, please correct me if I'm wrong.
So here's what I've done. I didn't reconfigure fontconfig-config, didn't install Ubuntu's version of it, didn't even create and edit ~/.fonts.conf.
Just made a little script that makes all the missing symlinks (I hope I didn't miss any of them myself) and ran it as root.
Font quality got better. Immediately.Code: Select all
#!/bin/sh WHOAMI=`whoami` if [ x$WHOAMI != xroot ]; then echo Please run me as root. exit 1 fi cd /etc/fonts/conf.d ln -s ../conf.avail/10-antialias.conf 10-antialias.conf ln -s ../conf.avail/10-hinting.conf 10-hinting.conf ln -s ../conf.avail/10-hinting-slight.conf 10-hinting-slight.conf ln -s ../conf.avail/11-lcdfilter-default.conf 11-lcdfilter-default.conf ln -s ../conf.avail/53-monospace-lcd-filter.conf 53-monospace-lcd-filter.conf
Though I have some doubts about some of the fonts (not all of them) in Firefox. And I don't use Chrome.
Moreover, my eyes are quite tired from today's tinkering with all this font stuff, so I may have missed something. Just test this script please and see if it works for you.
Thanks a million, Monsta. Worked very well.Monsta wrote:Just made a little script that makes all the missing symlinks (I hope I didn't miss any of them myself) and ran it as root.
Font quality got better. Immediately.Code: Select all
#!/bin/sh WHOAMI=`whoami` if [ x$WHOAMI != xroot ]; then echo Please run me as root. exit 1 fi cd /etc/fonts/conf.d ln -s ../conf.avail/10-antialias.conf 10-antialias.conf ln -s ../conf.avail/10-hinting.conf 10-hinting.conf ln -s ../conf.avail/10-hinting-slight.conf 10-hinting-slight.conf ln -s ../conf.avail/11-lcdfilter-default.conf 11-lcdfilter-default.conf ln -s ../conf.avail/53-monospace-lcd-filter.conf 53-monospace-lcd-filter.conf
Though I have some doubts about some of the fonts (not all of them) in Firefox. And I don't use Chrome.
Moreover, my eyes are quite tired from today's tinkering with all this font stuff, so I may have missed something. Just test this script please and see if it works for you.