wfont->glyph = (SWFGLYPH*)malloc(num*sizeof(SWFGLYPH));
memset(wfont->glyph, 0, num*sizeof(SWFGLYPH));
wfont->glyph2ascii = (U16*)malloc(num*sizeof(U16));
wfont->glyph = (SWFGLYPH*)malloc(num*sizeof(SWFGLYPH));
memset(wfont->glyph, 0, num*sizeof(SWFGLYPH));
wfont->glyph2ascii = (U16*)malloc(num*sizeof(U16));