🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #7564

Restrictions in Character Encoding?

#7564
From: Clayton Cramer
Date: Wed, 19 Oct 1988 18:31
17 lines
1192 bytes
I'm defining some new characters for a reencoding of a font, and I need
to draw rectangles as part of several of these new characters.  The
slow and painful way requires lots of moveto...lineto...closepath...fill
statements for each rectangle.  I would prefer to define a function
called Rect that takes numbers for the four corners of the rectangle,
then draws the rectangle.

My function works just fine by itself, but when try to use the function
inside the character redefinition function, PostScript complains that
"Rect" is undefined.  I've tried putting the definition of Rect both
inside the CharsProcs begin...end block, and outside, and it doesn't
seem to know about it either way.

Suggestions or samples would be appreciated.
-- 
Clayton E. Cramer
..!ames!pyramid!kontron!optilin!cramer
Technical Details
Message-ID: <576@optilink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!rutgers!apple!voder!kontron!optilink!cramer

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!rutgers!apple!voder!kontron!optilink!cramer
From: cramer@optilink.UUCP (Clayton Cramer)
Newsgroups: comp.lang.postscript
Subject: Restrictions in Character Encoding?
Message-ID: <576@optilink.UUCP>
Date: 19 Oct 88 18:31:15 GMT
Organization: Optilink Corporation, Petaluma, CA
Lines: 16