[
https://issues.apache.org/jira/browse/PDFBOX-4589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-4589.
-------------------------------------
Resolution: Fixed
Assignee: Tilman Hausherr
Fix Version/s: 3.0.0 PDFBox
2.0.17
Should work now. Snapshot available here:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.17-SNAPSHOT/
> PDPageContent stream warns about overwriting in overwrite mode
> --------------------------------------------------------------
>
> Key: PDFBOX-4589
> URL: https://issues.apache.org/jira/browse/PDFBOX-4589
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Affects Versions: 2.0.11, 2.0.16
> Reporter: Jose Novacho
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.17, 3.0.0 PDFBox
>
>
> When updating page content stream the class PDContentStream warns about
> overwriting the content. Even thought the PDContentStream is explicitly set
> to overwrite mode.
> {{[o.a.p.p.PDPageContentStream] - You are overwriting an existing content,
> you should use the append mode}}
> This creates slight confusion when looking into logs.
>
> The problematic code is in constructor of
> org/apache/pdfbox/pdmodel/PDPageContentStream.java
>
> There should be additional check before logging the warning.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]