Bug #146 - RestoreFONT command prevents printing/conversion to PDF
Product:PageStream 5.0.2.10 (Windows)Reported By:Tim Doty
Severity:NormalAssigned To:Deron Kazmaier
Priority:Average sign in to watch (1 is watching)
Status:NewReported:2007-03-15 23:45:00
Category:PrintingUpdated:2007-03-15 23:45:00
Summary:RestoreFONT command prevents printing/conversion to PDF
Keywords:postscript,print,font
Attached Files:s28.ps.zipLen:1,084,205 bytesMD5:818d5c751ddca86f9209c4e9a6785e32zipped postscript example
 Sign In to add a file.

The example file was provided by Trond Einar Garmo, though it has been edited to eliminate duplicate font embedding. In the file each instance of RestoreFONT has been commented out and the result tested to be interpretable by ghostscript. Prior to commenting out the RestoreFONT commands the following resulted:

tim@rblus:~/Documents/PageStream> gs s28.ps
ESP Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file COPYING for details.
Error: /invalidrestore in --restore--
Operand stack:
--nostringval-- --nostringval-- --nostringval-- --nostringval--
--nostringval--
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-- 4 4 %oparray_pop --nostringval-- 4 4 %oparray_pop
--nostringval--
Dictionary stack:
--dict:1131/3371(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
--dict:211/302(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 637978
ESP Ghostscript 8.15.0: Unrecoverable error, exit code 1


------- Additional Comment #1 From Tim Doty 2007-03-15 23:48 -------

To all appearances the RestoreFONT command (and likely some others) are extraneous, but I'm not a postscript expert.

Add a Comment
Sign in to add a comment.

Bug #146 - RestoreFONT command prevents printing/conversion to PDF by Tim Doty   postscript,print,font
  created:2007-03-15 23:45:00   last updated:2007-03-15 23:45:00
  Copyright © 1985-2021 GrasshopperLLC. All Rights Reserved.


sign in to add a bug