I\'m working with fonts in a UILabel (iOS7) and have come across something I\'m hoping someone can explain: What is the relationship between a fonts\' Glyph, Ascender, and D
Every glyph (letter shape) in the font is a different size and shape, right? The glyph for character 'A' is taller than the glyph for character 'a', the top of the 't' glyph is different again.
Font.ascender is the maximum value for all letter shapes (glyphs) and Font.descender is the minimum value.
Any particular font could easily have an extra tall glyph that meant the Font.ascender value had no relation to the dimensions of a string that didn't contain that character.