User:Poncho/Sandbox

see https://forums.gentoo.org/viewtopic-p-7268734.html#7268734

Firstly, I'd like to thank Infinality, PaulBredbury, bi3l, yngwin, and the many others that have helped us get to where we are today.

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.

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.

Enable the infinality fonts configuration.

Extra Credit:
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.