2.1.476 Part 4 Section 220.127.116.11, truncateFontHeightsLikeWP6 (Emulate WordPerfect 6.x Font Height Calculation)
a. The standard does not state exactly how to emulate WordPerfect 6.x font height calculation.
In Office, this element specifies that Word should perform a specific method of calculation when converting font heights, specified in points using the sz (“[ECMA-376] Part 4 §18.104.22.168; sz (Font Size)”) and szCs (“[ECMA-376] Part 4 §22.214.171.124; szCs (Complex Script Font Size)”) elements, into pixels. This algorithm often results in a smaller than typical visual appearance of text for a given point size.
Typically, applications convert points to pixels using any approximate mathematical conversion mechanism (often, rounded integer division). This element, when present with a val attribute value of true (or equivalent), specifies that Word will use truncated integer division when performing this conversion (any non-integer value is truncated to determine the integer value resulting from the conversions).
[Example: If this compatibility setting is turned on:
<w:compat> <w:truncateFontHeightsLikeWP6 /> </w:compat>
Then Word shall use truncated integer division when calculating the height of characters.
For example, if the conversion is done as follows:
Converting a 14 point font on a 96 dpi device results in. If this setting is on, the result is truncated and the font is displayed using 18 pixels, even though 19 would be closer to the actual value. end example]
This note applies to the following products: 2007, 2007 SP1, 2007 SP2.