LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 10-10-2002, 09:55 PM   #1
Karnak
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


thanks
 
Old 10-11-2002, 01:23 AM   #2
almostlucky
Member
 
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:
Code:
// TrueType
pref("font.FreeType2.enable", true);
pref("font.freetype2.shared-library", "libfreetype.so.6");
// 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("font.directory.truetype.1", "/usr/X11R6/lib/X11/fonts/truetype");
 
Old 10-11-2002, 01:48 AM   #3
Karnak
LQ Newbie
 
Registered: Oct 2002
Posts: 17

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


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 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 12:11 PM
fonts.scale/fonts.dir: Naming convention kaon Linux - General 0 08-09-2004 06:02 AM
It's a glorious day!! cyph3r7 Linux - General 1 05-12-2004 05:47 PM
Fonts not configured in fonts.o/kernel compile gizmogadgetus Linux - General 0 02-08-2004 11:50 AM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 07:41 AM


All times are GMT -5. The time now is 07:24 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration