changed gid to ascii2glyph and codes to glyph2ascii