Bug 335606 - old postscript file not rendered
Summary: old postscript file not rendered
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PS backend (show other bugs)
Version: 0.19.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-30 18:04 UTC by Martin Koller
Modified: 2014-06-18 23:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2014-05-30 18:04:16 UTC
When opening the PS file
ftp://athena-dist.mit.edu/pub/ATHENA/kerberos/doc/usenix.PS
okular just shows empty pages.

It also prints the following errors on stdout:

undefined -21
okular(11108)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [1041x1347]
QImage::scaled: Image is a null image


Doing an "import PostScript as PDF" from the menu works fine and shows all 15 pages correctly

Reproducible: Always
Comment 1 Albert Astals Cid 2014-06-17 21:49:40 UTC
Which gs version do you have? Are you on a german locale?
Comment 2 Martin Koller 2014-06-18 04:50:41 UTC
I'm on openSuse 13.1 which ships:
Name        : ghostscript
Version     : 9.07
Release     : 3.1.3

My locale:

LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE=de_AT
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES=POSIX
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

changing the locale to all have en_US.utf8 solves the issue and
okular shows content!
Comment 3 Albert Astals Cid 2014-06-18 23:09:08 UTC
Yeah, it's a gs bug, it's fixed in newer versions.