[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#928508: marked as done (libqt5gui5: fontconfig not enabled in plugins/platforms/libqoffscreen.so)



Your message dated Tue, 07 May 2019 15:28:24 -0300
with message-id <3052973.10t5n8CUsP@tonks>
and subject line Re: Bug#928508: libqt5gui5: fontconfig not enabled in plugins/platforms/libqoffscreen.so
has caused the Debian Bug report #928508,
regarding libqt5gui5: fontconfig not enabled in plugins/platforms/libqoffscreen.so
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
928508: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928508
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libqt5gui5
Version: 5.7.1+dfsg-3+deb9u1
Severity: normal

Dear Maintainers,

please build plugins/platforms/libqoffscreen.so to be linked to fontconfig.

What I experience:

Running an application with QT_QPA_PLATFORM=offscreen fails to find any fonts.

What I expect:

An application running with QT_QPA_PLATFORM=offscreen find the fonts
installed on the system (like any X11 server does).

Background:

I'm running an application for converting HTML pages into PDF (much
like wxhtmltopdf). To save resources I want to not run a xfvb server
for rendering, but use QT_QPA_PLATFORM=offscreen. Unfortunately the
offscreen platform plugin does not find any fonts.

Other distributions link libqoffscreen.so to fontconfig, e.g. Fedora, see
https://fedora.pkgs.org/29/fedora-updates-x86_64/qt5-qtbase-gui-5.11.3-1.fc29.x86_64.$

Qt supports an env-var QT_QPA_FONTDIR, but this has to be a directory,
not a list of directories. Thus to make system-fonts available when
using QT_QPA_PLATFORM=offscreen. one would need to link all fonts into
one directory. Also thus would not take advantage of any caching
otherwise done by fontconfig and the application would need to read
all file in this directory to find the correct. font Thus using
QT_QPA_FONTDIR is not a serious option.


-- System Information:
Debian Release: 9.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libqt5gui5 depends on:
ii  fontconfig                       2.11.0-6.7+b1
ii  libc6                            2.24-11+deb9u4
ii  libdrm2                          2.4.74-1
ii  libegl1-mesa [libegl1-x11]       13.0.6-1+b2
ii  libfontconfig1                   2.11.0-6.7+b1
ii  libfreetype6                     2.6.3-3.2
ii  libgbm1                          13.0.6-1+b2
ii  libgcc1                          1:6.3.0-18+deb9u1
ii  libgl1-mesa-glx [libgl1]         13.0.6-1+b2
ii  libglib2.0-0                     2.50.3-2
ii  libharfbuzz0b                    1.4.2-1
ii  libice6                          2:1.0.9-2
ii  libinput10                       1.6.3-1
ii  libjpeg62-turbo                  1:1.5.1-2
ii  libmtdev1                        1.1.5-1+b1
ii  libpng16-16                      1.6.28-1
ii  libqt5core5a [qtbase-abi-5-7-1]  5.7.1+dfsg-3+deb9u1
ii  libqt5dbus5                      5.7.1+dfsg-3+deb9u1
ii  libqt5network5                   5.7.1+dfsg-3+deb9u1
ii  libsm6                           2:1.2.2-1+b3
ii  libstdc++6                       6.3.0-18+deb9u1
ii  libudev1                         232-25+deb9u8
ii  libx11-6                         2:1.6.4-3+deb9u1
ii  libx11-xcb1                      2:1.6.4-3+deb9u1
ii  libxcb-glx0                      1.12-1
ii  libxcb-icccm4                    0.4.1-1
ii  libxcb-image0                    0.4.0-1+b2
ii  libxcb-keysyms1                  0.4.0-1+b2
ii  libxcb-randr0                    1.12-1
ii  libxcb-render-util0              0.3.9-1
ii  libxcb-render0                   1.12-1
ii  libxcb-shape0                    1.12-1
ii  libxcb-shm0                      1.12-1
ii  libxcb-sync1                     1.12-1
ii  libxcb-xfixes0                   1.12-1
ii  libxcb-xinerama0                 1.12-1
ii  libxcb-xkb1                      1.12-1
ii  libxcb1                          1.12-1
ii  libxi6                           2:1.7.9-1
ii  libxkbcommon-x11-0               0.7.1-2~deb9u1
ii  libxkbcommon0                    0.7.1-2~deb9u1
ii  zlib1g                           1:1.2.8.dfsg-5

Versions of packages libqt5gui5 recommends:
pn  libqt5svg5             <none>
pn  mesa-utils             <none>
pn  qt5-gtk-platformtheme  <none>

Versions of packages libqt5gui5 suggests:
pn  qt5-image-formats-plugins  <none>
pn  qtwayland5                 <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 5.11.3+dfsg1-1

Hi Hartmut!

El lunes, 6 de mayo de 2019 10:12:12 -03 Hartmut Goebel escribió:
> Package: libqt5gui5
> Version: 5.7.1+dfsg-3+deb9u1
> Severity: normal
> 
> Dear Maintainers,
> 
> please build plugins/platforms/libqoffscreen.so to be linked to fontconfig.

I could not check the stable build log (I can't find it) but I've checked 
testing's one and libfontconfig is there, used in libqoffscreen.so:

g++ -Wl,-z,relro -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--enable-new-
dtags -shared -o libqoffscreen.so .obj/main.o .obj/qoffscreenintegration.o 
.obj/qoffscreenwindow.o .obj/qoffscreencommon.o .obj/
qoffscreenintegration_x11.o  -L/<<BUILDDIR>>/qtbase-opensource-
src-5.12.3+dfsg/lib -lQt5EventDispatcherSupport /usr/lib/x86_64-linux-gnu/
libgthread-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so -
lQt5FontDatabaseSupport /usr/lib/x86_64-linux-gnu/libfontconfig.so /usr/lib/
x86_64-linux-gnu/libfreetype.so /usr/lib/x86_64-linux-gnu/libz.so -
lQt5GlxSupport /usr/lib/x86_64-linux-gnu/libXext.so /usr/lib/x86_64-linux-gnu/
libX11.so /usr/lib/x86_64-linux-gnu/libm.so -lQt5Gui -lQt5Core /usr/lib/
x86_64-linux-gnu/libGL.so -lpthread


I'm afraid there is little to no chance to get this fixed in stable, if it's 
really present there :-( I really suggest you to switch to buster, we are very 
near of it's release.

Regards, Lisandro.



-- 
She got her good looks from her father. He's a plastic surgeon.
 -- Groucho Marx

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: