You are not logged in.

#1 2006-06-23 10:48:56

Quinten
Member
Registered: 2006-04-30
Posts: 8

Graphics Error: Unable to find suitable font!

I am trying to use the program rasmol (that displays molecules), and I get the error:

Graphics Error: Unable to find suitable font!

I installed rasmol by

pacman -Sy rasmol
today for version 2.7.3-2
also did I do a system upgrade today:
pacman -Suy

the section "Files" in /etc/X11/xorg.conf contains:
       ModulePath   "/usr/lib/xorg/modules"
        RgbPath      "/usr/share/X11/rgb"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/cyrillic"
        FontPath     "/usr/share/fonts/encodings"
        FontPath     "/usr/share/fonts/util"

I have added all directories in /usr/share/fonts to be sure and restarted X.

I tried installing all font packages that I could find, but the error is still the same:

#pacman -Q | grep font
font-bh-ttf 1.0.0-2
fontcacheproto 0.1.2-1
fontconfig 2.3.2-6
fontsproto 2.0.2-1
gsfonts 8.11-3
libfontenc 1.0.2-1
libxfont 1.1.0-1
libxfontcache 1.0.2-1
ttf-ms-fonts 1.3-8
xorg-font-utils 1.0.1-1
xorg-fonts-alias 1.0.1-1
xorg-fonts-encodings 1.0.0-1
xorg-fonts-misc 1.0.0-2

#pacman -Q | grep ttf
font-bh-ttf 1.0.0-2
sdl_ttf 2.0.8-1
ttf-bitstream-vera 1.10-4
ttf-cheapskate 2.0-4
ttf-isabella 1.003-2
ttf-junicode 0.6.5pre20051126-2
ttf-ms-fonts 1.3-8

I removed the fonts.dir and fonts.scale in /usr/share/fonts and /usr/share/fonts/TTF and did mkfontscale and mkfontdir
to replace them.

restarting X and retrying to run rasmol still gives the same error.

I have tried to search google for the error message but all I could find was the source code that probably produced the message:
http://www.bernstein-plus-sons.com/soft … c/x11win.c

and some redhat binary file that gives some fonts seemingly along with the error message:
http://www.bernstein-plus-sons.com/cgi- … smol_16BIT

...Options^@Colours^@Display^@File^@Graphics Error: %s!^@-*-*-bold-o-normal-*-14-*^@-*-serf-bold-o-normal-*-14-*^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@-*-helvetica-bold-o-normal-*-14-*^@Unable to find suitable font^@%x %s^@Comm....

which might be an indication for which fonts I need.

Could anyone please give me some assistance to get the program working,
perhaps by giving advise on how to install the abovementioned fonts
or anything else that I have failed to do.

I would really appreciate it , thanx

Offline

#2 2006-06-23 11:18:08

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: Graphics Error: Unable to find suitable font!

Rasmol works on my system and in xorg.conf I have:

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/encodings"
    FontPath     "/usr/share/fonts/artwiz-fonts"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/speedo"
    FontPath     "/usr/share/fonts/cyrillic"   
EndSection

IMO you need to put in the Section "Files" RgbPath...

Offline

#3 2006-06-23 12:12:29

Quinten
Member
Registered: 2006-04-30
Posts: 8

Re: Graphics Error: Unable to find suitable font!

thanx alot, it works

I have added the following packages:

pacman -S artwiz-fonts font-bitstream-speedo

and added the following lines to the "Files" section in /etc/X11/xorg.conf

FontPath     "/usr/share/fonts/artwiz-fonts"
FontPath     "/usr/share/fonts/speedo"

it works, I am happy

thanx for your help

Offline

#4 2007-01-16 20:04:55

koelle
Member
Registered: 2007-01-13
Posts: 2

Re: Graphics Error: Unable to find suitable font!

Hey,

i too get the same error that no suitable fonts could be found. I installed all the fonts mentioned in this thread. My Section "Files" looks like this:

Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/artwiz-fonts"
FontPath "/usr/share/fonts/speedo"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/util
EndSection


Still the error occurs. Does somebody know how to fix this?

greetings koelle

Offline

#5 2007-04-05 10:28:59

morellik
Member
From: Italy
Registered: 2007-04-05
Posts: 43

Re: Graphics Error: Unable to find suitable font!

I don't know if you have fix the problem.

I had found that the /usr/share/fonts/75dpi and /usr/share/fonts/100dpi was empty.

So, I installed xorg-fonts-100dpi and  xorg-fonts-75dpi and rasmol starts.

morellik

Offline

Board footer

Powered by FluxBB