begin glyph dist prototype