I've got a QXP4.1 EPS with outline characters, filled white and stroked red using 0 .95 .7 0 (HS15) customcolor. QXP creates a Type-3 font where each glyph is rendered twice, changing the fill and stroke color. The Spec says it's unnecessary and undesirable to do so, but it is not forbidden. All GS versions display it well. Now I created a PDF from this using GS8.15 or GS8.54. Opening this PDF with any version of GS produces Error: /typecheck in --astore--, Acrobat reader displays well. The error doesn't occur if I set the stroke color to Black or if I use GS7.00 to create the PDF. Files: tqxp.eps (90 MB), tqxp.pdf (4 KB)
Thank you for using and testing Ghostscript. Unfortunately, little can be done about the problem without the sample file. Please try to reduce the size of the sample file and attach it to the bug report. You can compress the file and attach the result if it is below 20 M. You can also put your EPS file on FTP or HTTP for download. Finally, you can mail the file on a CD to Artifex Software.
Created attachment 2353 [details] EPS and PDF EPS 90 KB, not 90 MB, sorry.
Reproduced with head. Evince (libpoppler) can open the pdf file we create.
assigning to Alex for further investigation.
Dan wants it. It's a problem with colorspace (element vs array) in the interpreter
retest and reassign.
Created attachment 3920 [details] patch Use operator .execn to keep the operand stack depth and .pdfcount value consistent during /BuildChar execution. Operator scn depends on the correct value of .pdfcount. This bug is similar to the bug 689776 but the mismatch between .pdfcount and the content of the operand stack happens in a different procedure.
The patch is committed as a rev. 8627. The sample file PDF file is added to the test base by rev. 8628.