[bug-gs] Problems using qt-generated ps-files

Jochen Kokemüller jochen at kokemuller.de
Sat Dec 6 07:08:51 PST 2003


Hi all,

when i print from within of the kde khtml-lib to a ps file, then i'm unable 
to process the generated ps-file further using pstotext, ps2ascii or some 
times even using ps2ps.

By now i also read that qt messes up the font names, but i already fixed 
that in the gs_font.ps file using aliases.

I have no idea if this problem is caused by low tolerance of gs or erroneous 
ps-files gererated by qt. As i don't really understand a lot of postscript 
i'm unable to understand the error message at the bottom of this mail in 
depth.

Is there any know workaround for this problem or is this problem fixed in a 
new qt version? Any sugestions will be apreciated a lot!

Maybe this topic has been up before but its impossible to search the list!

The output generated by pstotext is as follows

------------------------snip------------------------------

gs -r72 -dNODISPLAY -dFIXEDMEDIA -dDELAYBIND -dWRITESYSTEMDICT  -dNOPAUSE  /
tmp/,ps2tdb7kHF -- 66.ps
ESP Ghostscript 7.07 (2003-07-12)
Copyright 2003 artofcode LLC and Easy Software Products, all rights 
reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
QI 100 0 0 -100 0 7200
QZ
QZ
QZ
Loading NimbusSanL-Bold font from /usr/local/share/ghostscript/fonts/
n019004l.pfb... 2051724 695423 1998712 624565 0 done.
Loading NimbusSanL-Regu font from /usr/local/share/ghostscript/fonts/
n019003l.pfb... 2112012 744422 2018808 638200 0 done.
QM 1 Error: /undefined in --get--
Operand stack:
   -0.334651   0   (\000\001\000\002\000\003\000\004\000\005\000\006\000\007
\000\003)   --nostringval--   --dict:0/200(L)--   --dict:11/25(ro)(L)--   1   
--dict:11/25(ro)(L)--   FontBBox
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--   3   
3   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   
--nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1052/1417(ro)(G)--   --dict:0/20(G)--   --dict:179/200(L)--   
--dict:36/47(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 12910
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1

--------------------------------snip------------------------------------

Regards,
Jochen




More information about the bug-gs mailing list