Bug 689649 - Characters loss in PDF file (on page 15 forexample)
Summary: Characters loss in PDF file (on page 15 forexample)
Status: RESOLVED DUPLICATE of bug 689760
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: 8.61
Hardware: PC Windows XP
: P4 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-12 23:54 UTC by Zina
Modified: 2008-03-20 10:06 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
PDF file. Characters loss in page 15 (517.53 KB, application/pdf)
2008-01-12 23:56 UTC, Zina
Details
gdbinit to trace TrueType rasterizer in ghostscript (10.65 KB, text/plain)
2008-01-13 03:12 UTC, mpsuzuki
Details
689649-15_noencrypt_nocompress.pdf (36.37 KB, application/pdf)
2008-01-15 18:28 UTC, Ray Johnston
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***