Multiline edit form field rotated in landscape PDF document
Submitted by Stuart Naifeh
Assigned to poppler-bugs
Created attachment 25642 PDF showing the problem described.
poppler version is 0.10.5
When entering text into a multiline edit form field in a PDF document in landscape orientation, the form field text is rendered rotated at 90 degrees. This only occurs if there is actually text on more than one line (i.e., one line of text in a multiline form field is rendered properly)
Note that text is oriented correctly when editing the form field, but as soon as you hit hide forms, it rotates.
Note also that a PDF with a multiline form field that already contains multiple lines of text when it is opened in Okular renders properly, but as soon as that form field is edited in Okular, and then you hit hide forms, it rotates.
To create the attached PDF, I opened a plain document in MS Word under Windows XP, changed the orientation under Page Setup, printed to PDF, and then opened the PDF file in Acrobat and added a single multiline form field. I then opened it in Okular under Kubuntu, and added text to the field. I then tried adding the text in Acrobat before opening in Okular (see second note above).
To reproduce, open attached pdf in Okular. The text in the form field will be rendered correctly. Then hit "Show Forms" and put the cursor in the form field. You don't need to actually make any changes. Then hit "Hide Forms." The text now appears oriented at the right side of the form field, rotated 90 degrees to the right.
I filed this in Okular, but was told that it is reproducible in Evince, and is probably therefore a poppler bug.
Attachment 25642, "PDF showing the problem described.":