[comp.windows.x] Xdvi for X11

eichin@ATHENA.MIT.EDU (Mark W. Eichin) (07/23/88)

Since I just finished some minor bug fixes to it, I'd just like to
send out a mention of xdvi for X11R2. It works on the Vax (4.3BSD) and
IBM PC/RT (also 4.3BSD) and started out as a port of the X10R3
version. It supports PK files (it will fall back to PXL if it doesn't
find PK.)

Bug Fixes (since the last X11 version):
	some visual glitches were fixed. Narrow vertical and
horizontal lines used to disappear; not any more. 
	There was a bug in the sampling algorithm that would cause
even sized samples of characters with an odd number of pixels to have
an underline (and possibly side lines, though that was seen only
rarely). Also fixed.
	-display and -geometry arguments work now. So do the old
forms, though they didn't work in any previous version of this.
	Using screens other than zero works.

Addition:
	Added a S function (either command line -S number or
keystrokes number S) to change the sampling fraction (that is, the
fraction of the area that is being converted to one pixel to require
to be black for the pixel to be black.) 0 is special, meaning any
black yields black. (It turns out that the original hardcoded value of
3 is just right, so this isn't too exciting.)

This will be available from SIPB.MIT.EDU:~ftp/pub/x11r2dvi.tar.Z
(compressed tar file.) SIPB is [18.80.0.13] (also known as CHARON). 

% ls -l x11r2dvi.tar.Z
-rw-r--r--  1 eichin   sstaff    60759 Jul 22 23:06 x11r2dvi.tar.Z
% sum x11r2dvi.tar.Z 
28118    60

				Mark Eichin
			<eichin@athena.mit.edu>
		SIPB Member & Project Athena ``Watchmaker'' 

ps. Anybody want to modify this to use X fonts? Built with gftobdf? Please? 

eichin@ATHENA.MIT.EDU (Mark W. Eichin) (10/14/88)

I ported the X10R3 xdvi to X11R2. I cleaned it up some, made it more
portable (after feedback from testers around the world) and submitted
it for X11R3.

It will be in X11R3; it is available via anonymous ftp from:
	expo.lcs.mit.edu ~ftp/contrib/xdvi.tar.Z
	SIPB.MIT.EDU, ~/ftp/pub/x11r3dvi.tar.Z

It has been tested on the Sun (bw and color); DEC VS2/VS2000 with
qvss, qdss, or sm under Ultrix and 4.3BSD; IBM PC/RT with apa16 under
4.3; and others. I am continuing development on it; for example, this
version uses XPutImage to draw the characters, since XImage is FOUR
TIMES FASTER than XCopyArea from a Pixmap even after the pixmap is
cached... (this is on the VS2000 using the MIT server, and under Xibm
on the RT, you mileage may vary.) I intend to change this once the
servers start doing the right thing (maybe even in X11R3...)

bugs to me; note that this one fixes a number of bugs in the X10R3
version, such as disappearing lines and the `underline glitch' at full
resolution.

				Mark Eichin
			<eichin@athena.mit.edu>
		SIPB Member & Project Athena ``Watchmaker'' 

ps. If you must get it via email, I can send it out as 3 files, which
are tar|compress|btoa|split -500, totalling about 80K. Do your best to
ftp it first though; I respond quickly to bug-fixes but slowly to
requests for mail. :-)