Re: text in idraw giving errors in recent versions of ghostscript
Brought to you by:
johnston
From: John H. <jo...@is...> - 2002-08-22 20:33:18
|
On Thu, 22 Aug 2002 11:14:55 PDT, "Scott Johnston" wrote: >John Heidemann wrote: > >>Has anyone else noticed that text in idraw gives errors in recent >>versions of ghostscript? >> >>Specificially, if I create a new file with idraw 1.0.6 and put the >>text string "foo" in it, the gv the file using ghostscript-6.52-9.4 on >>Redhat 7.3, it gives the following error message: >> >>Error: /rangecheckGNU Ghostscript 6.52: Unrecoverable error, exit code 1 >> in --get-- >>Operand stack: >> --nostringval-- --nostringval-- --nostringval-- descender 0 --nostringval-- 1 >>Execution stack: >> %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- >>Dictionary stack: >> --dict:1038/1476(ro)(G)-- --dict:0/20(G)-- --dict:90/200(L)-- --dict:36/51(L)-- --dict:1/17(L)-- --dict:5/17(L)-- --dict:1/3(L)-- --dict:14/17(ro)(L)-- >>Current allocation mode is local >>Current file position is 10438 >> >> >>Position 10438 is the first character of the "End" just after >>the "] Text" line in the file. >> >>This problem didn't happen on Redhat Linux 7.2, but it persists even >>if I downgrade ghostview in RH 7.3 to the 7.2 version. >> >> >>1. Has anyone else observed this bug? >> >>2. Is this a ghostscript or idraw problem? >>(Is idraw wrong and ghostscript is now more conservative in this release, or >>did ghostscript regress.) >> >>I hpoe it's fixable because I have lots of old idraw files that I like >>to ghostview! >> >> -John >> >> >> > >Sorry, away on vacation. > >Can you forward the idraw test file that gives you a problem (with the >single string of "foo")? > >I tried it with my copy of idraw from ivtools-1.0.6 and don't see the >same problem but I'm >using RH 6.2 and gs 5.50. > >This could be a ghostscript problem, or something relative to the >version of libstdc++ you have >linked into idraw. The attached file will reproduce the error. It has two elements: the string "bar" and a box. The box will display in gv, but the string crashes it. Deleting the sring makes the problem go away. However, you won't see this problem under RH 6.2. It only starts breaking in RH 7.3 (it works fine in RH versions through 7.2). I agree it's likely that it's really ghostscript that's changed. But it's not clear if idraw was always generating bad postscript and only now does ghostscript complain, or if ghostscript is complaining unfairly. -John |