You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Scott Hofmann <ho...@one.net> on 2001/02/08 22:32:51 UTC

Font dimensions

I'm trying to understand how text is dimensioned vertically. If I put text
into a fo:block I notice space occurring before and after the text in
addition to the height of the font itself. How do I figure out how much
space is placed above and below the font so I can come up with a total
amount of space that will be used vertically in a particular fo:block?

space above the letter + the letter height + the space below the letter  = ?
Is there a way to calculate this? Does the space above and below vary
proportionately to the font size specified for the letter?

Can someone point me in the right direction with a link or an explanation?

Scott Hofmann - hofmanns@one.net


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org