LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-24-2003, 02:23 AM   #1
StonedZealot
Member
 
Registered: May 2003
Location: St. Louis
Distribution: Slack 9
Posts: 42

Rep: Reputation: 15
Installation of .ttf fonts in X


I know this has been asked before, but I can't find it. Anyway, I'm running a brand new Gentoo system (just installed yesterday) and I want to install a .ttf font. This font must be registered and usable in the Gimp.

So. From the beginning (right after the font is downloaded), how do I get the Gimp to recognize this font?

I might sound a little pissed right now, because I am. The fact that I have to ask how to install a font (I can't just dump it into the appropriate directory or use a program) is ridiculous.
 
Old 12-24-2003, 03:15 AM   #2
nexx_au
Member
 
Registered: Dec 2003
Distribution: Fedora Core 1
Posts: 69

Rep: Reputation: 15
dump them in the folder /usr/X11R6/lib/X11/fonts/TTF

failing that, put them in ~/.fonts
 
Old 12-24-2003, 02:06 PM   #3
StonedZealot
Member
 
Registered: May 2003
Location: St. Louis
Distribution: Slack 9
Posts: 42

Original Poster
Rep: Reputation: 15
http://lli.linux-bangalore.org/ttfonts.php

This is the site that I found that got the job done. Basically:

1. Put the font in /usr/lib/X11/fonts/TTF
2. cd to that directory
3. ttmkfdir > fonts.dir
4. check your /etc/x11/XftConfig to make sure that "dir '/usr/lib/X11/fonts/TTF'" is in there and uncommented
5. restart the X font server with /etc/init.d/xfs restart
 
Old 12-24-2003, 02:34 PM   #4
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
If Gentoo uses RPM, you can use the guide in the following URL to install all web fonts ..

http://corefonts.sourceforge.net/
 
Old 12-24-2003, 07:21 PM   #5
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Go into that directory and do

ttmkfdir
mkfontdir
chfontpath `pwd`
xset +fp `pwd`

Also make sure the ttf module is enabled in your xconfig, it's called xtt
So you should have in your module loading section, (Section "Modules")


Load "freetype" # If you have the freetype library installed
Load "xtt"

Now do the things above.
 
Old 04-04-2004, 03:53 PM   #6
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Rep: Reputation: 30
Somebody should write a graphical program to add fonts. This procedure is a mess!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TTF Fonts huno Linux - Software 5 12-22-2006 10:38 PM
TTF fonts and GTK1/2 lp449 Linux - Software 1 03-05-2005 09:22 AM
TTF Fonts Installation XPediTioN Mandriva 0 02-03-2004 05:06 PM
TTF Fonts XPediTioN Slackware 8 08-16-2003 07:38 PM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration