this makes my fonts look really good, i'm copying and pasteing this first bit from an old post i did. i installed gksu, but you can run su, then type in gedit etc where i ran gksu gedit /etc/X11/xorg.conf.
i improved the screen resolution by changing afew things. you can check pixels-per-inch with this command -
xdpyinfo | grep resolution
the output should be this
resolution: 96x96 dots per inch
mine wasn't so i did this to change it -
Configure X to run at 96 DPI:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.my_bak <--- this makes a backup
gksu gedit /etc/X11/xorg.conf
i added these lines to the end of the driver section in /etc/X11/xorg.conf
Option "UseEdidDpi" "FALSE"
Option "DPI" "96 x 96"
so this is how it looks like now -
i put this file in my home directory, saved as
.fonts.conf
Code:
<?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>true</bool>
**</edit>
</match>
<match target="font" >
**<edit mode="assign" name="hintstyle" >
** <const>hintfull</const>
**</edit>
</match>
<match target="font" >
**<edit mode="assign" name="antialias" >
** <bool>true</bool>
**</edit>
</match>
</fontconfig>
then, i noticed gnome still wasn't using 96dpi right when i looked in gconf-editor. so, i ran
gconf-editor (you can put that in a terminal to run it) and went to
desktop/gnome/font_rendering, then click on the dpi value (mine said 85) and change it to 96.
my font sizes were too big after running that, so i opened
gnome-font-properties and made all the font options one size smaller.
that's all i did, log out and back in again, and fonts should look really good, i noticed it most in the menus.
i just took a picture to show how my fonts look now.