Article View: comp.lang.postscript
Article #3430Re: Postscript program #10
From: Andy Sun Anu-guest
Date: Mon, 22 Oct 1990 22:37
Date: Mon, 22 Oct 1990 22:37
34 lines
1677 bytes
1677 bytes
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
Technical Details
Message-ID:
<90Oct22.183748edt.19520@me.utoronto.ca>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!news-server.csri.toronto.edu!me!sunReferences:
<144022@sun.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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