if (ret != null) return ret;
// FEATURE: be smarter here
- if (c < 256) Font.renderGlyphs(res, pointsize, 0, 255, glyphCache);
- else Font.renderGlyphs(res, pointsize, (int)c, (int)c, glyphCache);
+ if (c < 256) Freetype.renderGlyphs(res, pointsize, 0, 255, glyphCache);
+ else Freetype.renderGlyphs(res, pointsize, (int)c, (int)c, glyphCache);
ret = (Glyph)glyphCache.get(res, new Integer((((int)c) << 16) | pointsize));
if (ret != null) return ret;