int i = 0;
// long flashTypeTime = 0;
while (it.hasNext() && i < count)
{
GlyphEntry ge = (GlyphEntry)((Map.Entry)it.next()).getValue();
if (flashType && tag instanceof DefineFont3)
{
((DefineFont3)tag).zones.zoneTable[i] = ge.zoneRecord;
}
// Note: offsets to shape table entries calculated on encoding
tag.glyphShapeTable[i] = ge.shape;
// IMPORTANT! Update GlyphEntry Index
ge.setIndex(i);
// DEFINEFONT2/3 specific properties
if (tag.code != Tag.stagDefineFont)
{
tag.codeTable[i] = ge.character; // unsigned code point