Microsoft KB Archive/21051

Meaning of Half-Width Correction

PSS ID Number: Q21051 Article last modified on 11-02-1994

2.x 3.00 3.10 3.11 4.00 5.00 5.50 6.00

MS-DOS

= SUMMARY =

If the Microspace justification flag is set to 4 or 6 in the Header section of a printer driver (PRD) file, half-width correction is invoked. To calculate the distance between each character of a proportionally spaced font, use the following algorithm:


 * 1) Add the width of the character about to be printed to the width of the character just printed.
 * 2) Divide the sum by 2.

The resulting value is then passed to the control code at byte:28, which sets character spacing.

Because half-width correction causes the character spacing sequence to be used between each character, printing will probably be very slow.

KBCategory: kbother KBSubcategory: Additional reference words:

=
================================================================ Copyright Microsoft Corporation 1994.