🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #113

Re: line rendering in ghostscript2.4

#113
From: L. Peter Deutsch
Date: Sat, 11 Apr 1992 13:49
31 lines
1814 bytes
Re <9204110609.AA10334@raisin-nut>
<92Apr10.195131edt.6866@jarvis.csri.toronto.edu>:

> Ghostscript 2.4 seems to have problems drawing simple lines like those part
> of a box outline that surrounding a table, or a boarder around the outside of
> a page. Ghostscript 2.3, on the other hand, correctly draws such boxes.
> 
> Is this problem a bug? a feature? Does anyone have a fix?

Since you don't say what you mean by "problems," I'll have to guess
that you mean that the lines sometimes don't appear.

It is a known problem that Ghostscript sometimes fails to draw
one-pixel-wide lines (currentlinewidth = 0).  I'm haven't decided yet
which of several ways to fix this.

There is also a bug that is specific to dvips output, which affects
lines of all thicknesses, but only on certain devices.  This shows up
because dvips uses the `image' operator to draw lines.  There is a
one-line fix for this bug: change line 280 (approximately) of
gsimage.c from
		  penum->unpack = image_unpack_8;
to
		  { penum->unpack = image_unpack_8;
		    penum->bps = 8;
		  }
This fix will be in release 2.4.1, planned for next week.

L. Peter Deutsch :: Aladdin Enterprises :: P.O. box 60264, Palo Alto, CA 94306
ghost@aladdin.com, ...decwrl!aladdin!ghost ; 415-322-0103 8-9 AM M-F/msg
	    "Implementation is the sincerest form of flattery."
Technical Details
Message-ID: <9204110649.1.UUL1.3#5127@aladdin.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!aladdin.COM!ghost
References: ghost@aladdin.COM (L. Peter Deutsch)

Show Full Headers
Complete Article Headers
Newsgroups: gnu.ghostscript.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!aladdin.COM!ghost
From: ghost@aladdin.COM (L. Peter Deutsch)
Subject: Re: line rendering in ghostscript2.4
Message-ID: <9204110649.1.UUL1.3#5127@aladdin.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: ghost@aladdin.COM (L. Peter Deutsch)
Distribution: gnu
Date: Sat, 11 Apr 1992 13:49:47 GMT
Approved: bug-ghostscript@prep.ai.mit.edu
Lines: 33