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

Tilman Hausherr commented on PDFBOX-6049:
-----------------------------------------

The source PDF file for the test was created from code generated by ChatGPT 
with minor changes by me:
{quote}Write a java program using the apache pdfbox library that creates a PDF 
file with 8 pages that are rotated 0, 90, 180, 270, 0, 90, 180, 270 degrees. 
The text on each page should be the word "rotation" and the number. The 
rotation should be done with the setRotation() call. The font should be built 
in type1 helvetica size 20.{quote}

> Consider rotation of page when applying overlay
> -----------------------------------------------
>
>                 Key: PDFBOX-6049
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6049
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0.34, 3.0.5 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.35, 3.0.6 PDFBox, 4.0.0
>
>         Attachments: gs-bugzilla690022-reduced-rotations.pdf, overlay.pdf
>
>
> Ideally one would have to apply a transform in calculateAffineTransform(), 
> but due to failure to implement this, the alternative would be to somehow 
> keep overlay objects for each rotation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to