Bug 689649

Summary: Characters loss in PDF file (on page 15 forexample)
Product: Ghostscript Reporter: Zina <zfarberovich>
Component: PDF InterpreterAssignee: Default assignee <ghostpdl-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mpsuzuki
Priority: P4    
Version: 8.61   
Hardware: PC   
OS: Windows XP   
Customer: Word Size: ---
Attachments: PDF file. Characters loss in page 15
gdbinit to trace TrueType rasterizer in ghostscript
689649-15_noencrypt_nocompress.pdf

Description Zina 2008-01-12 23:54:29 UTC
Characters loss in PDF file.
Page 15 the title “READING” is cut to "R  I".

Thanks,
Zina
Comment 1 Zina 2008-01-12 23:56:02 UTC
Created attachment 3691 [details]
PDF file. Characters loss in page 15
Comment 2 mpsuzuki 2008-01-13 03:12:03 UTC
Created attachment 3692 [details]
gdbinit to trace TrueType rasterizer in ghostscript

I suppose you received some error messages like:
"Failed to interpret TT instructions for glyph index 40 of font
JEPCJL+NancyBlueFC-GrasObl. Continue ignoring instructions of the font."
when ghostscript tries to render the missing character.
By attached gdbinit, I found that TrueType rasterizer in ghostscript
got a stack overflow error. xpdf using FreeType2 font rasterizer can
display the problematic font by expected form "READING". I will
investigate in more microscopic level.

BTW, the sample PDF is encrypted and slightly difficult to edit
manually. If possible, please upload unencrypted sample or raw
TrueType font NancyBlueFC-GrasOblique? (if it's permitted to
upload onto public web site).
Comment 3 leonardo 2008-01-13 04:40:21 UTC
If you re-distill a PDF with gs, the encryption will go away.
Comment 4 Zina 2008-01-13 04:49:21 UTC
You are right. The error is:
"GPL Ghostscript 8.61: Failed to interpret TT instructions for glyph index 40 of
font JEPCJL+NancyBlueFC-GrasObl. Continue ignoring instructions of the font."

Sorry , I've found this bug only with this File (downloaded from internet...)


Comment 5 Ray Johnston 2008-01-15 18:28:24 UTC
Created attachment 3703 [details]
689649-15_noencrypt_nocompress.pdf

Created from the original PDF using the two step process:

To extract Page 15, in an unencrypted form...

gswin32c -sDEVICE=pdfwrite -o bug_689649-15.pdf -dFirstPage=15 -dLastPage=15
bug_689649.pdf

To uncompress the result to aid in viewing the PDF with a text editor such
as 'vim' ...

gswin32c  -- toolbin/pdfinflt.ps bug_689649-15.pdf bug_689649_nocompress.pdf
Comment 6 Marcos H. Woehrmann 2008-03-20 10:06:54 UTC
Based on the comments there seems to be some confusion about this bug so I've opened a new bug with a 
much simplified test file.

*** This bug has been marked as a duplicate of 689760 ***