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 2019/11/22 18:52:00 UTC

[jira] [Comment Edited] (PDFBOX-4693) PDF documents with rotated form field(90° degrees in my case) that apply form flattening appear squ

    [ https://issues.apache.org/jira/browse/PDFBOX-4693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980310#comment-16980310 ] 

Tilman Hausherr edited comment on PDFBOX-4693 at 11/22/19 6:51 PM:
-------------------------------------------------------------------

Turns out that it is enough to just check the matrix angle instead of the page rotation.

But while testing I discovered a different problem, which is why I'm reopening PDFBOX-4666 :-( This means that rendering the flattened files might not work properly, until I've reverted the changes there. But the PDF files should be OK.

Please test your code with a snapshot build and confirm it works, now on 
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.18-SNAPSHOT/
(at the bottom, number 115 or higher)

I used only file 3 to test, and I also included a test with it in our build tests.


was (Author: tilman):
Turns out that it is enough to just check the matrix angle instead of the page rotation.

But while testing I discovered a different problem, which is why I'm reopening PDFBOX-4666 :-( This means that rendering the flattened files might not work properly, until I've reverted the changes there. But the PDF files should be OK.

Please test your code with a snapshot build and confirm it works, soon to be on 
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.18-SNAPSHOT/
(number 112 or higher)

I used only file 3 to test, and I also included a test with it in our build tests.

> PDF documents with rotated form field(90° degrees in my case) that apply form flattening appear squ
> ---------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4693
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4693
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.17
>            Reporter: landon burch
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: regression
>             Fix For: 2.0.18, 3.0.0 PDFBox
>
>         Attachments: stenotypeTest-1_rotation.pdf, stenotypeTest-3_rotate_no_flatten.pdf, stenotypeTest-4_rotation_triplewide.pdf, stenotypeTest.no_rotation.pdf
>
>
> Overview:  Created a PDF form through Adobe PDF Creation tool. Rotate field(90°) to fit design of PDF. Have PDFBox load the PDF form get Acroform set the form fields and have acroform apply flattening.. 
> Expectation: When flattening is applied. Rotated(90°) fields value would print out rotated and normal size.
> Issue: When flattening is applied. Rotated(90°) fields values seemed squished or flattened.
> Also one thing that might not have been clear .. This issue didn't seem to exist in version 2.0.16 (or prior that I know of)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org