[Poppler-bugs] [Bug 107303] "8" shown instead of "x" inside checkbox when converting LibreOffice-generated form to PostScript

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 20 08:18:29 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107303

--- Comment #3 from Michael Weghorn <m.weghorn at posteo.de> ---
Created attachment 140727
  --> https://bugs.freedesktop.org/attachment.cgi?id=140727&action=edit
Patch to allow font tags other than "ZaDb" for ZapfDingbats

As the 'pdftops' output indicates, there's a problem with the ZapfDingbats
font. Poppler expects "ZaDb" to be used as the font tag, and replaces anything
else with this. The LibreOffice generated form however uses "ZaDi" instead.

As far as I understand it so far, either LibreOffice uses an invalid name or
Poppler makes invalid assumptions.

While the PDF specification does use "ZaDb" in its own example (in section
12.7.4.2.3), I did not find any place where it speaks of what tag has to be
used, so it appears to be the latter case (but maybe I have missed something in
the PDF spec or anywhere else).

The attached patch makes Poppler accept other tags for the ZapfDingbats font as
well.

I'd be happy about feedback on the patch or other clarifications. (I'm far from
being a Poppler expert...)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180720/98f67c36/attachment-0001.html>


More information about the Poppler-bugs mailing list