Results 1 to 4 of 4

Thread: Okular not displaying postscript files

  1. #1

    Default Okular not displaying postscript files

    Up until a few days ago, okular would open and display postscript files just fine. Now, however, it just opens to a blank page. I can view the files in GIMP just fine, but that method is a bit cumbersome. Anyone have any ideas as to why this is no longer working? Is there a plug-in I need to update? Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,006
    Blog Entries
    1

    Default Re: Okular not displaying postscript files

    Quote Originally Posted by z2 View Post
    Up until a few days ago, okular would open and display postscript files just fine. Now, however, it just opens to a blank page. I can view the files in GIMP just fine, but that method is a bit cumbersome. Anyone have any ideas as to why this is no longer working? Is there a plug-in I need to update? Thanks.
    I can verify that I'm observing the same. As a quick workaround, I subscribed to the printing repo, and upgraded ghostscript via that repo. This fixed the rendering issue.

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,006
    Blog Entries
    1

    Default Re: Okular not displaying postscript files

    Just to clarify that I now have ghostscript-9.20-84.1.x86_64 installed, (and ghostscript-x11 was upgraded to ghostscript-x11-9.20-84.1.x86_64 as a dependency). I will now disable the printing repo, as I don't need other packages upgraded at the moment.

    It would be a good idea to see if a bug report exists for this regression, and if not submit one.

  4. #4

    Default Re: Okular not displaying postscript files

    Quote Originally Posted by deano_ferrari View Post
    It would be a good idea to see if a bug report exists for this regression, and if not submit one.
    There is one already:
    http://bugzilla.opensuse.org/show_bug.cgi?id=1006592

    In short, it's a breakage caused by some security fix, that has been fixed upstream in ghostscript 9.20.

    This not only affects Okular, but also Evince (which even crashes, here on 13.2 at least... ), and maybe other applications.

    You can easily fix it yourself though until an update is released:
    Open the file /usr/share/ghostscript/9.15/Resource/Init/gs_init.ps in a text editor (as root), and change line#2024 to:
    Code:
      systemdict /getenv {pop //false} .forceput
    (i.e. replace "put" with ".forceput")
    Last edited by wolfi323; 29-Oct-2016 at 02:35.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •