Commit Graph

6 Commits

Author SHA1 Message Date
Andrey Kiselev
8ae9d8798a Page size was determined in wrong way as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=239
2002-12-19 23:06:18 +00:00
Frank Warmerdam
4f4c99abfc From Helge (libtiff@oldach.net)
Here's a fix for fax2ps that corrects behaviour for non-Letter paper
sizes. It fixes two problems:

Without scaling (-S) the fax is now centered on the page size specified
with -H and/or -W. Before, fax2ps was using an obscure and practially
useless algorithm to allocate the image relative to Letter sized paper
which sometime sled to useless whitespace on the paper, while at the
same time cutting of the faxes printable area at the opposite border.

Second, scaling now preserves aspect ratio, which makes unusual faxes
(in particular short ones) print properly.
2001-03-29 01:45:43 +00:00
Frank Warmerdam
6e8bb63779 fixed swapping of width and height in BoundingBox 2000-03-28 18:22:59 +00:00
Mike Welles
c21b8b9753 ke Welles <mike@onshore.com>
* fax2ps:  Modified printruns to take uint32 instead of uint16.
	Patch courtesy of Bernt Herd <herd@herdsoft.com>

	* html:  Createdd v3.5.5.htmlCVS: Modified Files:
2000-03-27 17:05:55 +00:00
Frank Warmerdam
0c05326424 Modified to compile on Windows. 1999-08-17 03:07:43 +00:00
Mike Welles
0ef31e1f62 Initial revision 1999-07-27 21:50:26 +00:00