You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/08/22 18:26:12 UTC
[jira] [Commented] (PDFBOX-2283) Incorrect transform for
annotations / appearance streams
[ https://issues.apache.org/jira/browse/PDFBOX-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14107044#comment-14107044 ]
Tilman Hausherr commented on PDFBOX-2283:
-----------------------------------------
Based on the file in PDFBOX-2282 I have modified my fix (not attached but can do if wished) so that clipping is now done based on the appearance rectangle.
More test pdfs with annotations, signatures or acroform welcome. I have only about 10 currently.
> Incorrect transform for annotations / appearance streams
> --------------------------------------------------------
>
> Key: PDFBOX-2283
> URL: https://issues.apache.org/jira/browse/PDFBOX-2283
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 1.8.6, 1.8.7, 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Labels: AcroForm, Annotations, Signature
> Fix For: 2.0.0
>
> Attachments: annots.pdf, annots.pdf-3-bad.png, annots.pdf-3-good.png, annots.pdf-4-bad.png, annots.pdf-4-good.png, annots.pdf-5-bad.png, annots.pdf-5-good.png
>
>
> The attached file (from the ghostscript installation) doesn't render properly, especially page 3, where the images are about double the size. The cause is that the transform for the appearance stream must be calculated based on the BBox and the appearance rectangle and the matrix (if available). This is described in "Algorithm: Appearance streams" in the "Appearance Streams" section of the spec.
> I have already prepared a fix, which I will commit after PDFBOX-2262.
--
This message was sent by Atlassian JIRA
(v6.2#6252)