Summary: | pdfwrite creates invalid Type3 font -- missing characters | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Ray Johnston <ray.johnston> |
Component: | PDF Writer | Assignee: | Igor Melichev <igor.melichev> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | CC: | estrik |
Priority: | P4 | ||
Version: | master | ||
Hardware: | All | ||
OS: | All | ||
Customer: | 411 | Word Size: | --- |
Attachments: | A reduced test |
Description
Ray Johnston
2004-05-28 11:16:07 UTC
Created attachment 688 [details]
Input PS file
File that GS doesn't convert to PDF correctly.
Created attachment 689 [details]
PS file converted using Distiller
Created attachment 690 [details]
PDF created using gs 8.1x branch
Created attachment 691 [details]
PDF created using HEAD gs (as of date of bug submission)
1. Can't reproduce with the current CVS HEAD. Likely you didn't apply the patches http://www.ghostscript.com/pipermail/gs-cvs/2004-May/004506.html http://www.ghostscript.com/pipermail/gs-cvs/2004-May/004507.html 2. Should it go to GS_8_1X ? 3. Yes, GS generates a longer file. To be analyzed. Well, I've gort an answer for (3). The original PS file emulates an enbolded font with printing a glyph 4 times with small offsets. Adobe Distiller drops this effect. GS preserves this effect with creating a Type 3 font, which prints a glyph 4 times - same as the original PS does. Thus it's a feature rather than a bug. Oops, with the current HEAD I can see missed glyphs in the last page with Acrobat Reader 5 and with GS. To be analyzed. Created attachment 694 [details]
A reduced test
Attaching a reduced test. It prints 2 characters 'E', one with white color, and
another one with black color. Converting with distiller the second one is
visible. Converting with GS both are invisible. The problem is that the white
color appears written into the charproc, but it must not.
Patches http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004533.html http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004534.html http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004535.html http://www.ghostscript.com/pipermail/gs-cvs/2004-June/004536.html Please note that the fixed GS generates a PDF, which Adobe Reader 6 reads fine. However there is a problem with Acrobat Reader 5, which IMO is Adobe bug : with the test document of the bug 687489 it paints an "invisible" text in the 4th page. That text isn't visible when viewing with Adobe reader 6 and with GS. The text is painted with a white color, but AR 5 erroneusly paints it with black. |