Thanks for reminding me of this thread, dimm0k.
I got tired of having to make a new patch every time FreeType got updated. Here's a sed line that will enable subpixel hinting with FreeType's default hinter. It works with 2.6.5:
Code:
sed -i 's/\/\* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2[[:space:]]\+\*\//#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2/g' include/freetype/config/ftoption.h
Paste it into the FreeType SlackBuild under the line that applies the subpixel rendering patch. Also uncomment that line so that the subpixel rendering patch is applied.
If you want Infinality (which is directly supported by FreeType now), you should be able to just change the two 2s to to two 1s.
My font customizations are pretty simple:
1. FreeType rebuilt with both subpixel rendering and subpixel hinting, as above.
2. 11-lcdfilter-lcddefault.conf in /etc/fonts/conf.d
3. webfore-fonts from SBo (and /etc/fonts/conf.d/60-liberation.conf removed)
4. If I feel like it, /etc/fonts/conf.d/44-wqy-zenhei.conf removed and my sans, serif and monospace aliases overridden. It's typically Source Sans Pro or Fira Sans for sans, Gentium Plus for serif, and Hack, Source Code Pro or Fira Mono for monospace.