Bug#1036585: pdffonts: does not recognise fonts as subset

Thorsten Glaser tg at mirbsd.de
Tue May 23 03:01:50 BST 2023


Package: poppler-utils
Version: 20.09.0-3.1+deb11u1
Severity: normal
X-Debbugs-Cc: tg at mirbsd.de
Control: found -1 22.12.0-2+b1

The attached PDF contains subset fonts not recognised as subset:

$ pdffonts x.pdf
name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
Gentium                              CID TrueType      Identity-H       yes no  yes      7  0
Gentium-Italic                       CID TrueType      Identity-H       yes no  yes      8  0
MScore                               CID TrueType      Identity-H       yes no  yes      9  0
FreeSerif                            CID TrueType      Identity-H       yes no  yes     10  0
FreeSerifBold                        CID TrueType      Identity-H       yes no  yes     11  0
Inconsolatazi4varl_qu-Regular        CID TrueType      Identity-H       yes no  yes     12  0
NotoSansSymbols-Regular              CID TrueType      Identity-H       yes no  yes     13  0

(same output for stable and unstable)

Qt5, which generated this PDF, has subset them, but in a devious way:
the top-level fonts are type0 collections, and their descendant fonts
only are subset.

ps2pdf fixes this up, of course, its output then is properly recognised
as subset, but not the original Qt5 output


-- 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-23-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 poppler-utils depends on:
ii  libc6          2.31-13+deb11u6
ii  libcairo2      1.16.0-5
ii  libfreetype6   2.10.4+dfsg-1+deb11u1
ii  liblcms2-2     2.12~rc1-2
ii  libpoppler102  20.09.0-3.1+deb11u1
ii  libstdc++6     10.2.1-6

poppler-utils recommends no packages.

poppler-utils suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.pdf
Type: application/pdf
Size: 69893 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20230523/1e3794e7/attachment-0001.pdf>


More information about the Pkg-freedesktop-maintainers mailing list