-
Hi. Is there any possibility to add widgets, especially text input fields, to rotated PDFs taking into account the correct orientation? Text input fields (widgets) are wrongly orientated if the rotation value of a PDF is not zero using the following snippet:
Example with a rotation of 0 and 90: Setting the page rotation to 0 before adding the widget didn't changed the result. It hadn't any effect (tried with different values). Maybe related to #496. Input files of the example: Output files of the example: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
let us put this to the Discussions tab first ... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I regret to say that this is not supported.
There is an annotation flag however (fields in fact are annotations), that prevents rotation even when the page is rotated: the annot's top-left rectangle point will remain fixed.
So you can try this:
But different PDF viewers behave differently. I haven't any doing what you expect. SumatraPDF (Windows) displays it correctly, but does no…