changed codes and gid in SWFFONT to glyph2ascii and ascii2glyph.