Where's My True Type Fonts?!?
Some fonts on the internet look pretty messed up in
Linux because most of the web pages out there were written
for Windows users and Window's True Type Fonts (TTF)
are not included with Linux, Gnome or KDE! Luckily,
Redhat 5 and newer has a Font server that will allow
you to use any true type fonts on your Linux PC. Copy
whatever fonts you want on an off of a floppy, burned
CD, over the network, whatever and do the following:
mkdir /usr/share/fonts/ttf
cp /path-of-fonts/*.ttf /usr/share/fonts/ttf
cd /usr/share/fonts/ttf
ttmkfdir > fonts.scale
mkfontdir
Where the path-of-fonts is is of course where
you copied your TTF files to. After this is done, go
ahead and reboot. Unfortunatey, this doesn't work for
Caldera or the other releases (go figure), however,
I can install xfstt
(version xfstt-0.9.99.tar.gz was the new one when I
wrote this). It took some hacking because the INSTALL
text had a few holes in it. I did as it said but got
PATH NOT FOUND errors. I made the paths FIRST and then
everything went smoothly. I still did not have fonts!
At this point I added to my XF86Config and r.c.local
scripts and IT WORKED! After unzipping and untarring
the file into a directory......
mkdir /usr/share/fonts/truetype
mkdir /var/cache
...then type in the following (as per the INSTALL text
file).....
make && make install
xfstt --sync
xfstt &
after that edit your XF86Config.eg file to include the
following line where you see the rest of the Font Paths:
FontPath "unix/:7101"
After you do this, edit your rc.local file
(usually located at /etc/rc.d/) and add the following
two lines to the end of it:
/usr/X11R6/bin/xfstt --sync
/usr/X11R6/bin/xfstt &
The directions in the INSTALL text file are pretty
straight forward. Follow them and my instructions
and you should be just fine! It's so cool! I'm burning
a TTF CD right now!!
NOTE: (Sent in by Hooloovoo)
For RH users: In the file /etc/X11/fs/config,
there is a "catalogue"
section. Add the TrueType font directory to that section.
So if your catalogue section was:
catalogue = /usr/X11R6/lib/X11/fonts/75dpi
You would make it: catalogue = /usr/X11R6/lib/X11/fonts/75dpi,
(your-ttf-dir)
RH6 doesn't always start xfs properly, so you
may have to do it yourself. At the console prompt,
type "setup"
and go to the "System Services"
section, and unselect xfs. In the file /etc/rc.d/rc.local,
add this line:
/usr/X11R6/bin/xfs -config
/etc/X11/fs/config -port -1
And the font path in /etc/X11/XF86Config
should be unix/:-1.
Restart the font server and X and you should have
your fonts. You can find your LoseDoze fonts in /mnt/win/windows/fonts.
|
|