User:Poncho/Sandbox

Initial Setup:
Enable the infinality use flag on so it will bring in the patches and,  and  packages.

Emerge freetype with the new use flags applied.

Enable the infinality fonts configuration.

Set your preferred styling. Use the list functionality in eselect to see what options are available other than infinality, such as linux, osx, win7, etc. Style descriptions are in /etc/fonts/infinality/infinality.conf.

DPI and RGBA values
Put the DPI value of your display in /etc/fonts/infinality/infinality.conf using this tool (PPI == DPI) to calculate the DPI of your display. Override the generic value of 75 set by infinality.

Setup Xresources for applications that still use libXft. Use the tool above to claculate your display's DPI and this tool to figure out the correct rgba setting for your display (which will most likely be "rgb").

Things To Watch Out For
If you are running a Desktop Environment (KDE, Gnome, etc) it may be writing settings in ~/.fonts.conf or ~/.fonts.conf.d/. You can prevent these files from being read by running:

Setting an incorrect DPI or rgba value can make your fonts look weird. Make sure you set them to their correct values.

External resources

 * infinality.net
 * infinality forum
 * Freetype subpixel font rendering - lcd monitors Pt 2