Add GlyphPainter class.