Installing fonts
From FreeBSDwiki
(Difference between revisions)
m (Reverted edits by 173.88.199.104 (talk) to last revision by 145.94.33.175) |
|
(One intermediate revision by one user not shown) |
Latest revision as of 16:28, 25 August 2012
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
[edit] 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.