#1036585 pdffonts: does not recognise fonts as subset

Package:
poppler-utils
Source:
poppler-utils
Description:
PDF utilities (based on Poppler)
Submitter:
Thorsten Glaser
Date:
2023-05-23 02:03:06 UTC
Severity:
normal
#1036585#5
Date:
2023-05-23 02:01:50 UTC
From:
To:
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