glyph height?
in
Core Library Questions
•
2 years ago
it would be useful to know the height of text drawn with a given font.
font.getGlyph() seems like the route to go for this, using a standard character (e.g. 'A') to get metrics. however, i can't access any of the fields of Glyph, even though Glyph is a public class, and its fields (e.g. height) are public as well.
maybe this is an inner class thing? just wondering why i can't access Glyph's fields.
thanks!
1