[
https://issues.apache.org/jira/browse/PDFBOX-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-527.
---------------------------------------
Resolution: Fixed
We have to set the clipping path before every drawing operation, as I already
mentioned in PDFBOX-483. Obviously I missed at least one situation.
Thanks to Andrew for his patch, it works fine. I've added it with version
814294.
> PageDrawer should set clipping region before drawing text
> ---------------------------------------------------------
>
> Key: PDFBOX-527
> URL: https://issues.apache.org/jira/browse/PDFBOX-527
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 0.8.0-incubator
> Reporter: Andrew Duffy
> Priority: Minor
> Attachments: clip.patch
>
>
> When PageDrawer.java strokes or fills a path, or when it draws an image via
> Invoke or BeginInlineImage, it sets the clipping region of its graphics
> object prior to drawing. However, when it draws text it doesn't, so a prior
> image or stroke operation can result in text being clipped. The PDF attached
> to https://issues.apache.org/jira/browse/PDFBOX-522 displays this when the
> patch in 522 is applied.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.