Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-24-2003, 02:23 AM   #1
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
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
Registered: May 2003
Location: St. Louis
Distribution: Slack 9
Posts: 42

Original Poster
Rep: Reputation: 15

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
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 ..
Old 12-24-2003, 07:21 PM   #5
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Go into that directory and do

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
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494

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


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 AM.

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