[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
Mon Jul 30 07:24:01 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107303
--- Comment #6 from Michael Weghorn <m.weghorn at posteo.de> ---
Hi Tobias,
thanks for your reply with all the additional information and sorry for the
delay in responding.
(In reply to Tobias Deiminger from comment #5)
> From popplers perspective, we sometimes set forceZapfDingbats = true. Like
> with the example document, where AnnotAppearanceBuilder::drawText is reached
> via drawFormField => drawFormFieldButton [case formButtonCheck] => drawText.
> Whenever forceZapfDingbats == true, the appearance Tf operand must match our
> fake font resource that we hardcoded named "ZaDB". If the original DA Tf
> operand was different, we need to replace it with "ZaDB".
>
> Your patch ensures this, if I got it right, and therefore it's a good patch:)
It doesn't really. E.g. for the example document, the font resource is no
longer replaced with the fake one. It was before (i.e. without the patch), but
the font resource was not found. Now, the original font resource with the
"ZaDi" tag is used -- but if I understand you correctly, this might not be
desirable if Poppler relies on the "ZaDb" being used at other places for the
'forceZapfDingbats' case...
Should I rather have a look why the "ZaDb" one is not found (like indicated by
the pdftops output: "Syntax Error: Unknown font tag 'ZaDb'")?
I'll try to have a closer look at all the points you mentioned sometime soon,
but only have limited time available at the moment, so can't really say when
that will be.
--
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/20180730/67984b89/attachment.html>
More information about the Poppler-bugs
mailing list