+ /* notice: if skipunused is true, font->glyph2ascii, font->glyphnames and font->layout->bounds will
+ have more memory allocated than just font->numchars, but only the first font->numchars
+ are used/valid */
+
+ for(t=0;t<font->maxascii;t++) {
+ if(font->ascii2glyph[t]>=0) {
+ font->ascii2glyph[t] = glyph2glyph[font->ascii2glyph[t]];
+ }
+ }
+ free(glyph2glyph);