Linux - SoftwareThis 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.
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.
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.
check XF86Config. to use these fonts modules freetype, speedo and type1 should be loaded :
Section
...
Load "freetype"
Load "type1"
Load "speedo"
...
EndSection
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.
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.
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.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.