}
private static Raster renderChar(char ch, TTFFontData fdata, RenderContext ctx)
throws IOException {
final int idx = fdata.getCMapTable().getEncodingTable(0).getTableFormat().getGlyphIndex(ch);
final ShapedGlyph g = (ShapedGlyph) fdata.getGlyphTable().getGlyph(idx);
Shape shape = g.getShape();
// System.out.println("shape.bounds " + shape.getBounds());
final HorizontalHeaderTable hheadTable = fdata
.getHorizontalHeaderTable();
final double ascent = hheadTable.getAscent();