// See code marked FONTHACK elsewhere in this file
// Create a GlyphVector for this single character.
FontRenderContext orig = getContext();
FontRenderContext frc = new FontRenderContext(null, orig
.isAntiAliased(), orig.usesFractionalMetrics());
Shape shape = font.createGlyphVector(frc, new char[] { getUnicode(i) })
.getGlyphOutline(0);
return orig.getTransform().createTransformedShape(shape);
}