linuxnewbie.org.gif
Tuesday, 12-Dec-2000 10:38:11 EST
Newbized Help Files articles discussion board bookshelf sensei's log advertising info
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.

 
   
We hope you enjoy this new idea for linux users and if you do, we'd like to hear your feedback.  

 

[-NHF Control Panel-]
The Linux Channel at internet.com
Linux Planet
Linux Today
Linux Central
Linuxnewbie.org
PHPBuilder
Just Linux
Linux Programming
Linux Start
BSD Today
Apache Today
Enterprise Linux Today
BSD Central
All Linux Devices
SITE DESCRIPTIONS
[-What's New-]
Order a Linuxnewbie T-Shirt
Easy Webcam NHF
Directory Navigation NHF
Installing Snort 1.6.3 on SuSE 6.x-7.x
Customizing vim
The SysVinit NHF
Installing ALSA for the VT82C686 integrated sound
USB Creative Video Blaster II for Linux
Configuring the Intellimouse Explorer in XFree86 V4+
The beginnings of a distro NHF
Getting Past Carnivore?
Getting and Installing PGP
Getting your ATI Rage 128 Working
How to create a multiple partition system
Using Fdisk
Introduction to Programming in C/C++ with Vim
Adding a Hard drive in Linux -- In five steps
Installing ALSA for the Yamaha DS-XG Sound Card
Getting your Diamond Rio Mp3 Player to work with Linux
Bash Programming Cheat Sheet
Installing NVIDIA Drivers for Mandrake
Setting up Portsentry
Hard Drive Speed Tweak for Linux
Sensei's Log
Chat room
Join: Linuxnewbie.org SETI Black Belts!
Send in your news
Click the image to add Linuxnewbie.org to your MyNetscape Page
[-LNO Newsletter-]

[-Archive-]
The beginnings of a distro NHF
Connecting to the Internet using KPPP
Getting your SBLive to work
Unreal Tournament NHF
LWE Day 2 Pictures
LWE Day 1 Pictures
The LNO FAQ!
WoW (Words of Wisdom)
Other sites news
What is Linux?
What is Linux? part deux (ups & downs)
Search newsgroups
The List
ALS Report
Feedback Form
jobs.linuxtoday.com.gif
Match: Format: Sort by:
Search:
Copyright © 1999 All Rights Reserved
[-Quick Links-]

Copyright 2000 internet.com Corp. All Rights Reserved. Legal Notices Privacy Policy

internet.com.gif