You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2015/02/05 05:52:34 UTC

[jira] [Created] (PDFBOX-2668) intersectClippingPath does a shallow copy

John Hewson created PDFBOX-2668:
-----------------------------------

             Summary: 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


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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org