Hello,

Using fop 0.20.4 ( tried 0.20.5, same behavior ) I'm struggling trying to understand the usage of line-height. I have a word doc that I am trying to clone via XSL FO/FOP and cannot get the line spacing to match. I am using Times New Roman 12pt with font embedding. The font metrics files were generated using the times.ttf file located in c:\winnt\fonts ( on a win= 2k machine). Without specifying any line-height the lines are spaced much further apart that the MS word file ( I don't seem word doing anything special with the spacing BTW, just single space). I've experimented with line-heght =3D 12pt and that actually makes the spacing too small. Shifting to % values and a lot of trial and error I ended up using line-height=107% and it seems to match pretty well. This is pure dumb luck though, can anyone please explain or point me in the right direction to understand how line-height is being calculated if I don't specify it, and why 107% of 12pt font seems like the "magic" number to match word single spacing with 12 pt
Times new Roman?

I'm stuck, any help is much appreciated.

thanks,
dave

==================================================
This communication may contain privileged and/or confidential information. It is intended solely for the use of the addressee. If you are not the intended recipient, you are strictly prohibited from disclosing, copying, distributing or using any of this information. If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. This communication may contain nonpublic personal information about consumers subject to the restrictions of the Gramm-Leach-Bliley Act. You may not directly or indirectly reuse or redisclose such information for any purpose other than to provide the services for which you are receiving the information.

Reply via email to