Re: Problem starting Apps



Hi,

Christian Quast <wildcart tzi org> writes:

> Hi,
> I just installed gtk-1.3.15 and all its corresponding libs.
> After that I compiled and installed gimp. But I got a problem whenever
> I try to start any application requiering gtk.
> eg. gimp-1.3
> 
> [0]: gimp-1.3
> 
> gimp-1.3 (pid:13714): ** WARNING **: Couldn't load font "Sans 10"
> falling back to "Sans 10"
> 
> gimp-1.3 (pid:13714): ** WARNING **: Couldn't load font "Sans 10"
> falling back to "Sans 10"
> 
> gimp-1.3 (pid:13714): ** WARNING **: All font failbacks failed!!!!
> 
> 
> does anyone know this problem and how to fix it ...

your font installation is broken. The correct solution depends on 
whether you use Xft or old-fashioned X font rendering (assuming you
are trying this on X11). GDK-2.0 respects the environment variable
GDK_USE_XFT to switch to Xft font rendering and I'd suggest you 
use that option since it gives you AA fonts. Then you'll have to 
set up your XftConfig file (in /etc/X11 or /usr/X11R6/lib) so it
specifies fonts for the "sans", "serif" and "mono" font aliases.
Below is an excerpt from my XftConfig. You will probably have to 
adapt it to your needs.


Salut, Sven

#
# some directories with font files
#
dir "/usr/X11R6/lib/X11/fonts/Type1"
dir "/usr/local/share/fonts/truetype"

#
# alias 'fixed' for 'mono'
#
match any family == "fixed"             edit family =+ "mono";

#
# Check users config file
#
includeif       "~/.xftconfig"

#
# Use truetype fonts for default faces
#
match any family == "serif"             edit family += "Times";
match any family == "sans"              edit family += "Tahoma";
match any family == "mono"              edit family += "Courier";





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]