🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8521

question about stringwidth

#8521
From: Snoopy
Date: Wed, 31 May 1989 17:24
15 lines
1043 bytes
Does the stringwidth operator require a current point?  The red book is
unclear.  It says "calculates the change in the current point that would
occur if ...", implying that there should be a current point.  However,
nocurrentpoint is not listed as a possible error.

A program I grabbed off usenet works on PostScript interpreter A, but
gives a nocurrentpoint error on interpreter B, which I tracked down
to stringwidth.

    _____     						  .-----.
   /_____\    Snoopy					./  RIP	 \.
  /_______\   qiclab!sopwith!snoopy			|  	  |
    |___|     parsely!sopwith!snoopy			| tekecs  |
    |___|     sun!nosun!illian!sopwith!snoopy		|_________|
Technical Details
Message-ID: <192@sopwith.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!zephyr!tektronix!psueea!parsely!sopwith!snoopy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!zephyr!tektronix!psueea!parsely!sopwith!snoopy
From: snoopy@sopwith.UUCP (Snoopy)
Newsgroups: comp.lang.postscript
Subject: question about stringwidth
Message-ID: <192@sopwith.UUCP>
Date: 31 May 89 17:24:00 GMT
Reply-To: snoopy@sopwith.UUCP (Snoopy)
Organization: The Daisy Hill Puppy Farm
Lines: 15