The font class provides a width method to determine the width of a 
character but how do I figure out the height of a character?

Background: In my quest to get all the inline dimensions right so any 
background/border/padding is correctly applied I am currently looking 
at leaders. For leader-style="dots" everything is basically user agent 
defined. Fop uses the dot character from the current font which is a 
sensible selection IMO. The bdp of the content-rectangle for a leader 
area is determined by the rule-thickness trait. In this case the rule 
thickness would be the height of the dot character. How do I figure 
that out? For the time being I will simply use the width of the dot 
character as its height.

Manuel

Reply via email to