How to find exact size for an arbitrary glyph in WPF?
问题 I need to find exact size for each character in an arbitrary font. The font is loaded using GlyphTypeface class. The problem is that I can access directly only width of a glyph using the AdvanceWidths property, but the height is the same for each characters and it is set to Height property. It seems that individual character height can be computed using a combination of Baseline, Height, XHeight, BottomSideBearings and TopSideBearings properties, but there is no documentation about real