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

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 2014-03-21T13:50:41+00:00 Marek Kašík wrote:

Created attachment 96165
Rotate documents correctly

I've tried to rotate a PostScript file from
https://bugzilla.redhat.com/show_bug.cgi?id=1031838 in evince and the
rotation was not quite correct. It doesn't show anything for 90° and
270°, just warnings about matrices. So I've tested this also with some
other PostScript files and I've seen that the rotation doesn't work for
any of them.

I've prepared a patch which performs the rotation by inserting command
"rotate" to the PostScript program right after %%EndSetup and adjusting
of offsets accordingly. I've tested the patch for rendering of slices
and it works. But I'm not entirely sure whether it will work in every
situation.

Marek

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libspectre/+bug/1242678/comments/21

------------------------------------------------------------------------
On 2014-04-02T14:27:43+00:00 Sebastien Bacher wrote:

The issue reported there seems to be also what makes evince fails to
render some eps files on e.g recent Ubuntu versions

That has been reported on
https://bugzilla.gnome.org/show_bug.cgi?id=710957
https://bugs.launchpad.net/libspectre/+bug/1242678
http://bugs.ghostscript.com/show_bug.cgi?id=694979

The ghostscript bugs has details

"...
Basically, this isn't a bug. If you want to rotate an EPS you absolutely should 
NOT be doing so by using /Orientation, which is a media selection parameter. 
You should instead use '90 rotate' or similar to set up the CTM before you 
render the EPS."

@Marek: I tried your patch on some of the files from the Ubuntu bug, e.g
https://bugs.launchpad.net/libspectre/+bug/1242678/+attachment/3886169/+files/test.eps
... it fixes the "nothing is displayed" but the orientation seems wrong
(rotated from 90° compared to gs and 180° compared to what portrait
should be (e.g axis/labels are wrong)). Not sure if that's a bug in the
documents or in the change though

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libspectre/+bug/1242678/comments/24


** Changed in: libspectre
       Status: Unknown => Confirmed

** Changed in: libspectre
   Importance: Unknown => Medium

** Bug watch added: Red Hat Bugzilla #1031838
   https://bugzilla.redhat.com/show_bug.cgi?id=1031838

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to libspectre in Ubuntu.
https://bugs.launchpad.net/bugs/1242678

Title:
  evince cannot render some EPS files

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

-- 
kubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to