Juraj Lonc created PDFBOX-2081:
----------------------------------

             Summary: Lines that exceeds clipping area are not drawn
                 Key: PDFBOX-2081
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2081
             Project: PDFBox
          Issue Type: Bug
          Components: Rendering
    Affects Versions: 2.0.0
            Reporter: Juraj Lonc
         Attachments: Obyčajné zásielky.pdf, rendered.png

PDF contains shapes that are partly on the paper and partly outside (shape 
overflows paper borders).
Those shapes are not rendered to image.

It is caused by clipping area.
When I replace line in PDFDrawer.strokePath()
{noformat}
graphics.setClip(getGraphicsState().getCurrentClippingPath());
{noformat}
to
{noformat}
graphics.setClip(null);
{noformat}
then everything is rendered correctly.

Possibly bug in Java?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to