🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #203

Ghostscript drivers

#203
From: L. Peter Deutsch
Date: Wed, 19 Jul 1989 13:01
26 lines
1307 bytes
This is a follow-up to my previous message about writing drivers for
Ghostscript.

A driver for a monochrome device need only implement two routines:

	- Fill a rectangle with either black or white.
	- Copy a rectangular area from a bitmap to the device.

All the other routines are optional, i.e., Ghostscript will supply
default (perhaps not very fast) algorithms if you don't.

For color devices, the driver must implement three routines:

	- Fill a rectangle with a color.
	- Write a color where a rectangular area of a bitmap has 1's
	  (or 0's).
	- Copy a rectangular area from a color bitmap to the device.

So the real work isn't in writing the driver, it's in figuring out
how to hook it up.  Stay tuned....

		- P. D.

		ghost@aladdin.com
		...{uunet,parcplace.com}!aladdin!ghost
		P. O. box 60264, Palo Alto, CA 94306
Technical Details
Message-ID: <8907190601.0.UUL1.3#5127@aladdin.com>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!aladdin.com!ghost

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!aladdin.com!ghost
From: ghost@aladdin.com (L. Peter Deutsch)
Newsgroups: gnu.ghostscript.bug
Subject: Ghostscript drivers
Message-ID: <8907190601.0.UUL1.3#5127@aladdin.com>
Date: 19 Jul 89 13:01:49 GMT
Article-I.D.: aladdin.8907190601.0.UUL1.3#5127
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 26