private FontBuilder(int code, boolean hasLayout, boolean useFlashType)
{
if (code == Tag.stagDefineFont2)
tag = new DefineFont2();
else if (code == Tag.stagDefineFont3)
tag = new DefineFont3();
else
throw new SWFFontNotSupportedException("Cannot build DefineFont for SWF tag code " + code);
tag.hasLayout = hasLayout;
glyphEntryMap = new IntMap(100); //Sorted by code point order