Package: libwine
Version: 0.9-1
Severity: normal

The bitmap font files included in the libwine package should not be
picked up by fontconfig, since they get rendered invisible in firefox.

I stumbled across this when some webpages looked suspiciously empty and
I tracked it down to the usage of the "MS sans serif" font, which gets
provided by /usr/share/fonts/wine/sserife.fon.

Apparently this file cannot be used by freetype, at least the command
"ftview ppem /usr/share/fonts/wine/sserife.fon" yields empty letters.

When selecting this font in gimp it spits out a warning:
Pango-WARNING **: Error in FT_Set_Char_Size: 23

As soon as I disable the wine-provided fonts in my ~/.fonts.conf with
this entry:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
[...]
  <rejectfont>
    <glob>/usr/share/fonts/wine/*</glob>
  </rejectfont>
</fontconfig>

The problem goes away by making the MS sans serif fonts unavailable to the
applications that don't render them correctly.

It is a bit hard to figure out which package to report the bug against,
freetype should be able to render the .fon files, fontconfig should not pick
up .fon files that cannot get rendered by freetype, pango should not warn,
but I think the easiest route is to not include the bitmap fonts into the
fonts managed by fontconfig. Hence the report against wine.

I hope this helps,
        Simon

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libwine depends on:
ii  debconf [debconf-2.0]  1.4.67            Debian configuration management sy
ii  libc6                  2.3.5-8           GNU C Library: Shared libraries an
ii  libfreetype6           2.1.7-2.4         FreeType 2 font engine, shared lib
ii  libgcc1                1:4.0.2-5         GCC support library
ii  libice6                6.8.2.dfsg.1-11   Inter-Client Exchange library
ii  libncurses5            5.5-1             Shared libraries for terminal hand
ii  libsm6                 6.8.2.dfsg.1-11   X Window System Session Management
ii  libstdc++6             4.0.2-5           The GNU Standard C++ Library v3
ii  libx11-6               6.8.2.dfsg.1-11   X Window System protocol client li
ii  libxext6               6.8.2.dfsg.1-11   X Window System miscellaneous exte
ii  libxml2                2.6.23.dfsg.1-0.1 GNOME XML library
ii  libxslt1.1             1.1.15-2          XSLT processing library - runtime 
ii  libxxf86dga1           6.8.2.dfsg.1-11   X Direct Graphics Access extension
ii  libxxf86vm1            6.8.2.dfsg.1-11   X Video Mode selection library
ii  xlibs                  6.8.2.dfsg.1-11   X Window System client libraries m
ii  zlib1g                 1:1.2.3-9         compression library - runtime

libwine recommends no packages.

-- debconf information:
  wine/move_to_fhs:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to