← Back to team overview

desktop-packages team mailing list archive

[Bug 711300] Re: rotated included PDF

 

Launchpad has imported 5 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=29968.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-09-02T09:34:26+00:00 Carlos Garcia Campos wrote:

Bug forwarded from Evince:
https://bugzilla.gnome.org/show_bug.cgi?id=628597

"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"

Test case is attached to the original bug report. I confirm it works
with splash.

Reply at: https://bugs.launchpad.net/poppler/+bug/711300/comments/0

------------------------------------------------------------------------
On 2011-02-01T19:57:01+00:00 Marcel Stimberg wrote:

This issue is still reproducable with poppler 0.16.0, see this Ubuntu
bug report for another example:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/711300

Reply at: https://bugs.launchpad.net/poppler/+bug/711300/comments/7

------------------------------------------------------------------------
On 2011-02-02T01:51:47+00:00 José Aliste wrote:

Indeed, we are ignoring the TransformationMatrix from the state in
CairoOutputDev::BeginTransparencyGroup. Caching the state->getCTM() into
a cairo_matrix_t and then calling cairo_set_matrix with this matrix at
the begining of CairoOutputDev::PaintTransparencyGroup works when scale
= 1 but (not surprisingly) does not scale properly when rendering at
bigger scales.

Reply at: https://bugs.launchpad.net/poppler/+bug/711300/comments/9

------------------------------------------------------------------------
On 2012-01-16T11:14:31+00:00 Adrian Johnson wrote:

Created attachment 55629
fix ctm when painting groups

Patch to fix. Similar to the set soft mask bugs we need to store the
current ctm during beginTransparencyGroup when the group is created and
use this ctm when painting the group.

Reply at: https://bugs.launchpad.net/poppler/+bug/711300/comments/10

------------------------------------------------------------------------
On 2012-01-16T11:15:09+00:00 Adrian Johnson wrote:

*** Bug 40596 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/poppler/+bug/711300/comments/11


** Bug watch added: GNOME Bug Tracker #628597
   https://bugzilla.gnome.org/show_bug.cgi?id=628597

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/711300

Title:
  rotated included PDF

Status in Poppler:
  Confirmed
Status in “poppler” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: evince

  When using a PDF file which has an included PDF figure that is
  rotated, evince displays the included PDF without rotation. Other
  viewers (e.g. Adobe Reader and some other reader on Windows of which
  the name slips my mind) show the included PDF as intended.

  If you need an example file, I can provide one that displays wrong on
  Evince and right on other viewers.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: evince 2.32.0-0ubuntu1.1
  ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
  Uname: Linux 2.6.35-24-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Tue Feb  1 15:13:35 2011
  ExecutablePath: /usr/bin/evince
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  KernLog:
   Jan 30 07:35:29 Egon-PCx kernel: [320248.513583] type=1400 audit(1296369329.597:240877): apparmor="ALLOWED" operation="mknod" parent=1 profile="/usr/sbin/nmbd" name="/var/run/samba/namelist.debug" pid=1955 comm="nmbd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
   Jan 30 07:35:29 Egon-PCx kernel: [320248.513591] type=1400 audit(1296369329.597:240878): apparmor="ALLOWED" operation="open" parent=1 profile="/usr/sbin/nmbd" name="/var/run/samba/namelist.debug" pid=1955 comm="nmbd" requested_mask="wc" denied_mask="wc" fsuid=0 ouid=0
  SourcePackage: evince

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/711300/+subscriptions