LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-19-2004, 12:03 PM   #1
rwuest
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
How do I add fonts in X


How do you add fonts in X without resarting the X server?

I'm on rh9, running xfs.

I've added a font to /usr/X11R6/lib/X11/fonts/TTF

I've run mkfontdir, ttmkfdir fc-cache, signaled xfs with HUP, USR1 and USR2 and run xset fp rehash. I can't think of anything else.

If I do service xfs restart, the X server will soon crash.

Surely it is possible to add fonts without quitting everything and restarting!!!????

Robert
 
Old 04-19-2004, 12:39 PM   #2
rwuest
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Nevermind: this seems to do the trick:
sudo ttmkfdir -o fonts.scale;sudo mkfontdir; xset fp rehash; sudo killall -HUP xfs
 
  


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
Need to add fonts to acroread koyi Linux - Software 0 08-01-2004 03:30 AM
How to add fonts ? futurist Linux - Newbie 8 03-19-2004 09:20 AM
Add fonts JROCK1980 Linux - Software 2 02-21-2004 05:03 AM
how to add some fonts? Vincent Slackware 4 12-02-2003 01:03 PM
How to add ttf fonts Bogdan Linux - Newbie 2 03-31-2002 03:17 AM


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