robo created PDFBOX-5227:
----------------------------
Summary: CreateVisibleSignature2 not working anymore
Key: PDFBOX-5227
URL: https://issues.apache.org/jira/browse/PDFBOX-5227
Project: PDFBox
Issue Type: Bug
Components: Signing
Reporter: robo
CreateVisibleSignature2 does not add a visible signature to a given PDF anymore
(e.g. when using the file "minimum.pdf" attached to issue 5068
https://issues.apache.org/jira/browse/PDFBOX-5068 )
The reason can be found in commit 45f11130 (PDFBOX-5170: preserve the
information whether a parsed COSDicionary is direct or not so that COSWriter
can take this into account when saving the pdf Andreas Lehmkühler 05.06.21,
13:46).
When commenting/removing line 206 in BaseParser::parseCOSDictionary
{code:java}
obj.setDirect(isDirect);
{code}
it is working again.
I checked it also with other PDFs.
CC: [~lehmi]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]