nixers
X Font rendering on NetBSD - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Operating Systems (https://nixers.net/forumdisplay.php?fid=4)
+--- Forum: BSD (https://nixers.net/forumdisplay.php?fid=13)
+--- Thread: X Font rendering on NetBSD (/showthread.php?tid=1265)


X Font rendering on NetBSD - yrmt - 21-03-2014

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/zips/freetype-infinality-2.4.12-20130514_01-x86_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/zips/fontconfig-infinality-1-20130104_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!


RE: X Font rendering on NetBSD - yrmt - 21-03-2014

Here's a preview on a screenshot:

[Image: png4Td5uetJd5.png]