I want to get the exact height of characters such as [.] [,] [j] [g] [a] [l].
I tried this
FormattedText formattedText = getText(".");
var height1 = formattedText.Height; //Extra space will be included
var height2 = formattedText.Baseline; //Characters such as [j] are cut off.