pavement

Installing fonts

From FreeBSDwiki
Revision as of 06:12, 12 January 2007 by 145.94.33.175 (Talk)
Jump to: navigation, search

Install Xfstt through packages


shell# pkg_add -r xfstt

Follow the instructions after xfstt is installed

You will have to install your TrueType fonts in

        PREFIX/lib/X11/fonts/TrueType

Remember to run the "xfstt --sync" command if you
add fonts while the font server is running.

You should also add the following line to the "Files"
Section of /etc/XF86Config:

        FontPath   "unix/:7101"

Under FreeBSD 5.4 I installed my TrueType fonts in: /usr/X11R6/lib/X11/fonts/TrueType

shell# xfstt --sync

Now you have to restart X


For those who have X.Org

One can install Truetype fonts just by installing any of the truetype ports in the $PREFXports/x11-fonts

# cd /usr/ports/x11-fonts && make search key=truetype

Xorg can handle the fonts directly and therefore doesn't require you to use Xfstt.

Personal tools