Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Support Documents

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-07-2006, 07:40 PM
mindfrost82's Avatar
Administrator
 
Join Date: Mar 2006
Location: Illinois
Posts: 2,203
Sex: Male
My Mood:
Thanks: 5
Thanked 5 Times in 5 Posts
Send a message via ICQ to mindfrost82 Send a message via AIM to mindfrost82 Send a message via MSN to mindfrost82 Send a message via Yahoo to mindfrost82
TrueType Fonts In Linux

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:

1. mkdir /usr/share/fonts/ttf
2. cp /path-of-fonts/*.ttf /usr/share/fonts/ttf
3. cd /usr/share/fonts/ttf
4. ttmkfdir > fonts.scale
5. 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......

1. mkdir /usr/share/fonts/truetype
2. mkdir /var/cache

...then type in the following (as per the INSTALL text file).....

3. make && make install
4. xfstt --sync
5. 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.
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Support Documents


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:15 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Unblock facebook | Hybrid Car Rental | Mortgage Calculator | McDonalds | Ringtone



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114