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

Re: font trouble in GNOME



>>>>> "Michael" == Michael Jinks <mjinks@uchicago.edu> writes:

[...]

Michael> gnome-terminal was working yesterday; a couple of package
Michael> additions and apt-get upgrades ago.  As far as I can recall we
Michael> haven't removed anything from the system.  I've compared it to
Michael> another Woody machine that does work and can't find any fonts
Michael> obviously missing, but to be honest I don't know which "Sans
Michael> 10" it would be looking for (font handling in *nix is kind of a
Michael> mystery to me...)  I've also removed and re-added
Michael> gnome-terminal hoping that some dependency might be flushed
Michael> out, but to no avail.

gnome-terminal and sawfish were upgraded to the Gnome 2 versions, which
use a different font system.

You may need to create and /etc/pango/pangox.aliases if it doesn't
already exist.  Something like this should suffice:

---- BEGIN /etc/pango/pangox.aliases
sans normal normal normal normal \
        "-*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*"

sans italic normal normal normal \
        "-*-helvetica-medium-o-normal--*-*-*-*-*-*-*-*"

sans normal normal bold normal \
        "-*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*"

sans italic normal bold normal \
        "-*-helvetica-bold-o-normal--*-*-*-*-*-*-*-*"

serif normal normal normal normal \
        "-*-times-medium-r-normal--*-*-*-*-*-*-*-*"

serif italic normal normal normal \
        "-*-times-medium-i-normal--*-*-*-*-*-*-*-*"

serif normal normal bold normal \
        "-*-times-bold-r-normal--*-*-*-*-*-*-*-*"

serif italic normal bold normal \
        "-*-times-bold-i-normal--*-*-*-*-*-*-*-*"

monospace normal normal normal normal \
        "-*-courier-medium-r-normal--*-*-*-*-*-*-*-*"

monospace italic normal normal normal \
        "-*-courier-medium-i-normal--*-*-*-*-*-*-*-*"

monospace normal normal bold normal \
        "-*-courier-bold-r-normal--*-*-*-*-*-*-*-*"

monospace italic normal bold normal \
        "-*-courier-bold-i-normal--*-*-*-*-*-*-*-*"
---- END /etc/pango/pangox.aliases

Alternately, you could let defoma manage pangox.aliases
(dpkg-reconfigure libpango1.0-common), but I personally don't like the
way it sets things up.

-- 
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: pgpnEi2cL_kOR.pgp
Description: PGP signature


Reply to: