[ 
https://issues.apache.org/jira/browse/PDFBOX-5227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376274#comment-17376274
 ] 

ASF subversion and git services commented on PDFBOX-5227:
---------------------------------------------------------

Commit 1891335 from [email protected] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1891335 ]

PDFBOX-5227: reset isDirect flag when parsing indirect objects

> CreateVisibleSignature2 not working anymore
> -------------------------------------------
>
>                 Key: PDFBOX-5227
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5227
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Signing
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: robo
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>
> 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]

Reply via email to