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

John Hewson commented on PDFBOX-2668:
-------------------------------------

Thanks Tilman, it was {{clippingPath = cloned;}} that was needed, I had this 
line there previously, somehow I managed to delete it in between writing it and 
committing it (Cmd+D is both diff and delete line in my IDE, depending on 
context, and I always look at my diff before committing).

I'll try again...

> 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