Here is my attempt to bring fontconfig-ultimate project to Gentoo. Read more about it on author's homepage: http://bohoomil.com/ or below.
It's supposed to be hassle-free so I'll try to keep it short
Screenshots
They may look bad if your monitor doesn't have RGB subpixel layout. Test it here.
Motivation
Probably like most of you I've run into many problems with font rendering on Gentoo. Fontconfig / freetype updates used to break it fairly often and I cba to configure everything manually. Eventually I've decided to deal with it for good. In the process I ran into fontconfig-ultimate project, wrote an ebuild and lived happily ever after.
Looks great, doesn't noticeably change with updates and doesn't require me to maintain it.
Installation
- If you want to preserve your current settings you can make a backup copy of /etc/fonts/conf.d
Code: Select all
$ cp -ar /etc/fonts/conf.d ~/ - Emerge media-fonts/infinality-ultimate-meta and follow instructions.
Code: Select all
$ emerge infinality-ultimate-meta1. Disable all rules but 52-infinality.conf using eselect fontconfig
2. Enable one of "ultimate" presets using eselect infinality
3. Select ultimate lcdfilter settings using eselect lcdfilter
Some details after all
The package consists of:
1. A set of configuration files for fontconfig and lcdfilter fine tunning font rendering. Default fontconfig configuration is quite rough and specific fonts need some tweaks to look good. These are provided here.
2. A set of font replacement rules for generic font families (serif, sans, monospace, cursive, fantasy). ultimate-ms and ultimate-free presets use microsoft free internet fonts and their metric-compatible libre alternatives. fonts-extra use-flag installs replacements for even more font families.
All fonts are individually configured for best looks.
Keep in mind that specialized printing and rendering software (such as ghostscript, libreoffice, document viewers, some browsers) use their own fonts and rendering engines so they wont get affected unless compiled with special use-flags (system-cairo for firefox).
Let me know what you think. Please report bugs to me for now because Gentoo's version differs from original.
References
- Homepage: http://bohoomil.com/
- Git repository: https://github.com/bohoomil/fontconfig-ultimate
- Arch wiki page: https://wiki.archlinux.org/index.php/In ... le%2Bfonts
- Gentoo bugzilla entry: https://bugs.gentoo.org/show_bug.cgi?id=494204







