From: "IvanLatysh" <[EMAIL PROTECTED]>

I have a small problem with line spacing when using custom fonts.

<snip/>


Before, when I used only times, courier and arial this process was perfect, I has no problems at all.
But since I add a few additional fonts I have a different line spacing on the screen and on the paper.
And the most interesting that spacing for arial still the same, but spacing for other fonts larger.
I hade a loot at the font metric file, and find that it might be a source of the problem, because for custom fonts there are was missing parameter x-height.
I calculate this parameter, and modify my ttf.fm.xml, but still no changes.

<snip/>


Have you had a look at

http://xml.apache.org/fop/output.html#ps ?

it doesnt mention line-height specifically, but I would imagine the problem is in the code as well as the height being missing from the font metrics. I would be good if this problem was captured for future reference in bugzilla. See following link on how to add this into bugzilla (please attach example Font metrics, FO and user config)

http://xml.apache.org/fop/bugs.html#issues_new

Thanks,

Chris

_________________________________________________________________
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile



Reply via email to