LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2006, 08:46 PM   #1
big_manel
LQ Newbie
 
Registered: Jan 2006
Distribution: Customized Vector Linux
Posts: 17

Rep: Reputation: 0
Question No fonts in icewm: "Could not load fallback Xft font"


Hi all

I posted this here because though I have used Linux for a few years now, I almost never used X and windows managers, being a newbie in that field - please relocate post if seen fit.

I am currently trying to re-install X on my machine (pentium 90, kernel 2.4.28) which is primarily a server for backups, printing, etc...

I had X, with IceWM, previously installed as a part of my first (and only) linux distro installation - VectorLinux. I really didn't care much about X apps because the machine was mainly a server (it even lived for some months without monitor, being controlled only by ssh) but recently I felt the need for an always-ready way of checking the internet or writing a simple word-like doc. So I started to use X again. I found out that something had somehow become corrupt because most apps would complain about libgdk-1.2.so.0 (undefined symbol ...) and refuse to run. I tried to install the latest version of GTK+ but to no avail and, in a moment of despair I uninstalled X (as in "deleted /usr/X11R6 and /usr/X11" - a typical M$-like behavior...).

I then initiated the painful task of reinstalling... With Xfree86 version 4.5.0 no probs, I even got it to correcly use my graphics card and use 1024x768 resolution, which I previously was unable to. Then I installed IceWM (1.2.23), configured .Xclients and got it to run but:
THERE ARE NO FONTS! No letters! Zip! All the buttons and text boxes are there, empty and shrunken by the lack of content. xterm runs fine (no title on the window but the prompt is ok). When I return to console I see that lots of errors like these have been spat out:
Code:
IceWM: Warning: Could not load font "sans-serif:size=10:bold".                          
IceWM: xft: fallback from 'sans-serif:size=10:bold'                                     
IceWM: Warning: Loading of fallback font "sans-serif" failed.                           
IceWM: failed to load font 'sans-serif:size=10:bold', trying fallback                   
IceWM: Warning: Could not load font "sans-serif:size=12".                               
IceWM: xft: fallback from 'sans-serif:size=12'                                          
IceWM: Warning: Loading of fallback font "sans-serif" failed.                           
IceWM: Could not load fallback Xft font.
I updated Xft, but to no avail...

I googled for the errors but this seems to be only addressed by a Russian forum...
The following two lines are output at the X server start:
Code:
Could not init font path element /usr/X11R6/lib/X11/fonts/local/, removing from list!   
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Is this the problem? Why were these fonts not installed with Xfree? What can I do?

the X log shows no errors.

I still really don't need X that much but this has become a personal matter and I would appreciate any help. tkx for reading!

big_manel
 
Old 01-19-2006, 11:13 AM   #2
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & FreeBSD
Posts: 488

Rep: Reputation: Disabled
It would help if you could post some relevant sections of your XFree86.conf file, namely the "Files" section and the "Modules" section. And perhaps you will find the following pages useful: Fonts in XFree86 and XFree86 4.5.0 Documentation
Hope that helps.
 
Old 01-20-2006, 07:23 AM   #3
big_manel
LQ Newbie
 
Registered: Jan 2006
Distribution: Customized Vector Linux
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the directions. I read what you said and, out what I could understand of it, I still don't understand what I was doing wrong...

However I DID get it to work! The problem was that I had used Xfree's install script with some of the optional packages, but left out the heavier font extensions: Xf100.tgz (100dpi fonts) and Xfscl.tgz (Scalable fonts (Speedo, Type1 and TrueType)). Reinstalled X with those and all was fine! (it still complains about fonts/local and fonts/CID, though, but I don't really care now!)

I don't remember having read the need for the instalation of these files in the IceWM documentation but then again maybe it it obvious and I'm just a newbie...

Thanks anyway for the help!
 
Old 01-20-2006, 02:07 PM   #4
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & FreeBSD
Posts: 488

Rep: Reputation: Disabled
Glad to hear it's working! I also got those /fonts/local and /fonts/CID errors with my default configuration. It is safe to comment them out, if the extra two lines in the log bother you.
Look in the "Files" section of XF86Config for the part with the FontPaths to find them.
 
  


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
"Could not init font path element""Unix /: 7100 removing from list/ zameer_india Linux - Networking 7 07-03-2006 06:11 AM
"Failed to load module "i915"" Kane635 Linux - Software 0 11-22-2004 08:17 PM
Could not init font path element. Could not find default font "fixed" SidA Red Hat 0 06-19-2004 08:42 PM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 01:42 AM
Couldn't Load Font "Sans 10" Cruxus Debian 1 03-17-2004 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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