int unitsPerEm = face->units_per_EM;
gstring.size = gstring.used = len;
- gstring.glyphs = alloca (sizeof (OTF_Glyph) * len);
+ gstring.glyphs = malloc (sizeof (OTF_Glyph) * len);
memset (gstring.glyphs, 0, sizeof (OTF_Glyph) * len);
for (i = 0; i < len; i++)
gstring.glyphs[i].c = gstring.glyphs[i].glyph_id = glyph_rec.glyphs[i];
else
base = g, base_width = advance;
}
+ free (gstring.glyphs);
+
XtSetArg (arg[0], XtNbitmap, seq_pixmap);
XtSetValues (seq_image, arg, 1);
}