LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 10-03-2004, 07:27 AM   #1
TheJkWhoSaysNi
LQ Newbie
 
Registered: Oct 2004
Posts: 17

Rep: Reputation: 0
Can only use TTF fonts as root


I read a tutorial which explained how to install TTF fonts (I wanted some from windows) which said drag them into fonts:// I did that and it diddnt work so I tried as root. As root it works and I can use the fonts in my applications. However, as a normal user I cannot use these fonts

How can I get these fonts to work for my user account, not just for root.

Thanks.
 
Old 10-03-2004, 08:45 AM   #2
FunkyRes
Member
 
Registered: Mar 2004
Distribution: CentOS
Posts: 174

Rep: Reputation: 30
What are the permisions on the fonts?

When I install ttf fonts on linux - I put the fonts within /usr/share/fonts

for example - /usr/share/fonts/coreweb

That directory contains the MS core web fonts

/usr/share/fonts/purchased

That directory contains fonts I have bought.

The permissions on the fonts themselves are 444 (read only but readable by all users - chmod 444 *.ttf - assuming they are lower case extension. use chmod 444 *.TTF if they are capitalized)

Furthermore - and this may not be needed (I think the OS does it for you when you reboot - but I'm not positive), I enter the font directories (IE first the one containing MS fonts, and then the one containing the fonts I have purchased) and I run:

/usr/X11R6/bin/mkfontscale .
/usr/X11R6/bin/mkfontdir

NOTICE the . after mkfontscale.

FINALLY - after all that - as root:

fc-cache

Then I either log out of X and log back in and they work, or I run fc-cache as my normal user (either way)

That always works for me.
I know that gnome and kde support installation of fonts on a per user basis, I think that's what you were trying to do by putting them in fonts:// (I think that puts them in ~/.fonts or something) - but I prefer to install ttf fonts systemwide - and the above recipe is how I accomplish that, it works well - and all my user accounts can access them.

Last edited by FunkyRes; 10-03-2004 at 08:48 AM.
 
  


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 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
How to add ttf fonts Bogdan Linux - Newbie 2 03-31-2002 02:17 AM


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

Main Menu
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