Bug 690882

Summary: ps2pdf mangles type 3 fonts
Product: Ghostscript Reporter: Matt <mauger>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: 8.70   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: f4.eps

Description Matt 2009-11-02 12:03:21 UTC
I'm trying to convert eps figures created with the python package matplotlib
into pdf figures; however, when I do this the figure fonts are sometimes mangled
(the fonts are Type 3 fonts). This happens with gs 8.70 but not with gs 8.63.
When viewing the PDF with xpdf the errors
  Error: Bad bounding box in Type 3 glyph
  Error: Missing or bad Type3 CharProc entry
are reported (duplicated many times) and some characters are not rendered or are
shown incorrectly; the EPS file displays without error in gv.
Comment 1 Matt 2009-11-02 12:05:12 UTC
Created attachment 5610 [details]
f4.eps

Using ps2pdf on this file results in many of the text characters not rendering
and produces error messages when the PDF is viewed with xpdf.
Comment 2 Ralph Giles 2009-11-02 12:24:25 UTC
Confirmed with HEAD (r10257). After 'gs -sDEVICE=pdfwrite -o f4.pdf f4.eps',
viewing f4.pdf with gs and evince, the labels on the bottom axis show only the
negative signs, and the 'r' from 'g-r' label on the left axis is missing.
Comment 3 Matt 2009-11-02 15:34:17 UTC
This problem was first noticed in connection with this paper:
http://arxiv.org/abs/0910.2773
The PS version is fine but figure 2 on page 11 of the PDF is not rendered
correctly. The arXiv appears to be using an SVN version of gs tagged as 8.71.

It may be a coincidence, but it appears that text is never rendered after a
minus sign (among other things).
Comment 4 Ken Sharp 2009-11-03 00:57:07 UTC
Appears to be a duplicate of #690836.

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