Ubuntu Style Font Rendering
This repo provides Ubuntu style font rendering for OpenSUSE by implementing Ubuntu's version of freetype2 for enhanced font presentation with subpixel rendering. This repo is currently based on Ubuntu's 18.04 Bionic Beaver release and is updated periodically with Ubuntu's latest versions.
Install as follows:
1) Add one of the following repository links (according to your OS version) using YaST or zypper:
The packages from this repo that should be used are: libfreetype6 and libfreetype6-32bit.
Beginning with Ubuntu 17.10 Artful Aardvark the default freetype2 package used by Ubuntu has changed to include hinting in addition to subpixel rendering and which is implemented in the above repositories. According to your own personal preferences, the font rendering is generally considered to be neither better or worse with hinting but simply different. Generally speaking, the new font rendering with hinting causes the fonts to appear bolder whereas the older font rendering without hinting appear crisper. If you prefer the crisper font rendering in earlier versions of Ubuntu (prior to 17.10 with subpixel rendering but without hinting) then add the following to /etc/environment:
FREETYPE_PROPERTIES="truetype:interpreter-version=35 cff:no-stem-darkening=1 \
This will disable hinting while keeping subpixel rendering and will produce font rendering that is identical to Ubuntu font rendering before Ubuntu 17.10 Artful Aardvark. Alternatively, use the SPRE repository (below) which has subpixel rendering enabled and hinting disabled, and which will also produce font rendering that is identical to Ubuntu font rendering before Ubuntu 17.10 Artful Aardvark.
The following SPRE repo has the same font rendering modifications as above but is based on OpenSUSE's factory version of freetype2. The SPRE repository has subpixel rendering enabled and hinting disabled which produces font rendering that is identical to Ubuntu font rendering before Ubuntu 17.10 Artful Aardvark. Add one the following links as appropriate for your operating system to use the SPRE repo:
The packages from the SPRE repo that should be used are: libfreetype6 and libfreetype6-32bit. The SPRE repo is based on OpenSUSE's factory version of freetype2 with subpixel rendering enabled and hinting disabled.
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.