🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6385

Re: setgray strangeness..

#6385
From: Roger L. Long
Date: Sun, 23 Jun 1991 00:35
16 lines
1313 bytes
In article <10004@discus.technion.ac.il> Daniel M. Berry writes:
>A student of mine developed a font with FontMatrix [.1 0 0 .1 ... ]
>The characters of the font consist of pictures that require regions of
>different shades of gray. Thus the routine for each character consists
>of setgray's, closepath's, and fill's. We noticed that the font does not
>work when the point size is set to less than 10. That is, the font works
>fine at point size 10 or more, and at point size 9 or less, we get nothing.
>Moreover, if you remove the setgray's, then they work at point size 9
>(albeit the glyph does not look right!). Does anyone have an explanation?

You might notice that the Red book warns that "the use of setgray after a
setcachedevice operation within the scope of a BuildChar procedure is not
permitted (an undefined error results)."
-- 
	Roger L. Long
	bytebug@dhw68k.cts.com
Technical Details
Message-ID: <1991Jun23.003515.11146@dhw68k.cts.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!orion.oac.uci.edu!ucivax!dhw68k!bytebug
References: <10004@discus.technion.ac.il>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!orion.oac.uci.edu!ucivax!dhw68k!bytebug
From: bytebug@dhw68k.cts.com (Roger L. Long)
Newsgroups: comp.lang.postscript
Subject: Re: setgray strangeness..
Message-ID: <1991Jun23.003515.11146@dhw68k.cts.com>
Date: 23 Jun 91 00:35:15 GMT
References: <10004@discus.technion.ac.il>
Organization: Wolfskill & Dowling residence; Anaheim, CA (USA)
Lines: 16