🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #659

Re: GhostScript v1.2 comments

#659
From: Timothy Hawkins
Date: Tue, 28 Mar 1989 00:45
48 lines
1352 bytes
There is a bug in the rand function on 1.2, it returns negative numbers
which is at odds with the adobe standard, how ever it is easy to fix.
just add an value = labs(value); inside the rand function before
pushing the value back on the stack.. This can cause a lot of mysterious
"rangechecks" in sample files of the "draw random things on the page"
nature.. About the tracking of operator names.. An approach That I used
in my own postscript interpreter is not to place the address of the operator
into the operator object , but the index number of a look up table
for "name", "address" pairs, backtracking an operator becomes a simple case
of looking up the table and retrieving the name... 
This also allows one to have a central name/object table with a single install
 routine.































-- 
Automatic Disclaimer:
The views expressed above are those of the author alone and may not
represent the views of the IBM PC User Group.
Technical Details
Message-ID: <10581@ibmpcug.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!mcvax!ukc!pyrltd!slxsys!ibmpcug!thawk1

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!mcvax!ukc!pyrltd!slxsys!ibmpcug!thawk1
From: thawk1@ibmpcug.UUCP (Timothy Hawkins)
Newsgroups: gnu.ghostscript.bug
Subject: Re: GhostScript v1.2 comments
Message-ID: <10581@ibmpcug.UUCP>
Date: 28 Mar 89 00:45:28 GMT
Organization: The IBM PC User Group, UK.
Lines: 48