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

Tilman Hausherr edited comment on PDFBOX-2668 at 2/5/15 8:39 AM:
-----------------------------------------------------------------

Yes, it doesn't work much. hsv-shading.pdf, 
eci_altona-test-suite-v2_technical_H.pdf, color_gradient.pdf, asy-ring.pdf, 
gs-bugzilla694385.pdf, PDFBOX-1094-094730.pdf, and probably every file.

It would make more sense to add "area = cloned;" after your change, but there 
are still regressions. See the rendering of annots.pdf, page 4 and 5; 
asy-ring.pdf, Basiswissen-Vorschriften.pdf, bugzilla867751.pdf ("the braun 
shaver file")


was (Author: tilman):
Yes, it doesn't work much. hsv-shading.pdf, 
eci_altona-test-suite-v2_technical_H.pdf, color_gradient.pdf, asy-ring.pdf, 
gs-bugzilla694385.pdf, PDFBOX-1094-094730.pdf, and probably every file.

> intersectClippingPath does a shallow copy
> -----------------------------------------
>
>                 Key: PDFBOX-2668
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2668
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>            Assignee: John Hewson
>             Fix For: 2.0.0
>
>
> While working on PDFBOX-2660 I discovered that 
> PDGraphicsState#intersectClippingPath performs a shallow copy of the Area, 
> which means that it will retain any mutation which occurs in following states.
> I don't have a PDF file which is known to trigger this problem, but I've 
> confirmed that it exists with a debugger.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to