Okular is unable to display a printed manual page. The page needs standard font Times to render. Reproducible: Always Steps to Reproduce: 1. { man -t ISO-8859-1 >/tmp/latin1.ps && okular /tmp/latin1.ps; } Actual Results: 1. 3 pages, nothing rendered, messages: kular(10291)/okular (Spectre) GSGenerator::loadDocument: Page count: 3 okular(10291)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#15481080, async, 1013x1433, page 0, prio 1) undefined -21 okular(10291)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [1013x1433] QImage::scaled: Image is a null image okular(10291)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#15481080, async, 996x1409, page 0, prio 1) undefined -21 okular(10291)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [996x1409] QImage::scaled: Image is a null image okular(10291)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#15387496, async, 146x207, page 0, prio 2) undefined -21 okular(10291)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [146x207] QImage::scaled: Image is a null image okular(10291)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#15387496, async, 146x207, page 1, prio 2) undefined -21 okular(10291)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [146x207] QImage::scaled: Image is a null image okular(10291)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#15481080, async, 996x1409, page 0, prio 1) undefined -21 okular(10291)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [996x1409] QImage::scaled: Image is a null image okular(10291)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#15387496, async, 146x207, page 2, prio 2) undefined -21 okular(10291)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [146x207] QImage::scaled: Image is a null image okular(10291)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#15481080, async, 996x1409, page 0, prio 1) undefined -21 okular(10291)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [996x1409] QImage::scaled: Image is a null image Expected Results: 1. The same rendering as when you tell Okular to convert the printout to PDF first, or from { gs /tmp/latin1.ps; }
Works for me, which spectre and libgs versions do you have?
libspectre1-0.2.7-4.1.2.x86_64 ghostscript-9.07-3.1.3.x86_64
Created attachment 84503 [details] the offending document
do you have evince installed? does it show the file for you?
I do not have evince. Okular renders the document if LANG is unset, empty, invalid, C, POSIX, en_*, zh_TW, or_IN, aa_ZA or otherwise non-European (even nan-TW@latin works). Otherwise the same blank pages and error messages.
Ah yes, that, update your ghostscript.
Hello, as user of SuSE 13.1 (now evergreen) I cannot upgrade so easily, but start encountering more PDFs that won't print with error messages exactly like above. So could you please provide us with a bug id or reference ? I could not find anything related against 9.07 ... (Would a downgrade of gs and/or libspectre1 also do ? How far down ?)
cheesus this bug is not about pdf at all.
Albert, I'd say this bug is about postscript, which is probably embedded as eps in the PDFs I can't print... I get the messages below, so this looks related to my non-expert eye. Any other pointers are of course welcome. Thanks. syntaxerror -18 syntaxerror -18 okular(25510)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [88x124] QImage::scaled: Image is a null image syntaxerror -18 syntaxerror -18 okular(25510)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image syntaxerror -18 syntaxerror -18 okular(25510)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [78x110] QImage::scaled: Image is a null image
The log you mention is impossible to happen when you print a pdf file. Or you mean print preview?
Yes you are right, the messages are from a (failed) print preview. Printing just stalls in CUPS.
There's nothing we can do if CUPS breaks. Regarding > I could not find anything related against 9.07 ... A quick search for "ghostscript 9.07 locale bug" in google gives me http://bugs.ghostscript.com/show_bug.cgi?id=693843 So yeah, thanks for not trusting my word and making me lose 5 minutes of my live.