Ubuntu Style Font Rendering
This repo is deprecated for freetype2 version 2.8.1 and above due to the introduction of the Harmony LCD Subpixel Rendering technique. This repo will no longer be published for Tumbleweed, Leap 15.0 or any other version of OpenSUSE.
The new Harmony LCD Subpixel Rendering technique avoids the ClearType patents by not requiring (and/or supporting) filtering. By default, freetype2 now offers high quality LCD-optimized output without resorting to ClearType techniques of resolution tripling and filtering. With the Harmony method each color channel is generated separately after shifting the glyph outline, capitalizing on the fact that the color grids on LCD panels are shifted by a third of a pixel. This output is indistinguishable from ClearType with a light 3-tap filter.
Recommended Font Rendering Configuration For Harmony
The default freetype2 package has changed to include hinting in addition to Harmony subpixel rendering. Generally speaking, the new font rendering with hinting causes the fonts to appear bolder whereas the font rendering without hinting appear crisper and is virtually identical to ClearType rendering. If you prefer the crisper font rendering (which is recommended) then add the following to /etc/environment:
FREETYPE_PROPERTIES="truetype:interpreter-version=35 cff:no-stem-darkening=1 \
This will disable hinting while keeping Harmony subpixel rendering and will produce font rendering that is virtually identical to ClearType.
You should verify that the following content is included in ~/.config/fontconfig/fonts.conf and/or /etc/fonts/local.conf:
Edit the hintstyle in ~/.config/fontconfig/fonts.conf and/or /etc/fonts/local.conf and try each available setting: "hintslight", "hintmedium", "hintfull". "hintmedium" is the default value and which usually produces the best results.
You should logout/login after changing the font configuration.
Alternatively, you can use your desktop environment's GUI to set the font configuration. For example, with KDE, go to Font Settings and enable anti-aliasing > Configure > RGB > Slight/Medium/Full.
For best results, you should also install a robust font package such as a set of MS truetype fonts. You can install additional fonts from an existing Windows installation in /usr/share/fonts/ or use the OpenSUSE package, fetchmsttfonts, which provides a selection of freely available MS truetype fonts including Ariel, Verdana and Times New Roman.