After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 628597 - Evince PDF seems to ignore /Matrix in /XObject
Evince PDF seems to ignore /Matrix in /XObject
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: PDF
2.30.x
Other Linux
: Normal major
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-02 09:09 UTC by chewi
Modified: 2010-09-02 09:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Here is a testcase working in Acroread, failing in Evince (12.23 KB, application/pdf)
2010-09-02 09:23 UTC, chewi
Details

Description chewi 2010-09-02 09:09:27 UTC
The Story:
I had a pdf-image, that was rotated using pdftk. This image was included in a pdflatex run as embedded image. The resulting pdf is correctly displayed in Adobe Reader, but within Evince, this image is unrotated (off be 90°)...
Unfortunately I cannot give the example, but I'll try to come up with a test-file within a few days...

For now, my analysis of the pdf shows that there is the following sequence within the pdf:
12 0 obj <<
/Type /XObject
/Subtype /Form
/FormType 1
/PTEX.FileName (C:/the/path/to/rotated_picture.pdf)
/PTEX.PageNumber 1
/PTEX.InfoDict 28 0 R
/Matrix [0 -1 1 0 0 596.25]
/BBox [0 0 596.25 843]
/Group 13 0 R
/Resources <<
/ExtGState <<
/s5 29 0 R
.....

My guess would be that Evince does not correctly parse the /Matrix for the XObject, as the Matrix
0 -1
1 0
would correspond to the missing rotation...

Best regards,
Chewi
Comment 1 chewi 2010-09-02 09:23:15 UTC
Created attachment 169333 [details]
Here is a testcase working in Acroread, failing in Evince
Comment 2 Carlos Garcia Campos 2010-09-02 09:35:23 UTC
It looks like a problem in the poppler cairo backend. I've just forwarded this report to the freedesktop bugzilla:

https://bugs.freedesktop.org/show_bug.cgi?id=29968

Thanks for reporting.