Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-31-2004, 07:29 AM   #1
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Rep: Reputation: 15
Installing ttf fonts


I have a '.ttf' font file that is needed to see the characters in a particular website. how do i install it so that firefox will be able to show those special fonts. i tried copying it into /usr/lib/X11/fonts/TTF directory but it doesn't work. thanks for your help
Old 03-31-2004, 07:35 AM   #2
Registered: Feb 2004
Posts: 53

Rep: Reputation: 15
Make sure that the directory you put your .tft files in is listed in your /etc/X11/Xfree86conf file.
Old 03-31-2004, 08:18 AM   #3
Registered: Mar 2003
Distribution: Slackware 12.0
Posts: 79

Rep: Reputation: 15
Make sure the directory is uncommented in the /etc/X11/XF86Config

In the directory you copied the .ttf font to, run the commands: mkfontdir, mkfontscale and fc-cache (I think the order is correct, but I'm not 100%)

Restart X.
Old 03-31-2004, 07:22 PM   #4
Ninja Cow
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
terosaur! Thank you! I've been trying to find a solution to this problem for the past three weeks now. You are a Godsend.
Old 03-31-2004, 07:32 PM   #5
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
You can also put the fonts in any other directory for example /usr/local/fonts
and edit the file /etc/fonts/fonts.conf by adding the line


where you see there are others. And at the console run fc-cache.


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
DISCUSSION: Installing TTF Fonts in GNOME UsualTuxpect LinuxAnswers Discussion 7 10-08-2005 10:46 PM
Installing Ttf Fonts In Suse (how-to) Edward78 Linux - General 3 07-24-2003 09:23 AM
installing TTF fonts nautilus_1987 Slackware 5 06-21-2003 07:55 AM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 06:41 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:15 PM.

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
Open Source Consulting | Domain Registration