[
https://issues.apache.org/jira/browse/PDFBOX-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15276962#comment-15276962
]
Tilman Hausherr edited comment on PDFBOX-3345 at 5/9/16 8:30 PM:
-----------------------------------------------------------------
This would result in normal rendering being incorrect. You can see this with
the page 1 of http://www.ghostscript.com/doc/examples/annots.pdf .
Also with PDFBOX-2203-019672.pdf, PDFBOX-2505-032618-p96.pdf, PDFBOX-2898.pdf
However I think your suggestion shows a problem: if we print using a non zero
dpi parameter (which uses a buffer), then the FLAG_PRINTED would not be treated
correctly.
was (Author: tilman):
This would result in normal rendering being incorrect. You can see this with
the page 1 of http://www.ghostscript.com/doc/examples/annots.pdf .
However I think your suggestion shows a problem: if we print using a non zero
dpi parameter (which uses a buffer), then the FLAG_PRINTED would not be treated
correctly.
> Treat GraphicsDevice.TYPE_IMAGE_BUFFER as a printer
> ---------------------------------------------------
>
> Key: PDFBOX-3345
> URL: https://issues.apache.org/jira/browse/PDFBOX-3345
> Project: PDFBox
> Issue Type: Wish
> Reporter: Eldar Gabdullin
> Priority: Minor
> Attachments: patch.diff
>
>
> While rendering PDF pages to images we stumbled across hidden fields (marked
> with NoView flag) been printed, which we didn't want.
> For our purposes we just decided to treat image buffer device as a regular
> printer, as it is shown in attached patch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]