The plain Linux font rendering that comes with Fedora can be quite
hard to look at, so I set out to find a guide to make the fonts look
more like Ubuntu and found this:
http://www.infinality.net/forum/viewtopic.php?f=2&t=77
Even as pre-made packages go its not really easy, but I can say that
Infinality tries to be comprehensive and I've had good results with
it so far. Your fonts are likely to look much better if you use this
as opposed to one of the more reserved freetype configuration guides
(such as the official Fedora one).
There are a couple of catches, however, so here is the approach that
worked for me:
1) Don't put this in your regular appvm template if you value system
integrity... that should be all of us. I have a separate template
that I use for less-trusted appvms - which get a lot of use, so the
effort to improve fonts is still worth it to me - and its here that
I put the proprietary media codecs and improved font rendering. In
particular, the above Howto has you add the Infinality repository to
yum-- that was too much risk for me, so instead of adding an
unsecured and obscure repository to my template I made it a one-time
risk and downloaded the RPMs by hand in a disposable vm then
transferred them to the target template vm.
The nice thing about Qubes is its security architecture lets me add
third-party apps and modifications to vms without having to worry
about being fastidious with security updates in my less trusted vms;
I can keep using this version of the modified freetype server as
long as it appears to be working... kind of like the good old days
of personal computing. ;)
As of this writing, the two packages needed for an installation are:
http://www.infinality.net/fedora/linux/18/x86_64/freetype-infinality-2.4.12-1.20130514_01.fc18.x86_64.rpm
http://www.infinality.net/fedora/linux/18/noarch/fontconfig-infinality-1-20130104_1.noarch.rpm
...this should replace your Fedora-supplied freetype package (use
the --force if necessary :) ).
Question: Could
someone chime-in and say whether the new freetype package
will need to be 'pinned' in place to survive system updates?
2) Although Infinality carefully emulates OS X, iOS, Ubuntu and
Windows font rendering characteristics, it oddly defaults to a
'homebrew' configuration that is supposedly preferable to the more
established styles. However, I found text rendered by the Infinality
default to appear muddy and more irksome to read than what Fedora
ships with. So of course I went running into the arms of the OS X
settings, and step 5 in the Howto deals with changing the rendering
style. In my case it meant
doing this:
# sudo sh /etc/fonts/infinality/infctl.sh
# sudo nano /etc/profile.d/infinality-settings.sh
So, basically I chose 'OSX' twice here. The editing step itself is
irksome, because you are looking for the USE_STYLE declaration 3/4
of the way down the script.
3) Steps 6 and 7 do not seem to apply to Qubes-Fedora users. Step 8
has you
edit /etc/X11/Xresources (still in the template vm).
4) The 'liberation-fonts' package in Fedora 18 is rather old and
doesn't give good results with the OS X style. Replacing them with
the 2.0 versions rectifies the odd look on certain screens and
web pages:
http://koji.fedoraproject.org/koji/buildinfo?buildID=353877
(The Howto mentions the inconsolata fixed-width font, but it seems
to be inconsequential with the OS X settings.)
5) Shut down the template vm now. Running an appvm that uses this
template should exhibit windows with the new font rendering style.
After all this, I must say the result is
quite easy on the
eyes... like putting on an old pair of great-fitting jeans; Very
clear and crisp, and none of the text looks either wiry (Fedora
default) or muddy (Infinality default). I was trying to find an
Ubuntu-quality font setup but this modification surpassed my hopes.