Many PDF documents still throw a number of errors such as this: GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 when previewing or saving to a (PDF/PS) file. The console output is: okular(2853)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-pancho/ksycoca4" okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kparts KParts::ReadWritePart::setModified: setModified( false ) okular(2853)/kparts KParts::ReadWritePart::setModified: setModified( false ) okular(2853)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/pdf" , "okular/Generator" : returning 1 offers okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3 1214x1717@0 okular(2853)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 1214x1717@0 async == true okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3 1214x1717@0 okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=4 78x110@0 okular(2853)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 78x110@0 async == true And then upon preview: okular(2853)/kdeprint Okular::FilePrinterPreview::FilePrinterPreview: kdeprint: creating preview dialog okular(2853)/kdeprint Okular::FilePrinterPreviewPrivate::getPart: querying trader for application/ps service okular(2853)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/postscript" , "KParts/ReadOnlyPart" : returning 2 offers okular(2853)/kdeprint Okular::FilePrinterPreviewPrivate::getPart: Trying to create a part okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: okular(2853)/kparts KParts::ReadWritePart::setModified: setModified( false ) okular(2853)/kparts KParts::ReadWritePart::setModified: setModified( false ) okular(2853)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/postscript" , "okular/Generator" : returning 1 offers okular(2853)/okular (Spectre) GSGenerator::loadDocument: Page count: 1 okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3 88x124@0 okular(2853)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 88x124@0 async == true okular(2853)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#3, async, 88x124, page 0, prio 1) okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3 88x124@0 okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=4 78x110@0 okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3 555x785@0 okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3 555x785@0 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3 555x785@0 okular(2853)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 555x785@0 async == true okular(2853)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#3, async, 555x785, page 0, prio 1) GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 okular(2853)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 78x110@0 async == true okular(2853)/okular (Spectre) GSGenerator::generatePixmap: receiving PixmapRequest(#4, async, 78x110, page 0, prio 2) GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1 Reproducible: Always Steps to Reproduce: Open the attached file (embedding a Type1 font) with Okular and preview it. Using Kubuntu 12.10 with: okular: 0.15.2, ghostscript: 9.06, libfreetype6: 2.4.10 and libspectre 0.2.7 The Freetype patch: https://savannah.nongnu.org/bugs/?func=detailitem&item_id=35833 / http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=9a55cb7a and the followup: https://savannah.nongnu.org/bugs/?func=detailitem&item_id=35847 / http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b43e0f44 should have fixed the Font Renderer Plugin issue in 2.4.10, but obviously it didn't. Does someone know whether libspectre comes bundled with an old version of freetype? Then I'd know whether to file this against freetype or libspectre.
Which version of the poppler library are you using?
libpoppler is version 20.4.
(In reply to comment #2) > libpoppler is version 20.4. 0.20.4, you mean. Ask your distro to update to 0.20.5, and then try again.
PIno: why you ask about poppler in a bug about viewing PS files? Bernd: spectre is just a thin wrapper over libgs, so it's either libgs or freetype bug, not much we can do here so i'm closing the bug as upstream issue
(In reply to comment #4) > PIno: why you ask about poppler in a bug about viewing PS files? Because it is about opening PDF documents and (print) previewing them to PS (so using poppler's PSOutputDev). Wasn't there a poppler report about it, recently?
No poppler bug report about that that i can remember