Linux font configuration
Today I got fed up with the fact that I don’t see fonts in Linux as I should. Luckily after about 30 minutes of browsing through Arch Linux forums, wiki and googling around, I fixed the problem.
For starters, I discovered that there is a configuration file for fonts, which can do interesting stuff. Not only you can set default font options like hinting and so on, but you can also define a system-wide font-family. Thanks to awesome Arch Wiki I got a nice configuration file. After restarting X, I nothing much really changed, somewhere in the web fonts had changed, but still something looked wrong.
After some research I found out that changing DPI might solve that. It seems that there are two standards for DPI being 72 for Macs and 96 for PCs. So, I checked my current DPI
xdpyinfo | grep dots
resolution: 86×85 dots per inch
This did not seem right. I decided to stay with the PC standard, so a line to xorg.conf fixed all my problems.
Option “DPI” “96×96″
Now everything seems perfect, although in the same time weird, since I haven’t accustomed to the current changes. Fonts are more readable, easier on eyes and just right. An hour spent
Tags: arch, discoveries, fonts, linux










6. December 2009 at 20:45
Nice – am curious tho if I could ask a question or if the forum is better ?
In /etc/X11/xorg.conf , I don’t have a line like ;
Option “DPI” , so where would it be inserted or should I hightail it to the wiki ? Thanks for any light .
http://dpaste.com/129995/
6. December 2009 at 23:58
Just add that line under the “Monitor” section.
Section “Monitor”
Identifier “Monitor0″
VendorName “Monitor Vendor”
ModelName “Monitor Model”
Option “DPI” “96×96″
EndSection