X Font rendering on NetBSD - BSD

Users browsing this thread: 1 Guest(s)
yrmt
Grey Hair Nixers
Hello fellow nixers,

Here are the instructions on how to get it looking like in the attached screenshot made on NetBSD current and xfce48 from pkgsrc-wip with Firefox 26. You'll need a copy of pkgsrc and that you have root access.

######
# Patching freetype:
######
# curl -O http://www.infinality.net/fedora/linux/z...64.tar.bz2
# bunzip2 freetype-infinality-2.4.12-20130514_01-x86_64.tar.bz2
# tar xf freetype-infinality-2.4.12-20130514_01-x86_64.tar
# cd /usr/pkgsrc/graphics/freetype2
# make extract
# make patch
# cd work/freetype-2.4.12
# patch -p1 < ~/freetype-entire-infinality-patchset-20130514-01.patch
# cd ../../
# make install clean


######
# Fontconfig files:
######
# curl -O http://www.infinality.net/fedora/linux/z..._1.tar.bz2
# bunzip2 fontconfig-infinality-1-20130104_1.tar.bz2
# tar xf fontconfig-infinality-1-20130104_1.tar -C /etc/fonts
# cd /etc/fonts/infinality
- Edit infctl.sh to have the right path to bash (/usr/pkg/bin/bash for me)
# ./infctl.sh setstyle
- Choose infinality.


Now you need to get some fonts! From pkgsrc/fonts you can get:
- consolamono-ttf-20121116
- dejavu-ttf-2.34
- droid-ttf-20111115
- liberation-ttf-2.00.1
- linux-libertine-ttf-5.1.3
- ms-ttf-20020306nb5
- vera-ttf-1.10nb4

I got my Helvetica font from my Mac OS X install since it isn't in pkgsrc.

Restart X and launch Firefox, everything should look much better now!
yrmt
Grey Hair Nixers
Here's a preview on a screenshot:

[Image: png4Td5uetJd5.png]