Path: 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 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