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

Michael Klink edited comment on PDFBOX-5322 at 11/16/21, 11:20 AM:
-------------------------------------------------------------------

When opening the attached PDF in Adobe Reader, I get an error dialog "There was 
an error processing a page. An internal error occurred."

*PS*: Testing again one day later Adobe Reader suddenly accepts the document 
without that error message. I'm not aware of any changes on my side causing 
this change of behavior. Nonetheless the error described below still are there. 
----
Ok, the content stream of the XObject *Form1* is really broken. Multiple times 
a path is defined, then lots of properties are changed, and only thereafter the 
path is stroked. In PDF this is forbidden, between path definition and path 
drawing there at most may be a clip path instruction.

(To a certain degree Adobe Reader and other viewers do not enforce this, but 
the PDF at hands really is extreme; e.g. it even sets extended graphics states 
in-between...)


was (Author: mkl):
When opening the attached PDF in Adobe Reader, I get an error dialog "There was 
an error processing a page. An internal error occurred."
----
Ok, the content stream of the XObject *Form1* is really broken. Multiple times 
a path is defined, then lots of properties are changed, and only thereafter the 
path is stroked. In PDF this is forbidden, between path definition and path 
drawing there at most may be a clip path instruction.

(To a certain degree Adobe Reader and other viewers do not enforce this, but 
the PDF at hands really is extreme; e.g. it even sets extended graphics states 
in-between...)

> PDFDebugger: Strange zoom depending fill/clipping artefact
> ----------------------------------------------------------
>
>                 Key: PDFBOX-5322
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5322
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering, Swing GUI
>    Affects Versions: 2.0.24
>            Reporter: Emmeran Seehuber
>            Priority: Minor
>         Attachments: image-2021-11-15-19-00-01-859.png, 
> image-2021-11-15-19-00-24-192.png, kartenvorschau2871641668946630670.pdf
>
>
> The attached (test) PDF is not rendered correctly in the PDFBox Debugger, at 
> least on MacOS with both Azul-17 and Azul-11 JDKs. 
> The way it is misrendered is depending on the zoom level. It seems fine at 
> 150%, but buggy on all other zoom levels.  
> 100%:
> !image-2021-11-15-19-00-01-859.png|width=335,height=184!
> 200%:
> !image-2021-11-15-19-00-24-192.png|width=365,height=195!
>  
> It renders fine on Adobe Acrobat and MacOS Preview. (The text is exported as 
> vector shapes)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to