background preloader


Facebook Twitter

Font rendering settings in Linux : linux. The FreeType Project. Fontconfig. Fontconfig is typically used on graphical Linux (and other Unix-like) desktops, where it remains an important part of handling fonts.[3] However, it is also sometimes used on other platforms, notably including Windows versions of software that use Pango for laying out and rendering text, such as GIMP.[4] Usage[edit] End-users can use fontconfig, directly or indirectly, to customize and configure fonts on the system.


Applications can use fontconfig in two ways: by querying it for the available fonts on the system, orby querying it for a font matching certain parameters (comprising a pattern) as closely as possible. To perform font matching, fontconfig stores typesetting information about all of the installed fonts, including the name of the font family, style, weight, DPI, and Unicode coverage. Configuration[edit] Fontconfig uses XML format for its configuration files. A simple example of a configuration file: <? Utilities[edit] See also[edit] References[edit] External links[edit] Trying Fedora 23 for the first time. Why do fonts suck so bad? : Fedora. Better Font Rendering In Linux With Infinality. Many of you have probably already heard of Infinality, but I've decided to write a post about it anyway, for those who aren't familiar with it yet, because it greatly improves the font rendering on Linux.

Better Font Rendering In Linux With Infinality

Infinality is a set of Freetype patches that try to provide an improved font rendering for Linux and also, to allow easy customization so the users can adjust the settings to their taste. Using it, you can easily set the font style to emulate OSX, OSX2, Windows 98, WIndows XP or Windows 7 or you can use the "Linux" or "Infinality" (default) styles. While Infinality is very useful for most Linux distributions, the Ubuntu font rendering is pretty good already, but even so, there are quite a few Ubuntu users who install Infinality, like Miroslav Hadzhiev (Мирослав Хаджиев), the Ubuntu Bulgarian Translators admin, who says that: "[...] this [Infinality] project has brought me back to Linux.

I work with documents all day long so the fonts are VERY important to me". Reverting the changes. How to change Fedora’s font rendering to get an Ubuntu-like result « Kernel, Virus and Cloud. Font rendering is a matter of taste.

How to change Fedora’s font rendering to get an Ubuntu-like result « Kernel, Virus and Cloud

However, I personally think Ubuntu’s default font rendering is the most eye-pleasing one of the whole Linux eco-system. And if a website’s CSS font stack is looking good on Ubuntu, you can be relatively sure that it also works for Mac or MS Windows as long as the used fonts are available on these platforms. It is not hard to get the same font rendering on Fedora. This text is just a bit longer than a few commands because I try to provide additional background information and useful web-search-keywords which you may need if you have other targets than a 100% Ubuntu-like rendering. The basics To achieve the desired result, you have to know which parameters exist and how to change them. The used font rendering engine. So let’s look at the defaults applied on Ubuntu 10.10. Xft.dpi: 96 Xft.antialias: 1 Xft.hinting: 1 Xft.hintstyle: hintslight Xft.rgba: rgb Xft.lcdfilter: lcddefault What to do Install the freetype-freeworld package.

Additional notes. Font configuration. Fontconfig is a library designed to provide a list of available fonts to applications, and also for configuration for how fonts get rendered: see Wikipedia:Fontconfig.

Font configuration

The FreeType library freetype2 renders the fonts, based on this configuration. Though Fontconfig is the standard in modern Linux, some applications rely on the original method of font selection and display, the X Logical Font Description. The font rendering packages on Arch Linux includes support for freetype2 with the bytecode interpreter (BCI) enabled. For better font rendering, especially with an LCD monitor, see #Fontconfig configuration and Font configuration/Examples. Font paths For fonts to be known to applications, they must be cataloged for easy and quick access. The font paths initially known to Fontconfig are: /usr/share/fonts/, ~/.local/share/fonts (and ~/.fonts/, now deprecated).