Hi,
when I write some words, MS Word "allocates" (reserves) some vertical space
on the page. The misure of this vertical space is greater than the font
height. There is a bit of space above and below the text.
I have noticed that this space height is approximately 120% the height of
the font, but it is too much approximately for me...
There is a constant relationship between the space height and the font
height, but it is true for the same font. If the font change, the constant
change too...
I've empirically found these constants:
Times New Roman: 118%
Courier New: 116,16%
Verdana: 124,5%
Arial: 118%
It is obvious that the constant change by the font.... but how?
The question is: exists a formula in order to calculate the height of the
space based on the height of the font? Which algorithm MS Word uses?
Thanks,
Cosimo Calabrese.
Jonathan West - 26 Apr 2007 14:33 GMT
> Hi,
>
[quoted text clipped - 19 lines]
> The question is: exists a formula in order to calculate the height of the
> space based on the height of the font? Which algorithm MS Word uses?
I believe it is part of the definition in the font file itself. So Microsoft
doesn't calculate anything, it takes the value stated in the font file.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Stefan Blom - 27 Apr 2007 10:30 GMT
To get control over the line spacing, use a fixed value. In the user
interface, choose "Exactly" for line spacing (Paragraph dialog box), and
specify the desired value. Of course, you can set the spacing in a
paragraph style.

Signature
Stefan Blom
Microsoft Word MVP
> Hi,
>
[quoted text clipped - 21 lines]
> Thanks,
> Cosimo Calabrese.