this applies to current cvs HEAD as of 10/30/03 AFPL Ghostscript CVS PRE-RELEASE 8.12 (2003-08-18) gs 8.12 on redhat 9 linux with gcc 3.3.1 fails to display the file at http://lanl.arxiv.org/ftp/exports/jb.ps and exits with error: gs: src/gxccman.c:574: gx_add_cached_char: Assertion `cc->pair == pair' failed. AFPL gs 8.11 and GNU Ghostscript 7.05 (2002-04-22) don't have a problem to display this file. Cheers Thorsten
Created attachment 350 [details] patch Initialize cc->pair field for the exterbal fonts, forgotten during the switch to new TrueType interpreter (NEW_TT_INTERPRETER).
The patch is committed to HEAD branch.
Created attachment 462 [details] Example PS file for gxccman error message With gs 8.13 (Solaris 7 SPARC), this bug still occurs with x11alpha for many PS files, although no more with the example jb.ps. The same happens with -sDEVICE=bit -dTextAlphaBits=4 -dGraphicsAlphaBits=4, and thus, also with ps2epsi. (The patch 003993 by Ray Johnston (Mon Jan 12 18:06:14 PST 2004) for gsdevmem.c and gsdevmem.c has been applied.) Assertion failed: cc->pair == pair, file ./src/gxccman.c, line 574 Example file "feuercall.ps" (made with xfig) is attached.
In gs 8.14, the bug appears to be absent, for both x11 and bit devices.
I reported this problem in November 2003 current CVS HEAD (February 27, 2004) does not exhibit this problem. Thanks T.
Assertion related to TT fonts was fixed by the attached patch. Assertion related to alpha rendering is a duplicate of the bug 687241 , and it is also fixed now.