View Issue Details

IDProjectCategoryView StatusLast Update
0002227ScribusImport / Exportpublic2007-10-18 16:48
Reporterjgriessen Assigned Tofschmid  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformAMD AthlonOSdebianOS Versionunstable
Product Version1.3.0cvs 
Fixed in Version1.3.5svn 
Summary0002227: import of gnumeric generated .ps file fails
DescriptionThe file comes from selecting a smaller than Letter sized page area, and
printing it to .ps file with gnumeric.

filename is output-to-scribus.ps

=========================================
scribus output is:
scribus130
Error: /rangecheck in --charpath--
Operand stack:
   (\000\227\000\271\000\252\000\265\000\270)
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 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 1 1 9 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
   --dict:1049/1123(ro)(G)-- --dict:0/20(G)-- --dict:150/200(L)-- --dict:150/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 77587
GPL Ghostscript 8.01: Unrecoverable error, exit code 1




=======================================
Ghostscript version is: 8.01
Steps To Reproducestart scribus1.3.0
choose menu file-->import-->import EPS/PS

see error window pop up

see shell window error messages
TagsNo tags attached.
Patch

Activities

2005-07-11 14:28

 

output-to-scribus.ps (91,404 bytes)

ringerc

2005-07-11 14:51

reporter   ~0005524

fails here too. renders OK in gs. Investigating.

ringerc

2005-07-11 15:03

reporter   ~0005526

PostScript import failed when calling gs as:

/home/craig/bin/gswrap -q -dNOPAUSE -dNODISPLAY -dBATCH -g612x792 -c 0 0 \
translate -sFONTPATH='/home/craig/.fonts-converted-mac-subipost' \
-sOutputFile=/home/craig/.scribus/ps.out \
/home/craig/scribus/scribus13/lib/scribus/import.prolog \
"/home/craig/tmp/output-to-scribus.ps" -c flush cfile closefile quit

which lools sane enough. Breaks on cmdline too. Something in the PS prologue we're using, maybe?

ringerc

2005-07-11 15:04

reporter   ~0005527

setting -> minor (ie "normal" severity). Btw, I'm using gs 8.51 here, and my error msg is:

Error: /rangecheck in --charpath--
Operand stack:
   (\000\227\000\271\000\252\000\265\000\270)
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 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 1 1 9 --nostringval-- %for_pos_int_continue --nostringval--
Dictionary stack:
   --dict:1121/1686(ro)(G)-- --dict:0/20(G)-- --dict:151/200(L)-- --dict:151/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 77587
AFPL Ghostscript 8.51: Unrecoverable error, exit code 1

ringerc

2005-07-11 15:05

reporter   ~0005528

Reminder sent to: fschmid

No idea on this one.... I think your magic postscript wizardry might be called for.

fschmid

2005-07-11 19:47

administrator   ~0005537

That file is somewhat strange in terms of handling strings in postscript.
I don't know if these constructs are really vaild postscript:
(\0\317\0\324\0\324)
[5.5625 5.5625 0] xshow
These can be found for every string in the doc, GS seems to be happy with them,
but i doubt that every postscript printer will be happy.

Seems that the Gnome guys are trying to print Unicode this way. But this causes
the charpath operator to choke about the \000 character

ringerc

2005-07-12 02:00

reporter   ~0005539

Think it's something psimport should handle, or close as NOTABUG and suggest talking to the GNOME folks?

fschmid

2005-07-12 19:16

administrator   ~0005555

Finally found out whats going on there, the Gnome folks are clever, they create a
Type0 font for Unicode support. Sadly these Type0 fonts require a different way to
process the show operator. Will try to find a fix as soon as possible.

christoph_s

2007-10-18 16:48

administrator   ~0017702

Tested, fixed. Thanks.

Issue History

Date Modified Username Field Change
2005-07-11 14:28 jgriessen New Issue
2005-07-11 14:28 jgriessen File Added: output-to-scribus.ps
2005-07-11 14:51 ringerc Note Added: 0005524
2005-07-11 15:03 ringerc Note Added: 0005526
2005-07-11 15:03 ringerc Status new => confirmed
2005-07-11 15:04 ringerc Note Added: 0005527
2005-07-11 15:04 ringerc Severity major => minor
2005-07-11 15:05 ringerc Note Added: 0005528
2005-07-11 19:47 fschmid Note Added: 0005537
2005-07-12 02:00 ringerc Note Added: 0005539
2005-07-12 19:16 fschmid Note Added: 0005555
2007-10-08 17:24 fschmid Status confirmed => resolved
2007-10-08 17:24 fschmid Fixed in Version => 1.3.5svn
2007-10-08 17:24 fschmid Resolution open => fixed
2007-10-08 17:24 fschmid Assigned To => fschmid
2007-10-18 16:48 christoph_s Status resolved => closed
2007-10-18 16:48 christoph_s Note Added: 0017702