From: Robert L K. <rl...@al...> - 2000-02-15 03:56:46
|
I finally got tired enough of all the stupid layout bugs so that I decided to sit down and fix them all (well, there's still one left; it's possible to overflow the page in dpi mode). Specifically: 1) It wasn't possible to print to the edge of the page (as defined by the printer). 2) The page top/bottom/left/right (particularly bottom and right) in the size boxes wasn't displayed accurately (it *had* been coded in 1/10", because that's the units used to print out the pager -- really sillyl, that -- now it's all in points, which is more reasonable if still not all that precise). 3) The behavior of landscape mode was weird, to say the least. 4) Calculating the size based on scaling was also weird -- in portrait mode it just looked at the height of the page vs. the height of the image, and in landscape it just looked at width of the page and height of the image. Now it looks at both axes and scales so that the larger of the two ratios (widths and heights) is set equal to the scale factor. That seems more intuitive to me, at any rate. It avoids flipping between landscape and portrait mode as you rescale the image in auto mode (which seems just plain bizarre to me). 5) I changed the escp2 stuff so that the distance from the paper edge will be identical in softweave and in microweave mode. Henryk, that might not quite be what you intended (it's the opposite of what you actually did), but at least microweave and softweave should generate stuff that looks consistent. I might fix the bottom edge in softweave mode tonight, or maybe not. I'm pretty sure it's leaving more space than it needs to, but I'll have to experiment to find out what's safe. -- Robert Krawitz <rl...@al...> http://www.tiac.net/users/rlk/ Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2 Member of the League for Programming Freedom -- mail lp...@uu... Project lead for The Gimp Print -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |