Bug#274033: pango: selecting proportional font for GTK results in 'size 0' errors

Kimiko Koopman Kimiko Koopman <kimiko@brokenmoon2.xs4all.nl>, 274033@bugs.debian.org
Wed, 29 Sep 2004 15:01:32 +0200

Package: libpango1.0-0
Version: 1.6.0-1
Severity: normal
File: pango
Tags: experimental

When I choose a proportional font for GTK/Gnome (doesn't matter whether this
is done through the gnome-font-properties dialogs or through gconftool-2),
all gnome windows are resized to enormous horizontal sizes and menu and
such texts are rendered unreadably small (mere dots). This can partially
be circumvented (which is how I have been getting by for the past week or
so) by selecting a fixed-width font. Even so, all Gnome apps still spew
lots and lots of repeats of this Pango error to stderr:
** (galeon:1481): CRITICAL **: file pango-context.c: line 269 (pango_context_load_font): assertion `pango_font_description_get_size (desc) != 0' failed
(app name and process id vary of course, the rest is always the same)

I'm not sure if this is really a bug in Pango, or in some other part of
Gnome, since fonts are rendered normally in widgets not directly under
Gnome's control, such as Galeon's main window/view. It may or may not have
started after upgrading to Pango 1.6.0, but downgrading to 1.5.2 or 1.4.1
doesn't get rid of it.

If this is not a Pango bug, can you please tell me anyway what package
likely causes it, or how to get rid of it?

-- System Information:
Debian Release: 3.1
  APT prefers experimental
  APT policy: (995, 'experimental'), (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=, LC_CTYPE=en_US.iso885915

Versions of packages libpango1.0-0 depends on:
ii  libc6                     2.3.2.ds1-17   GNU C Library: Shared libraries an
ii  libfontconfig1            2.2.3-1        generic font configuration library
ii  libfreetype6              2.1.7-2.2      FreeType 2 font engine, shared lib
ii  libglib2.0-0              2.4.6-2        The GLib library of C routines
ii  libpango1.0-common        1.6.0-1        Modules and configuration files fo
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxft2                   2.1.2-6        FreeType-based font drawing librar
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:    compression library - runtime

-- no debconf information