Bug 687116

Summary: current HEAD gs fails to display this file on X11
Product: Ghostscript Reporter: keinbiervorvier <keinbiervorvier>
Component: X Display DriverAssignee: Jack Moffitt <jack>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P2    
Version: master   
Hardware: PC   
OS: Linux   
URL: http://lanl.arxiv.org/ftp/exports/jb.ps
Customer: Word Size: ---
Attachments: patch
Example PS file for gxccman error message

Description keinbiervorvier 2003-10-30 16:07:04 UTC
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
Comment 1 Alex Cherepanov 2003-11-02 09:35:35 UTC
Created attachment 350 [details]
patch

Initialize cc->pair field for the exterbal fonts, forgotten
during the switch to new TrueType interpreter (NEW_TT_INTERPRETER).
Comment 2 Alex Cherepanov 2003-11-02 18:43:01 UTC
The patch is committed to HEAD branch.
Comment 3 Hans Werner Strube 2004-01-22 06:53:54 UTC
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.
Comment 4 Hans Werner Strube 2004-02-27 07:20:56 UTC
In gs 8.14, the bug appears to be absent, for both x11 and bit devices.
Comment 5 keinbiervorvier 2004-02-27 08:14:25 UTC
I reported this problem in November 2003

current CVS HEAD (February 27, 2004) does not exhibit this problem.

Thanks
T.
Comment 6 Alex Cherepanov 2004-05-13 07:37:09 UTC
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.