Add wrapper types for glyph, character, and box indices

r? @pcwalton