Ticket Created
over 5 years ago

WERETECH-8512

Documentation enhancement getFontAscent/Descent

The specification for Graphics.getFontAscent and getFontDescent could be improved from:

"Get the recommended distance [above|below] the baseline for single spaced text."

to:

"Get the distance [above|below] the baseline of the given font. The baseline defines the lower edge of the numerals and the non-descending letters such as a, b, c, A, B, C… but not g,j,p".

I found the references to "recommended distance" , and "single spaced text" obscured their significance when vertically aligning the base of text of different fonts to a line.