Please enable JavaScript to view this site.

A-Shell Development History

GDI printing bug fix/refinement: //SETVMI vertical spacing is now interpolated to fractional pixels, rather than being rounded to the nearest pixel. This corrects a problem where, depending on the VMI factor and resolution, you might have ended up with vertical spacing that was off by a fraction of a pixel. That doesn't sound like much, but by the time you get to the bottom of a page (60+ lines) a half pixel error multiplies to 30 pixels, which might be as much as an entire line. This problem typically showed up when switching between a laser printer (at 600 or 1200 DPI) and a PDF or FAX device at 100-300 DPI. And even then, it would generally have gone unnoticed unless you were using a mixture of GDI directives to draw boxes (which wouldn't have been subject to a per-line error accumulation) and regular print lines to fill them in.

COMPATIBILITY WARNING: Existing printouts which used //SETVMI to set the vertical spacing necessary for print lines to line up with boxes drawn with GDI primitives may be affected by this (generally in a way that improves the alignment, unless you happened to have relied on the accumulated rounding error without realizing it).

See the following forum thread for a more detailed discussion: http://www.microsabio.net/ubb2/ultimatebb.cgi?ubb=get_topic;f=1;t=000104