You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2021/06/26 15:45:00 UTC

[jira] [Commented] (PDFBOX-5227) CreateVisibleSignature2 not working anymore

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

Tilman Hausherr commented on PDFBOX-5227:
-----------------------------------------

I wonder if this is also related to the problem I noticed in PDFBOX-5226, that the annotation array entries are direct objects.

> 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
>            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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org