Added captions test.

Fixed font class bug when encountering a new glyph for the first time during a GL draw call.