Bug 21634 - Multiline edit form field rotated in landscape PDF document
Summary: Multiline edit form field rotated in landscape PDF document
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 08:27 UTC by Stuart Naifeh
Modified: 2018-08-21 11:02 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
PDF showing the problem described. (11.63 KB, application/pdf)
2009-05-08 08:27 UTC, Stuart Naifeh
Details
A real world form exhibiting the issue (314.63 KB, application/pdf)
2012-03-09 06:11 UTC, Julian Sikorski
Details
official French form with same issue (159.52 KB, application/pdf)
2017-03-23 09:21 UTC, Frederic Crozat
Details

Description Stuart Naifeh 2009-05-08 08:27:00 UTC
Created attachment 25642 [details]
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.
Comment 1 Julian Sikorski 2012-03-09 06:11:16 UTC
Created attachment 58239 [details]
A real world form exhibiting the issue

I am not sure if this is exactly the same issue, but one of the swiss employment office forms is impossible to fill because of this issue. Form is in a landscape orientation, and has a singnificant number of fields in it.
It works nicely with Adobe Reader for Linux 9.4.7.
Comment 2 Julian Sikorski 2012-03-09 06:13:20 UTC
This is with poppler-0.18.0-2.fc16.x86_64 and evince-3.2.1-2.fc16.x86_64 on an up-to-date Fedora 16 installation. One of the last reasons I am keeping Adobe Reader around.
Comment 3 Frederic Crozat 2017-03-23 09:21:30 UTC
Created attachment 130394 [details]
official French form with same issue

Attached form has the same issue for the page which is in landscape mode. The page in portrait mode is fine.
Comment 4 Frederic Crozat 2017-03-23 10:25:21 UTC
(In reply to Frederic Crozat from comment #3)
> Created attachment 130394 [details]
> official French form with same issue
> 
> Attached form has the same issue for the page which is in landscape mode.
> The page in portrait mode is fine.

The issue is only visible in Evince, not in poppler. Not sure if the bug is in the poppler backend or the application
Comment 5 GitLab Migration User 2018-08-21 11:02:28 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/475.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.