Path: utzoo!attcan!uunet!cs.utexas.edu!news-server.csri.toronto.edu!me!sun From: sun@me.utoronto.ca (Andy Sun Anu-guest) Newsgroups: comp.lang.postscript Subject: Re: Postscript program #10 Keywords: Postscript Message-ID: <90Oct22.183748edt.19520@me.utoronto.ca> Date: 22 Oct 90 22:37:56 GMT References: <144022@sun.Eng.Sun.COM> Organization: University of Toronto, Department of Mechanical Engineering Lines: 34 In article <144022@sun.Eng.Sun.COM> auga@genealogy.Eng.Sun.COM (Dan Auga) writes: >I have keyed in the code from the Blue PostScript book page # 167. It the program >which draws a cirular text. However it doesn't print the file. The handler >gives you a error on the put command in the outsidecircletext routine. Does anyone >have the fixes for this? > >Thanks in Advance > >Dan Auga >Sun Microsystems >auga@Sun.COM >(415)336-4841 I solved exactly this problem for someone a month ago. The problem is that the line ( ) dup 0 charcode .... ^ |----- SPACE It doesn't look like it has a one since a space in Times Roman font has a small character width. This holds for insidecircletext too. If you can trace the error codes, it told you that it was a stackunderflow, so obviously the stuff inside the brackets cannot be nothing. If you check your syntax carefully, I am pretty sure that's your problem. Andy _______________________________________________________________________________ Andy Sun | Internet: sun@me.utoronto.ca University of Toronto, Canada | UUCP : ...!utai!me!sun Dept. of Mechanical Engineering | BITNET : sun@me.utoronto.BITNET