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

Re: gtk2 gtk-demo Couldn't Load font Sans 10 falling back



>>>>> "Mariano" == Mariano Kamp <mkamp@gmx.de> writes:

Mariano> Hi, I tried gtk-demo from gtk2 with woody. Unfortunately I get
Mariano> the message "Couldn't load font "Sans 10" falling back to "Sans
Mariano> 10" two times and then "All font failbacks failed!!!" ... Any
Mariano> idea how to solve this?

You're probably missing your /etc/pango/pangox.aliases file.  You can
either create it by hand, or have defoma manage it.  If you want to have
defoma manage it, you'll need to dpkg-reconfigure some package
(libpango1.0-common, maybe?), and select to use defoma.  If you want to
create it by hand, it should contain something like this:

sans normal normal normal normal \
        "-*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*,\
        -monotype-arial-medium-r-normal--*-*-*-*-*-*-*-*"

sans italic normal normal normal \
        "-*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*,\
        -monotype-arial-medium-i-normal--*-*-*-*-*-*-*-*"

sans normal normal bold normal \
        "-*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*,\
        -monotype-arial-bold-r-normal--*-*-*-*-*-*-*-*"

sans italic normal bold normal \
        "-*-helvetica-bold-o-normal--*-*-*-*-*-*-*-*,\
        -monotype-arial-bold-i-normal--*-*-*-*-*-*-*-*"

serif normal normal normal normal \
        "-*-times-medium-r-normal--*-*-*-*-*-*-*-*,\
        -monotype-times new roman-medium-r-normal--*-*-*-*-*-*-*-*"

serif italic normal normal normal \
        "-*-times-medium-i-normal--*-*-*-*-*-*-*-*,\
        -monotype-times new roman-medium-i-normal--*-*-*-*-*-*-*-*"

serif normal normal bold normal \
        "-*-times-bold-r-normal--*-*-*-*-*-*-*-*,\
        -monotype-times new roman-bold-r-normal--*-*-*-*-*-*-*-*"

serif italic normal bold normal \
        "-*-times-bold-i-normal--*-*-*-*-*-*-*-*,\
        -monotype-times new roman-bold-i-normal--*-*-*-*-*-*-*-*"

monospace normal normal normal normal \
        "-bigelow-luximono-medium-r-normal--*-*-*-*-*-*-*-*,\
        -monotype-courier new-medium-r-normal--*-*-*-*-*-*-*-*,\
        -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*"

monospace italic normal normal normal \
        "-bigelow-luximono-medium-o-normal--*-*-*-*-*-*-*-*,\
        -monotype-courier new-medium-i-normal--*-*-*-*-*-*-*-*,\
        -*-fixed-medium-i-normal--*-*-*-*-*-*-*-*"

monospace normal normal bold normal \
        "-bigelow-luximono-bold-r-normal--*-*-*-*-*-*-*-*,\
        -monotype-courier new-bold-r-normal--*-*-*-*-*-*-*-*,\
        -*-fixed-bold-r-normal--*-*-*-*-*-*-*-*"

monospace italic normal bold normal \
        "-monotype-courier new-bold-i-normal--*-*-*-*-*-*-*-*,\
        -*-fixed-bold-i-normal--*-*-*-*-*-*-*-*"

(of course, change it to fit the fonts installed on your system).

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Attachment: pgpxFe0L5QScx.pgp
Description: PGP signature


Reply to: