Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!cmcl2!nrl-cmf!ames!pasteur!ucbvax!NCIFCRF.GOV!toms From: toms@NCIFCRF.GOV Newsgroups: comp.windows.news Subject: Color Bug on Sun Message-ID: <8807090251.AA11565@fcs260c2.ncifcrf.gov> Date: 9 Jul 88 04:17:31 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 45 %! % This is apparently a bug in PostScript running on a Sun 3/260 under NeWS 1.1. % The program should produce a series of 5 boxes, however something % goes wrong with the sethsbcolor for the last box, and PostScript dies % so the box never shows up. Apparently it is the length of the number % which causes the problem, since 0.0666 and 0.1666 are ok % but 0.06667 and 0.16667 kill. % % Tom Schneider % National Cancer Institute % Laboratory of Mathematical Biology % Frederick, Maryland % toms@ncifcrf.gov % 1988 July 8 90 90 scale /box { newpath 0 0 moveto 0 1 lineto 1 1 lineto 1 0 lineto closepath fill } def 0.33 0.5 1.0 sethsbcolor box 2 1 translate 30 rotate 0.0 0.5 1.0 sethsbcolor box 2 1 translate 30 rotate 0.03 0.5 1.0 sethsbcolor box 2 1 translate 30 rotate 0.0666 1 1 sethsbcolor % it's not the 0.666 ... box 2 1 translate 30 rotate 0.06667 1 1 sethsbcolor % it's the 7!!! box