You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2009/07/05 19:06:14 UTC

[jira] Resolved: (PDFBOX-483) rendering issues during clipping (W/W*-operator)

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

Andreas Lehmkühler resolved PDFBOX-483.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8.0-incubator

With version 791272 I've fixed the issue with the clipping operators.

The documents from PDFBOX-358 and PDFBOX-478 are rendering like before. I guess there are a lot of other documents which will render better than before, e.g. the Testformular.pdf from PDFBOX-142. And of course daniels docs are still rendering fine.

The were several problems to solve

- The clippingpath is part of the graphicstate. Consequently we have to save/restore the path whenever pdfbox processes the q/Q-operators.
- A new clippingpath has to be intersected with the old one if present
- we have to set the clipping path before every drawing-operation to the graphics2d

> rendering issues during clipping (W/W*-operator)
> ------------------------------------------------
>
>                 Key: PDFBOX-483
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-483
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDFReader
>    Affects Versions: 0.8.0-incubator
>            Reporter: Andreas Lehmkühler
>             Fix For: 0.8.0-incubator
>
>
> As I already stated in this thread [1], there are some rendering issues after adding support for the W/W*-operators (clipping).
> E.g. the rendering of Flyer2.pdf from PDFBOX-358 and the doc attached to PDFBOX-478 is getting worse if clipping is activated.
> [1] http://markmail.org/message/vt5ghmqxbt2hj2ku

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.