Bug#370750: libpango1.0-0: Many fonts are selected incorrectly
Dylan Thurston
dpt at math.harvard.edu
Tue Jun 6 16:47:09 UTC 2006
Package: libpango1.0-0
Version: 1.12.3-1
Severity: normal
On my system (with cm-super installed), if I go to a GTK font
selection dialog and select Family 'Computer Modern' and style
'Typewriter', I get the font Dunhill. (Exactly which font you get is
slightly random, but it will generally not be correct.)
If I understand correctly, this happens with any font that has more
styles than the standard normal/bold/italic/bold italic.
The reason is that in pangofc-fontmap.c, the function
pango_fc_font_description_from_pattern ignores the FC_STYLE element of
the FcPattern it is passed. (It only looks at the weight and slant of
the font.) For the Computer Modern family (and several others), this
element contains crucial information that cannot be ignored,
especially that FC_STYLE is what the user is directly picking in the
GUI.
(Bug #354537 is probably the same as this bug, but I haven't
investigated the OpenOffice issue mentioned there so I'm not
reassigning that bug.)
Peace,
Dylan Thurston
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc5fb
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libpango1.0-0 depends on:
ii libc6 2.3.6-13 GNU C Library: Shared libraries
ii libcairo2 1.0.4-2 The Cairo 2D vector graphics libra
ii libfontconfig1 2.3.2-5.1 generic font configuration library
ii libfreetype6 2.2.1-2 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.10.3-1 The GLib library of C routines
ii libpango1.0-common 1.12.3-1 Modules and configuration files fo
ii libx11-6 2:1.0.0-6 X11 client-side library
ii libxft2 2.1.8.2-8 FreeType-based font drawing librar
ii zlib1g 1:1.2.3-11 compression library - runtime
libpango1.0-0 recommends no packages.
-- no debconf information
More information about the Pkg-gnome-maintainers
mailing list