init glyph matrix (init frame).