Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-10-2002, 08:55 PM   #1
LQ Newbie
Registered: Oct 2002
Posts: 17

Rep: Reputation: 0
oh glorious fonts

extension .ttf fonts, i have some i would like to install but don't know if i can or how to do it if and when its acutally possible.

i have redhat 7.3, for those incline to stop laughing, (and justifiably so), at me and give me help...8P

Old 10-11-2002, 12:23 AM   #2
Registered: Apr 2002
Posts: 32

Rep: Reputation: 15
-put the *.ttf fonts in a folder ( mine are in /usr/X11R6/lib/X11/fonts/truetype)

-cd into that folder, and 'ttmkfdir > fonts.scale'
then do a 'mkfontdir'

-edit your XF86config and Xftconfig, adding the path to the font dir (following the format of the other paths)

-restart X.

-you can also edit your mozilla/defaults/pref/unix.js to look something like this to enable TT fonts in mozilla:
// TrueType
pref("font.FreeType2.enable", true);
pref("font.freetype2.shared-library", "");
// if libfreetype was built without hinting compiled in
// it is best to leave hinting off
pref("font.FreeType2.autohinted", true);
pref("font.FreeType2.unhinted", false);
// below a certian pixel size anti-aliased fonts produce poor results
pref("font.antialias.min",        9);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 64);
pref("font.scale.tt_bitmap.dark_text.gain", "0.8");
// sample prefs for TrueType font dirs
pref("", "/usr/X11R6/lib/X11/fonts/truetype");
Old 10-11-2002, 12:48 AM   #3
LQ Newbie
Registered: Oct 2002
Posts: 17

Original Poster
Rep: Reputation: 0
ooo, thanks chief.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fonts question: how to get a full list of fonts in Abiword vharishankar Linux - Software 1 03-17-2005 11:11 AM
fonts.scale/fonts.dir: Naming convention kaon Linux - General 0 08-09-2004 05:02 AM
It's a glorious day!! cyph3r7 Linux - General 1 05-12-2004 04:47 PM
Fonts not configured in fonts.o/kernel compile gizmogadgetus Linux - General 0 02-08-2004 10:50 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 - General

All times are GMT -5. The time now is 11:57 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