Bug#498662: libgtk2.0-0: Some fonts too large on 130dpi display

Antony Gelberg antony.gelberg at wayforth.com
Fri Sep 12 00:58:19 UTC 2008

Package: libgtk2.0-0
Version: 2.12.11-3
Severity: normal


This problem manifests itself on a laptop display, 1680x1050, 15" widescreen.
Here are the specs from xdpyinfo:
screen #0:
  dimensions:    1680x1050 pixels (331x207 millimeters)
  resolution:    129x129 dots per inch

I have a fresh lenny install, and no .gtkrc files in my home directory.  Some
fonts are massive by default, which looks a bit silly, as well as being
inconvenient.  However, it's only certain GTK fonts that are affected.  For
example, everything in rhythmbox is affected.  In iceweasel, the menu bar and
tab bar are affected, but the actual web page is fine (different renderer?).

I assume this is something to do with libgtk trying to compensate for the
130dpi by making the font larger.  Leaving aside the principle of whether this
is desirable behaviour (I chose a high resolution display to get more on
the screen, not have fonts automagically change size), I think it's
over-compensating.  But really it shouldn't compensate at all, in my opinion.
I have a 100dpi 1680x1050 display on another machine, running the same
software, and it's fine.

Of course, this may not be a libgtk bug, but I assume it is, as default fonts
in non-gtk apps are fine (nice and small on this screen).  I have taken a
couple of screenshots to illustrate[1].  Please let me know if I can provide any
more useful information about my setup in order to debug this.


[1] http://www.wayforth.co.uk/debian/shot1.png

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0           1.22.0-1           The ATK accessibility toolkit
ii  libc6                 2.7-13             GNU C Library: Shared libraries
ii  libcairo2             1.6.4-6            The Cairo 2D vector graphics libra
ii  libcomerr2            1.41.0-3           common error description library
ii  libcups2              1.3.8-1lenny1      Common UNIX Printing System(tm) - 
ii  libfontconfig1        2.6.0-1            generic font configuration library
ii  libglib2.0-0          2.16.5-1           The GLib library of C routines
ii  libgnutls26           2.4.1-1            the GNU TLS library - runtime libr
ii  libgtk2.0-common      2.12.11-3          Common files for the GTK+ graphica
ii  libjpeg62             6b-14              The Independent JPEG Group's JPEG 
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libpango1.0-0         1.20.5-1           Layout and rendering of internatio
ii  libpng12-0            1.2.27-1           PNG library - runtime
ii  libtiff4              3.8.2-11           Tag Image File Format (TIFF) libra
ii  libx11-6              2:1.1.4-2          X11 client-side library
ii  libxcomposite1        1:0.4.0-3          X11 Composite extension library
ii  libxcursor1           1:1.1.9-1          X cursor management library
ii  libxdamage1           1:1.1.1-4          X11 damaged region extension libra
ii  libxext6              2:1.0.4-1          X11 miscellaneous extension librar
ii  libxfixes3            1:4.0.3-2          X11 miscellaneous 'fixes' extensio
ii  libxi6                2:1.1.3-1          X11 Input extension library
ii  libxinerama1          2:1.0.3-2          X11 Xinerama extension library
ii  libxrandr2            2:1.2.3-1          X11 RandR extension library
ii  libxrender1           1:0.9.4-2          X Rendering Extension client libra
ii  zlib1g                1:  compression library - runtime

Versions of packages libgtk2.0-0 recommends:
ii  hicolor-icon-theme            0.10-1     default fallback theme for FreeDes
ii  libgtk2.0-bin                 2.12.11-3  The programs for the GTK+ graphica

Versions of packages libgtk2.0-0 suggests:
ii  librsvg2-common               2.22.2-2   SAX-based renderer library for SVG

-- no debconf information

More information about the pkg-gnome-maintainers mailing list