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 Desktop Packages, which is subscribed to ghostscript in Ubuntu. https://bugs.launchpad.net/bugs/1242678 Title: evince cannot render some EPS files Status in Evince document viewer: New Status in GS-GPL - GPL Ghostscript: Unknown Status in libspectre: Confirmed Status in “ghostscript” package in Ubuntu: Invalid Status in “gnuplot” package in Ubuntu: New Status in “libspectre” package in Ubuntu: Triaged Bug description: I upgraded to Ubuntu Saucy, evince cannot render EPS files generated by gnuplot. (Just show an empty page.) [how to reproduce] 1. Generate an EPS file using gnuplot by executing the following command. $ gnuplot -e "set terminal postscript; set output 'test.eps'; plot x;" 2. Open the file "test.eps" just created. $ evince "test.eps" The following are what evince writes to the terminal. (evince:24176): EvinceDocument-CRITICAL **: ev_document_get_n_pages: assertion 'EV_IS_DOCUMENT (document)' failed (evince:24176): Gtk-WARNING **: drawing failure for widget `EvView': invalid matrix (not invertible) (evince:24176): Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'width > 0 && height > 0' failed (evince:24176): Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'width > 0 && height > 0' failed 3. Then evince just shows an empty (white) page. === If i rotate 90 or -90 degree by pressing Ctrl+Left or Ctrl+Right key, evince can show this file correctly. === Okular, GIMP, inkscape and gs can show this EPS file. (may be rotated 90 degree, however) ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: evince 3.10.0-0ubuntu2 ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3 Uname: Linux 3.11.0-12-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.12.5-0ubuntu2 Architecture: amd64 Date: Mon Oct 21 21:23:15 2013 InstallationDate: Installed on 2013-09-07 (44 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) MarkForUpload: True SourcePackage: evince UpgradeStatus: Upgraded to saucy on 2013-10-04 (16 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/1242678/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp