Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-28-2005, 11:36 PM
|
#1
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
X won't load fonts
Xorg.0.log:
Quote:
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/local/share/fonts/truetype, removing from list!
|
as you can see, it won't read some of the default directories, or the one i made in /usr/local/share/fonts. the fonts are not available to my applications. does anyone have any idea of what might be going on? fresh slack 10 install, xorg 6.7. thx.
|
|
|
03-01-2005, 01:32 AM
|
#2
|
Member
Registered: Aug 2002
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 35
Rep:
|
X can't find fonts
Your /tmp directory might be full
I don't know if this is the reason, but it could be, especially if you are like me and always filling up your drive with interesting downloads.
Otherwise have a look in /var/log/X* to see if the path is okay.
|
|
|
03-01-2005, 07:16 AM
|
#3
|
LQ Newbie
Registered: Dec 2004
Location: India
Distribution: fedora core
Posts: 1
Rep:
|
Try removing your .xinitrc file from home directory and start x again. Did you install yahoo messenger rpm or other corrupted rpm after installation.
|
|
|
03-01-2005, 07:49 AM
|
#4
|
Member
Registered: Jan 2005
Location: Lviv, Ukraine
Distribution: Something self-made
Posts: 69
Rep:
|
check XF86Config. to use these fonts modules freetype, speedo and type1 should be loaded :
Section
...
Load "freetype"
Load "type1"
Load "speedo"
...
EndSection
|
|
|
03-01-2005, 09:48 AM
|
#5
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Original Poster
Rep:
|
thanks for the suggestions, i checked all of them but no success. it's a fresh install, so the /tmp directory was okay, and i think it's emptied on every reboot anyway. no rpm installs. i took everything out of .xinitrc except exec fluxbox, then i deleted .xinitrc altogether, neither of those worked. and all those modules are loading in xorg.conf.
i noticed there was an entry in xorg.conf for /usr/share/fonts/ms that wasn't getting the "can't init, removed from list" error. i checked and there was no ms directory there, so i made one, copied in some ttf fonts, added /usr/share/fonts to /etc/fonts/local.conf, ran fc-cache -f, and restarted X, and then that was "removed from list," too.
wtf? all the directory and font permissions are exactly the same as for the directories that are getting loaded.
|
|
|
03-01-2005, 10:21 AM
|
#6
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
What's the "-f" option for? I didn't think fc-cache used any options beyond directory names, so maybe it's failing to create a font index and therefore X is not seeing any fonts.
The only time i've seen that message is when there are no fonts in the specified directory.
|
|
|
03-01-2005, 12:31 PM
|
#7
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Original Poster
Rep:
|
Quote:
Originally posted by mikshaw
What's the "-f" option for? I didn't think fc-cache used any options beyond directory names, so maybe it's failing to create a font index and therefore X is not seeing any fonts.
The only time i've seen that message is when there are no fonts in the specified directory.
|
-f means to force the scan.
Code:
-f, --force scan directories with apparently valid caches
i guess it's reading the fonts as invalid/corrupted for some reason. ? i redid mkfontdir and mkfontscale a few times, didn't work. i'll try it later with fresh bitstream fonts, see if that fixes it.
|
|
|
03-01-2005, 03:07 PM
|
#8
|
Member
Registered: Sep 2004
Location: Germany
Distribution: Gentoo
Posts: 164
Rep:
|
Is there a file named fonts.dir in the directory? I think X needs this to successfully load a font directory.
It should contain the filenames of the fonts in that directory together with a description conataining lots of -dashes-. You can create this using mkfontdir (should be included in the X distribution).
Debian has also a tool called update-fonts-dir to facilitate this (and a central font registry called defoma that I still don't grok)
|
|
|
03-02-2005, 10:40 AM
|
#9
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Original Poster
Rep:
|
yes, i redid the mkfontdir and mkfontscale a number of times without success. getting new fonts also didn't help.
anyone? it's really sucky not being able to add new fonts. (edit: fixed network problem)
Last edited by synaptical; 03-02-2005 at 12:20 PM.
|
|
|
03-05-2005, 09:40 AM
|
#10
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Original Poster
Rep:
|
one last bump.
|
|
|
12-20-2005, 02:07 AM
|
#11
|
LQ Newbie
Registered: Dec 2005
Posts: 1
Rep:
|
check your fonts.dir file ,the content is right?
check your fonts.dir file ,the content is right?
|
|
|
All times are GMT -5. The time now is 04:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|