Installing fonts

From FreeBSDwiki
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


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