Package: libwine
Version: 8.0~repack-4
Severity: important
Tags: 
X-Debbugs-Cc: l...@skynet.be

Dear Maintainer,

Installshield-3.0 shows a weird font when using the official debian
package (and built debian packages), whereas directly built wine runs
fine. This weird font means that some input fields requiring a specific
number of digits are not accepting the correct number of digits due to
font sizing/spacing (great design!), so installshield complains about
the wrong number of digits.

The wine trace shows that "MS Sans Serif" cannot be located. Wine is not
finding the fonts in /usr/share/wine/fonts/ and the cause is
get_fonts_data_dir_path() returning:
L"\\??\\Z:\\usr\\share\\wine\\../fonts\"
This extra "../"  is out of place as the actual path is
"/usr/share/wine/fonts".

This is caused by dlls/win32u/Makefile.in:
font_EXTRADEFS = -DWINE_FONT_DIR=\"`${MAKEDEP} -R ${datadir}/wine ${fontdir}`\"
with datadir set to "/usr/lib/wine/../../share/wine" and fontdir being
set to "/usr/share/wine/fonts". The extra "wine" means that
WINE_FONT_DIR then becomes "../fonts".

This is the issue that patches/debianization/install-paths.patch was
supposed to solve, but dlls/win32u/Makefile.in was overlooked, whereas
dlls/ntdll/Makefile.in and libs/wine/Makefile.in were altered.

This issue has been fixed for testing:
https://sources.debian.org/patches/wine/9.0~repack-7/debianization/install-paths.patch/#L45
But remains in stable.

A small tool has been written to list fonts in win16 and winnt
environments: https://github.com/libv/enumfontfamilies

-- Package-specific info:
/usr/bin/wine does not exist.

-- System Information:
Debian Release: 12.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-30-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libwine depends on:
ii  libasound2                       1.2.8-1+b1
ii  libc6                            2.36-9+deb12u9
ii  libcapi20-3                      1:3.27-3+b1
ii  libfontconfig1                   2.14.1-4
ii  libfreetype6                     2.12.1+dfsg-5+deb12u3
ii  libglib2.0-0                     2.74.6-2+deb12u5
ii  libgphoto2-6                     2.5.30-1
ii  libgphoto2-port12                2.5.30-1
ii  libgstreamer-plugins-base1.0-0   1.22.0-3+deb12u4
ii  libgstreamer1.0-0                1.22.0-2+deb12u1
ii  libpcap0.8                       1.10.3-1
ii  libpulse0                        16.1+dfsg1-2+b1
ii  libudev1                         252.33-1~deb12u1
ii  libusb-1.0-0                     2:1.0.26-1
ii  libx11-6                         2:1.8.4-2+deb12u2
ii  libxext6                         2:1.3.4-1+b1
ii  libz-mingw-w64                   1.2.13+dfsg-1
ii  ocl-icd-libopencl1 [libopencl1]  2.3.1-1

Versions of packages libwine recommends:
ii  fonts-liberation           1:1.07.4-11
ii  fonts-wine                 8.0~repack-4
ii  gstreamer1.0-plugins-good  1.22.0-5+deb12u2
ii  libasound2-plugins         1.2.7.1-1
ii  libcups2                   2.4.2-3+deb12u8
ii  libdbus-1-3                1.14.10-1~deb12u1
ii  libgl1                     1.6.0-1
ii  libgl1-mesa-dri            22.3.6-1+deb12u1
ii  libgnutls30                3.7.9-2+deb12u4
ii  libgssapi-krb5-2           1.20.1-2+deb12u2
ii  libkrb5-3                  1.20.1-2+deb12u2
ii  libodbc2                   2.3.11-2+deb12u1
ii  libosmesa6                 22.3.6-1+deb12u1
ii  libsdl2-2.0-0              2.26.5+dfsg-1
ii  libv4l-0                   1.22.1-5+b2
ii  libvulkan1                 1.3.239.0-1
ii  libxcomposite1             1:0.4.5-1
ii  libxcursor1                1:1.2.1-1
ii  libxfixes3                 1:6.0.0-2
ii  libxi6                     2:1.8-1+b1
ii  libxinerama1               2:1.1.4-3
ii  libxrandr2                 2:1.5.2-2+b1
ii  libxrender1                1:0.9.10-1.1
ii  libxxf86vm1                1:1.1.4-1+b2

Versions of packages libwine suggests:
pn  cups-bsd                   <none>
ii  gstreamer1.0-libav         1.22.0-2
ii  gstreamer1.0-plugins-bad   1.22.0-4+deb12u5
ii  gstreamer1.0-plugins-ugly  1.22.0-2+deb12u1
pn  ttf-mscorefonts-installer  <none>

Versions of packages wine32 depends on:
ii  libc6  2.36-9+deb12u9

Versions of packages wine32 recommends:
pn  wine  <none>

Versions of packages wine32 suggests:
pn  wine32-preloader  <none>

Versions of packages libwine is related to:
pn  dxvk                     <none>
pn  dxvk-wine32-development  <none>
pn  dxvk-wine64-development  <none>
ii  fonts-wine               8.0~repack-4

-- no debconf information

Reply via email to