[comp.lang.postscript] Restrictions in Character Encoding?

cramer@optilink.UUCP (Clayton Cramer) (10/20/88)

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