- go http://www.ibiblio.org/pub/Linux/X11/fonts/”, and download xfstt-1.1.tar.gz — xfstt server program
- install xfstt, type in
make && make install - Create a writeable directory /usr/share/fonts/truetype, copy some truetype *.ttf files (in windows 98, under c:\windows\fonts), or create soflinks to truetype directories in there, then run
xfstt –sync - Start xfstt in the background
xfstt & - Tell your X11 server about the new font service
xset fp+ unix/:7101
or add the new fontpath to the X11 config file
FontPath “unix/:7101” - specifying the appropriate X resources in your .Xdefaults file:
Netscape*documentFonts.sizeIncrement: 20
Netscape*documentFonts.xResolution*iso-8859-1: 100
Netscape*documentFonts.yResolution*iso-8859-1: 100 - create a new file owned by root, put it into a directory, say /etc/rc.d
#!/bin/bash
/usr/X11R6/bin/xfstt –sync
/usr/X11R6/bin/xfstt & - add the following lines in the file /etc/inittab
# Run xfstt_start in runlevel 5
# xfstt_start start xfstt
xf:5:wait:/etc/rc.d/xfstt_start
- add the following lines in the .cshrc (if using csh or tcsh)
# true type font
xset fp+ unix/:7101 - for kde 2.1, /etc/X11/XF86Config file need to be edited as: (two lines have to be in this order)
FontPath “unix/:-1”
FontPath “/usr/share/fonts/truetype/”Or you can go to Font HOWTO page to find more information.
April 9, 2004
Add TrueType fonts for netscape in Linux
Comments Off on Add TrueType fonts for netscape in Linux
No Comments
No comments yet.
RSS feed for comments on this post.
Sorry, the comment form is closed at this time.