[
https://issues.apache.org/jira/browse/PDFBOX-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Juraj Lonc updated PDFBOX-2081:
-------------------------------
Attachment: rendered.png
Obyčajné zásielky.pdf
> 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)