pavement

Installing fonts

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 38: Line 38:
 
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:Common Tasks]]

Revision as of 15:01, 13 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


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