For more information on implementing fonts, including code examples, see chapter 5, "The Font Engine."
class HT_Extent_Metrics {
public:
float m_ascent;
float m_descent;
float m_leading_space;
float m_trailing_space;
float * m_character_widths;
HT_Extent_Metrics ():
m_character_widths (null) {}
};
HT_Extent_Metrics