pdftoppm does not show form content
I am trying to make some progress on https://bugs.kde.org/show_bug.cgi?id=492358.
That bug is about the file arbeitszeitennachweis.pdf, which contains an empty form field "Geburtsdatum des Kindes" (engl. "date of birth of the child").
In the file
arbeitszeitennachweis-with-date.pdf,
this form field has been filled with a date, using Okular. Looking at the file in thunderbird does show the date. However, pdftoppm
will not render the date. Instead, it prints out an error message:
Syntax Error: Unknown font tag 'Helvetica'
Syntax Error (315579): No font in show
Indeed, when comparing the outputs of pdffonts
of the two file, filling out the date field has added the three entries
Helvetica Type 1 Custom no no no 185 0
ZapfDingbats Type 1 ZapfDingbats no no no 186 0
Helvetica Type 1 WinAnsi no no no [none]
I am now trying to figure whether the second document is well-formed or not. The error message comes from (the GfxResources::doLookupFont
method in file Gfx.cc:299
), where Helvetica
enters via the const char* name
argument. Looking at other files, it seems that this variable is not meant to contain font names. Is that true? Does that mean that the file is ill-formed? What is the expected content of name
?
I am a bit stuck here. Does anybody have a suggestion of where to continue looking? Thanks!