/**
* Get the outline of a character given the glyph id
*/
protected synchronized GeneralPath getOutline (int glyphId, float width) {
// find the glyph itself
GlyfTable glyf = (GlyfTable) this.font.getTable ("glyf");
Glyf g = glyf.getGlyph (glyphId);
GeneralPath gp = null;
if (g instanceof GlyfSimple) {
gp = renderSimpleGlyph ((GlyfSimple) g);
} else if (g instanceof GlyfCompound) {