Hi, when converting the attached eps files with ps2pdf from current svn HEAD the figure labels in the resulting pdf files are garbled and incomplete without any error indication from gs. The eps figures display fine with gs (HEAD) on X11/linux. This problem occurs on various linux platforms. The same figures convert ok with gs 8.63 Cheers T.
Created attachment 5345 [details] f1.eps
Created attachment 5346 [details] f2.eps
I performed a bisection on svn revisions and pinpointed the problem to update 9804 revision <= 9803: ps2pdf f1.eps; gs f1.pdf => OK revision >= 9804: ps2pdf f1.eps; gs f1.pdf => missing glyphs in label Author: ken Date: 2009-06-19 05:14:20 -0700 (Fri, 19 Jun 2009) New Revision: 9804 Modified: trunk/gs/base/gdevpdfb.c trunk/gs/base/gdevpdfx.h trunk/gs/base/gdevpdt.h trunk/gs/base/gdevpdti.c trunk/gs/base/gdevpdti.h trunk/gs/base/gdevpdts.c Log: Fix (pdfwrite) : Make type 3 bitmap font text-searchable if possible hope this helps T.
Thanks for the investigation, it'll certainly help !
*** Bug 690836 has been marked as a duplicate of this bug. ***
Increased priority for a regression, plus we have three reports (all using matplotlib files I think)
indeed all 3 duplicate bug reports are with matplotlib generated figures. I attach a minimal figure which exhibits the problem and add the observation that the omitted glyphs are influenced by the order of appearance inside the ps file. the attached eps file simply displays "greek symbol lambda"" with subscript "rest". the postscript displays fine, but the pdf generated via ps2pdf is missing the letters "st" I note that moving the statements which show lambda inside the eps file affects what part of the subscript is shown in the generated pdf while the postscript display is identical. try the following edit to the attached eps file and compare the pdf display # diff -u test1.eps test.eps --- test1.eps 2009-11-14 19:54:11.000000000 -0700 +++ test.eps 2009-11-14 19:53:46.000000000 -0700 @@ -447,15 +447,15 @@ 17.0 scalefont setfont -0.000000 5.203125 moveto -/lambda glyphshow - 9.911133 0.866531 moveto /r glyphshow 15.280078 0.866531 moveto /e glyphshow +0.000000 5.203125 moveto +/lambda glyphshow + 20.811719 0.866531 moveto /s glyphshow Cheers T.
Created attachment 5671 [details] test.eps minimal eps file which exhibits the pdfwriter bug with glyph omission for matplotlib generated figures
Fixed in revision 10365, patch here: http://ghostscript.com/pipermail/gs-cvs/2009-November/010092.html