Openoffice is originally a Windows application which has somehow
been ported to Linux. So it probably uses the Windows method of
determining line spacing (see Fontforge FAQ, "How do I set the
line spacing on a font?"). This means using the OS2WinAscent and
OS2WinDescent values. In Times New Roman and Arial I found that
(in the .sfd version of the fonts):

OS2WinAscent value  = HheadAscent value;
OS2WinDescent value = negative of HheadDescent value.

So I tried this on the Freefonts also (by default, both values are
zero in the Freefonts). Success! No more crazy line spacing in
Openoffice. So far I have not found that this causes any problems
with "real" Linux programs like Mozilla or Abiword.

Of course a little bit more testing is needed, and a clear
explanation of why this works, but I think this is close to the
real solution.

Regards, Jan




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to