jbm@Brahms.INSL.McGill.CA (John McCluskey) (12/22/90)
I've modified the GSDEVBGI.C Borland BGI device driver in Ghostscript 2.0 to work with the SVGA256.BGI driver recently posted, and I've run into a little trouble implementing a greyscale mode. In the device driver structure there is a binary flag called has_color that actually seems to mean is_not_binary, because when I leave the flag cleared, and set max_color to be 63 (meaning that there are 64 gray shades available), I get output as a dithered black and white instead of true grayscale. When I set the flag and map the pallet with 6 shades for each primary color (6 x 6 x 6 = 216 colors), then it seems to work just fine. (well, there are some odd transparency effects) Is it possible to define an output device which has grayscale output? I would appreciate if someone would forward this to gnu.ghostscript, if such a newsgroup exists. The Ghostscript documentation seems to omit any network address of a maintainer or newsgroup mailing list.