[Okular-devel] [Bug 309536] New: GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return code = -1

Bernd Oliver Sünderhauf pancho.mz at riseup.net
Sun Nov 4 15:46:25 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=309536

            Bug ID: 309536
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: okular-devel at kde.org
           Summary: GPL Ghostscript 9.06: Error: Font Renderer Plugin (
                    FreeType ) return code = -1
    Classification: Unclassified
                OS: Linux
          Reporter: pancho.mz at riseup.net
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: okular

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 at 0
okular(2853)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 1214x1717 at 0 async == true
okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3
1214x1717 at 0
okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=4
78x110 at 0
okular(2853)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=4 78x110 at 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 at 0
okular(2853)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 88x124 at 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 at 0
okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=4
78x110 at 0
okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3
555x785 at 0
okular(2853)/okular (app) Okular::Document::requestPixmaps: request id=3
555x785 at 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 at 0
okular(2853)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 555x785 at 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 at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list