Adam Augusta wrote:
I think I've figured out the formula FOP uses. I'm quite sure it's wrong;
the height of the block should simply be line-height, if specified in
length, or as a multiplier of the font-size, if specified dimensionless.
It seems to be:
Diff(Ascender,Descender)*font-size/1000 + (line-height - font-size)
FOP adds a half-leading display space above and below the line,
the half-leading is computed as
(lineHeight - fontState.getFontSize()) / 2
There are numerous inconsistencies in the application though.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]