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

Tilman Hausherr updated PDFBOX-2283:
------------------------------------

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

Update: this issue is also about signatures and acroform fields, because these 
have also appearance streams that are rendered with the same code.

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


> 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.
> Update: this issue is also about signatures and acroform fields, because 
> these have also appearance streams that are rendered with the same code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to