Bug#526732: libpango1.0-0: pango forces use of bold font in gnome-terminal

Mike Simons msimons at simons-clan.com
Sun May 3 06:38:46 UTC 2009


Package: libpango1.0-0
Version: 1.24.0-3+b1
Severity: normal


After a recent restart of gnome-terminal the wrong font was being used.
The new font is some bold font.  The gnome-terminal UI shows the correct
font name and the font looks correct in the preview area but attempts
to make configuration changes had no effect on open real terminals.

I use a small fixed-width font[1] in gnome-terminal and had made no 
preference changes to the terminal or font config changes for months.

I found another machine were the my font preference was working correctly.
I created a new user, confirmed the font was working.  Did a full update
to testing and confirmed the problem appeared in the new user account.

Then using snapshot.debian.org I backed out/reapplied packages one at 
a time until I found that just libpango1.0 introduced this failure.

  this package works:  libpango1.0-0=1.22.4-2
  this package fails:  libpango1.0-0=1.24.0-3+b1


1: The font I use is "Neep Alt" size 10 from xfonts-jmk package

Test case:

It's best if you use a different user account to test this, to isolate
this test from your real user preferences.

- apt-get install libpango1.0-0=1.22.4-2
- apt-get install xfonts-jmk
- enable bitmap fonts [2]
- run a new 
  gnome-terminal --disable-factory
- select Neep Alt size 10 from profile preferences
- run ls / man ... observe font ... take a screen shot ;)
- close down all gnome-terminals

- apt-get install libpango1.0-0=1.24.0-3+b1
- run another new 
  gnome-terminal --disable-factory

expected results : fonts are unchanged

actual results : second window uses bold fonts for all text

 
2: to enable bitmap fonts...
there are at least two options to enable bitmap fonts.

- per user:

cat ~/.fonts.conf 
===
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Accept bitmap fonts -->
 <selectfont>
  <acceptfont>
   <pattern>
     <patelt name="scalable"><bool>false</bool></patelt>
   </pattern>
  </acceptfont>
 </selectfont>
</fontconfig>
===

- system wide:
===
rm /etc/fonts/conf.d/70-no-bitmaps.conf
ln -s /etc/fonts/conf.avail/70-yes-bitmaps.conf /etc/fonts/conf.d/
===

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

Kernel: Linux 2.6.22.10-blitz16 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpango1.0-0 depends on:
ii  libc6                  2.9-4             GNU C Library: Shared libraries
ii  libcairo2              1.8.6-2+b1        The Cairo 2D vector graphics libra
ii  libdatrie0             0.1.4-1           Double-array trie library
ii  libfontconfig1         2.6.0-3           generic font configuration library
ii  libfreetype6           2.3.9-4           FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.20.0-2          The GLib library of C routines
ii  libpango1.0-common     1.24.0-3          Modules and configuration files fo
ii  libthai0               0.1.11-3          Thai language support library
ii  libx11-6               2:1.2.1-1         X11 client-side library
ii  libxft2                2.1.13-3          FreeType-based font drawing librar
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

libpango1.0-0 recommends no packages.

libpango1.0-0 suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list