Created attachment 7621 [details] PDF with embedded UTF-8 font After upgrading from Fedora 14 to Fedora 15 with Ghostscript 9.02, we couldn't print any of our self generated PDF documents anymore. Instead of normal text we get little squares / blocks with or no text at all. We use CUPS for printing documents, but the following Ghostscript command gives exactly the same result: gs -sDEVICE=png16m -sOUTPUTFILE=foo.png -q -dNOPAUSE foo.pdf -c quit The PDF's are generated with tFPDF which can be found on http://fpdf.org/en/script/script92.php. The example there (http://fpdf.org/en/script/ex92.pdf) gives the exact same error.
Ghostscript 8.72 can succesfully render PNG, only never versions fail.
Fixed in commit: 31cb1ff75d4a77ac32854a68f56d973d06b5da10 http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=31cb1ff Note that the font is actually broken: the glyf program contains a reference to an undefined function. If the glyph fails in this way, we'll now fall back to rendering the glyph unhinted (which matches the old behaviour).
Created attachment 7626 [details] PDF missing output While the patch supplied fixes the issues with the original PDF, the PDF from the the tFPDF example is still having issues. Please have another look, and thanks a lot for the patch provided.
Reopened due to error in other PDF
Sorry, my confusion, the second PDF (ex92.pdf) does actually work with the current git master/HEAD revision.