Results 1 to 10 of 12
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-06-2008 #1
Enable Smooth Fonts in Debian.
Hi Friends !
I am using Debian unstable for last 3-4 months and couldn't configure fonts properly. Fonts were not smooth, installed msttcorefonts, tweaked font config, anti-aliasing etc.. but result was not good.
I found a font.conf from somewhere over net ( dont remember link ) and it has changed smoothness drastically. I am really impressed with it.
Copy font config, save it as font-conf and replace it with .font.conf of your home folder.
cd mv .font.conf font.conf.bak mv font-conf .font.conf
You can use same config in Ubuntu/Kubuntu too.
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font" > <edit mode="assign" name="autohint" > <bool>true</bool> </edit> </match> <match target="font" > <edit mode="assign" name="rgba" > <const>none</const> </edit> </match> <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="antialias" > <bool>true</bool> </edit> </match> </fontconfig>
Last edited by devils casper; 02-10-2008 at 02:33 AM.
- 02-06-2008 #2
- Join Date
- May 2004
- arch linux
Hey, thanks for the HowTo, casper.
Fonts have always been a very touchy subject under Linux for me, too, and I've hated the results every time right after installing the MS core fonts.
Fortunately, my fonts have looked great under Arch for the last few years, now.oz
- 02-06-2008 #3
Non-smooth fonts irritate me a lot and I was struggling for last 3-4 months. My search for smooth fonts ends here and I am happy now..
- 02-10-2008 #4
Wow devils_casper this is a great post! I had to alter your directions a weed bit though. My fontconfig folder is ".fontconfig" not ".font.config". I am using Lenny by the way. But other than that these fonts are smooth! Thanks a lot.
- 02-10-2008 #5
Hi emerica !
It was a typo and I have corrected that. Font config filename is .font.conf instead of .font.config. Thanx for pointing it out.
- 02-10-2008 #6
- 02-10-2008 #7
- 03-19-2008 #8
- Join Date
- Mar 2008
devils casper, you are a God. Now my Mac friends will wish they had a Debian install.
I have no idea how you figured this out but if you would like to go into details I would be very happy to be your humble student.
- 03-19-2008 #9
- Join Date
- Nov 2007
- Planet Earth
This works fantastic! specially on FireFox.... ...
Thanks a lot!
- 03-19-2008 #10
You can also go into about:config in firefox and do a search for freetype and turn the hinting on.
I haven't had a problem with fonts not being smooth on my debian box. I use the Liberation-ttf fonts from RedHat and in KDE I just turn smoothing on.
Of course, I could have changed something and not realized it because I have had this /home partition for ages.
Linux User #376741
Code is Poetry