Package: libreoffice-writer Version: 1:7.0.4-4+deb11u6 Severity: normal Tags: upstream X-Debbugs-Cc: t...@mirbsd.de
Using the attached font (yes, libre licences) in a document then either exporting that to PDF or printing it to a file results in output that cannot directly be printed. To add insult to injury, as the font is both subset and embedded (knobs to disable either, separately, would be VERY welcome), I cannot even use Ghostscript to add the OS’ copy of the font with e.g. ps2pdf. The problem here seems to be that the font is subset as a stream that neither my girlfriend’s printer nor GhostScript understand: the printer just drops it, and: $ gs -dNOPAUSE -dBATCH '-sDEVICE=pdfwrite' '-sOutputFile=/tmp/x.pdf' -dSAFER '-dSubsetFonts=true' '-dEmbedAllFonts=true' '-dCompatibilityLevel=1.4' -f bla.pdf […] **** Error: can't process embedded font stream, attempting to load the font using its name. Output may be incorrect. […] The embedded font name is: BAAAAA+Inconsolatazi4[varl,varqu]Regular I think something goes wrong with at least the name. The font name is actually: Inconsolatazi4varl_qu Its “human display name” is: Inconsolata zi4[varl,varqu] Regular However, LibreOffice uses *that* instead of the proper psname as base for the embedded font name, and at *least* that seems to choke consumers of the resulting PDF. And, yeah, output is incorrect — the ps2pdf output drops the glyphs from the font. $ pdffonts bla.pdf name type encoding emb sub uni object ID ------------------------------------ ----------------- ---------------- --- --- --- --------- BAAAAA+Inconsolatazi4[varl,varqu]Regular Type 1 Builtin yes yes yes 9 0 Other applications, such as Mu͒seScore, can use that font just fine, although it does not subset it. Oh, and I noticed #965236 is also still open, meaning PDF files generated by LibreOffice aren’t legal to distribute… -- Package-specific info: -- System Information: Debian Release: 11.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-22-amd64 (SMP w/2 CPU threads) Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/lksh Init: sysvinit (via /sbin/init) Versions of packages libreoffice-writer depends on: ii libabw-0.1-1 0.1.3-1 ii libc6 2.31-13+deb11u6 ii libe-book-0.1-1 0.1.3-2 ii libepubgen-0.1-1 0.1.1-1 ii libetonyek-0.1-1 0.1.9-4 ii libgcc-s1 10.2.1-6 ii libicu67 67.1-7 ii libmwaw-0.3-3 0.3.17-1 ii libodfgen-0.1-1 0.1.8-2 ii libreoffice-base-core 1:7.0.4-4+deb11u6 ii libreoffice-common 1:7.0.4-4+deb11u6 ii libreoffice-core 1:7.0.4-4+deb11u6 ii librevenge-0.0-0 0.0.4-6+b1 ii libstaroffice-0.0-0 0.0.7-1 ii libstdc++6 10.2.1-6 ii libuno-cppu3 1:7.0.4-4+deb11u6 ii libuno-cppuhelpergcc3-3 1:7.0.4-4+deb11u6 ii libuno-sal3 1:7.0.4-4+deb11u6 ii libuno-salhelpergcc3-3 1:7.0.4-4+deb11u6 ii libwpd-0.10-10 0.10.3-1 ii libwpg-0.3-3 0.3.3-1 ii libwps-0.4-4 0.4.12-1 ii libxml2 2.9.10+dfsg-6.7+deb11u4 ii ucf 3.0043 ii uno-libs-private 1:7.0.4-4+deb11u6 ii zlib1g 1:1.2.11.dfsg-2+deb11u2 Versions of packages libreoffice-writer recommends: pn libreoffice-math <none> Versions of packages libreoffice-writer suggests: pn default-jre | java8-runtime | jre <none> pn fonts-crosextra-caladea <none> pn fonts-crosextra-carlito <none> pn libreoffice-base <none> pn libreoffice-java-common <none> Versions of packages libreoffice-core depends on: ii fontconfig 2.13.1-4.2 ii fonts-opensymbol 2:102.11+LibO7.0.4-4+deb11u6 ii libboost-locale1.74.0 1.74.0-9 ii libc6 2.31-13+deb11u6 ii libcairo2 1.16.0-5 ii libclucene-contribs1v5 2.3.3.4+dfsg-1+b1 ii libclucene-core1v5 2.3.3.4+dfsg-1+b1 ii libcmis-0.5-5v5 0.5.2-3 ii libcups2 2.3.3op2-3+deb11u2 ii libcurl3-gnutls 7.74.0-1.3+deb11u7 ii libdbus-1-3 1.12.24-0+deb11u1 ii libdconf1 0.38.0-2 ii libeot0 0.01-5+b1 ii libepoxy0 1.5.5-1 ii libexpat1 2.2.10-2+deb11u5 ii libexttextcat-2.0-0 3.4.5-1 ii libfontconfig1 2.13.1-4.2 ii libfreetype6 2.10.4+dfsg-1+deb11u1 ii libgcc-s1 10.2.1-6 ii libglib2.0-0 2.66.8-1 ii libgpgmepp6 1.14.0-1+b2 ii libgraphite2-3 1.3.14-1 ii libgstreamer-plugins-base1.0-0 1.18.4-2 ii libgstreamer1.0-0 1.18.4-2.1 ii libharfbuzz-icu0 2.7.4-1 ii libharfbuzz0b 2.7.4-1 ii libhunspell-1.7-0 1.7.0-3 ii libhyphen0 2.8.8-7 ii libice6 2:1.0.10-1 ii libicu67 67.1-7 ii libjpeg62-turbo 1:2.0.6-4 ii liblcms2-2 2.12~rc1-2 ii libldap-2.4-2 2.4.57+dfsg-3+deb11u1 ii libmythes-1.2-0 2:1.2.4-3+b1 ii libneon27-gnutls 0.31.2-1 ii libnspr4 2:4.29-1 ii libnss3 2:3.61-1+deb11u3 ii libnumbertext-1.0-0 1.0.7-1 ii liborcus-0.16-0 0.16.1-3+b2 ii liborcus-parser-0.16-0 0.16.1-3+b2 ii libpng16-16 1.6.37-3 ii libpoppler102 20.09.0-3.1+deb11u1 ii libqrcodegencpp1 1.6.0-1 ii libraptor2-0 2.0.14-1.2 ii librdf0 1.0.17-1.1+b1 ii libreoffice-common 1:7.0.4-4+deb11u6 ii librevenge-0.0-0 0.0.4-6+b1 ii libsm6 2:1.2.3-1 ii libstdc++6 10.2.1-6 ii libuno-cppu3 1:7.0.4-4+deb11u6 ii libuno-cppuhelpergcc3-3 1:7.0.4-4+deb11u6 ii libuno-sal3 1:7.0.4-4+deb11u6 ii libuno-salhelpergcc3-3 1:7.0.4-4+deb11u6 ii libx11-6 2:1.7.2-1 ii libx11-xcb1 2:1.7.2-1 ii libxext6 2:1.3.3-1.1 ii libxinerama1 2:1.1.4-2 ii libxml2 2.9.10+dfsg-6.7+deb11u4 ii libxmlsec1 1.2.31-1 ii libxmlsec1-nss 1.2.31-1 ii libxrandr2 2:1.5.1-1 ii libxrender1 1:0.9.10-1 ii libxslt1.1 1.1.34-4+deb11u1 ii uno-libs-private 1:7.0.4-4+deb11u6 ii ure 1:7.0.4-4+deb11u6 ii zlib1g 1:1.2.11.dfsg-2+deb11u2 Versions of packages libreoffice-core recommends: ii gstreamer1.0-libav 1.18.4-3 pn gstreamer1.0-plugins-bad <none> ii gstreamer1.0-plugins-base 1.18.4-2 ii gstreamer1.0-plugins-good 1.18.4-2+deb11u1 pn gstreamer1.0-plugins-ugly <none> pn libpaper-utils <none> -- no debconf information
Inconsolatazi4varl_qu-Regular.otf
Description: application/vnd.ms-opentype