public GlyphEntry createGlyphEntry(char c, char referenceChar)
{
int index = getCharIndex(referenceChar);
index = cmapFmt.mapCharCode(index);
Glyph glyph = getGlyph(index);
Shape s = getShapeFromGlyph(glyph);
GlyphEntry ge = new GlyphEntry();
ge.advance = (int)(getAdvance(referenceChar) * emScale * (useTwips ? SwfConstants.TWIPS_PER_PIXEL : 1));