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 in freetype2 version 2.8.1 and above. The Leap 42.3 repo continues to be available since the stock OpenSUSE Leap 42.3 freetype2 version is 2.6.3 and therefore does not include Harmony. Nevertheless, this repo will no longer be published for Tumbleweed, Leap 15.0 or any other version of Leap after Leap 15.0 since these versions of OpenSUSE are based on freetype2 version 2.9 and above and which will include Harmony LCD Subpixel Rendering by default.
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.
Also, 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.
For Leap 42.3, install this repo as follows:
1) Add the following repository link using YaST or zypper:
The packages that should be used are: libfreetype6 and libfreetype6-32bit.
2) Switch packages to one of the above repos with either YaST or the command line as follows:
Software Management > Repositories > This Repo > Switch system packages > Accept
Using the command line:
sudo zypper dup --from <This Repo>
4) Verify that the following content is included in ~/.config/fontconfig/fonts.conf and/or
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<edit mode="assign" name="rgba">
<edit mode="assign" name="hinting">
<edit mode="assign" name="hintstyle">
<edit mode="assign" name="antialias">
<edit mode="assign" name="lcdfilter">
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.
5) 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.