Installing fonts
From FreeBSDwiki
(Difference between revisions)
Line 28: | Line 28: | ||
− | |||
− | |||
+ | == For those who have X.Org == | ||
+ | |||
+ | One can install Truetype fonts just by installing any of the truetype ports in the $PREFXports/x11-fonts | ||
+ | <pre> | ||
# cd /usr/ports/x11-fonts && make search key=truetype | # cd /usr/ports/x11-fonts && make search key=truetype | ||
+ | </pre> | ||
Xorg can handle the fonts directly and therefore doesn't require you to use Xfstt. | Xorg can handle the fonts directly and therefore doesn't require you to use Xfstt. | ||
[[Category:FreeBSD for Workstations]] | [[Category:FreeBSD for Workstations]] |
Revision as of 06:12, 12 January 2007
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.