I need a way to calculate the actual height of a character drawn with CDC::DrawText.
Take for example the attached picture where the letter "s" is drawn with a grey background.
GetTextExtend returns the height of the character including this background space.
Same goes for DrawText if used with the DT_CALCRECT flag.
Is there a way to get the height of only the actual character?
Just from the top of the "s" to the bottom of it ?