for (int i = 0; i < textLength; i++) {
// get the index for the needed glyph
final char ch = text.charAt(i);
final int index = encTable.getTableFormat().getGlyphIndex(ch);
if (ch != ' ') {
final Glyph g = glyphTable.getGlyph(index);
final GlyphRenderer renderer = renderCache.getRenderer(g,
ascent);
final Dimension d;
d = renderer.createGlyphRaster(alphaRaster, fontSize);