Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 UW 5/3/83; site uw-beaver
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!vax135!cornell!uw-beaver!laser-lovers
From: laser-lovers@uw-beaver (laser-lovers)
Newsgroups: fa.laser-lovers
Subject: imagen bug
Message-ID: <1823@uw-beaver>
Date: Sun, 30-Sep-84 21:47:41 EDT
Article-I.D.: uw-beave.1823
Posted: Sun Sep 30 21:47:41 1984
Date-Received: Thu, 4-Oct-84 03:23:25 EDT
Sender: root@uw-beave
Organization: U of Washington Computer Science
Lines: 16

From: ihnp4!uofm-cv!cosivax!dbo@uw-beaver.arpa

There seems to be a bug in the Imagen program dviimp.  The conversion
factor fixptrsuconv is calculated as
	fixptrsuconv = ((double) 2.54 / 72.27) * ( 1.0e5 / 2.0e20 );
I think that they mean to use 1 * 2^20, not 2 * 10^20 at the end of
the expression.  As it is, on our vax, fixptrsuconv == 0.0, causing
characters to all have widths of 0 (causing problems if you rely on
advancing by the width of the character just output).  I replaced
the 2.0e20 with (1L << 20) and it seemed to work fine.

	Douglas Orr
	uofm-cv!cosivax!dbo