[ 
https://issues.apache.org/jira/browse/PDFBOX-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Duffy updated PDFBOX-527:
--------------------------------

    Attachment: clip.patch

The attached patch sets the clipping region prior to drawing text.

> 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.

Reply via email to