for (PRInt32 i = 0; i < count; i++) { nsGlyphTable* glyphTable = gGlyphTableList->ElementAt(i);
for (i = 0; i < count; i++) { glyphTable = gGlyphTableList->TableAt(i);
PreferredFontEnumCallback(const nsString& aFamily, PRBool aGeneric, void *aData){  nsAutoString fontName;  PreferredFontEnumContext* context = (PreferredFontEnumContext*)aData;  PRInt32 count = gGlyphTableList->Count();  for (PRInt32 i = 0; i < count; i++) {    nsGlyphTable* glyphTable = gGlyphTableList->ElementAt(i);    glyphTable->GetPrimaryFontName(fontName);    if (fontName.EqualsIgnoreCase(aFamily)) {      // Add this table to the list of preferred extension tables for this char      if (!context->mFontCount) {         // this is the first font to be retained, remember        // the starting index where the first glyphTable was appended        if (context->mIsFontForParts) {          nsGlyphTableList::gParts[context->mCharIndex]             = gGlyphTableList->Count(PR_TRUE);        }        else {          nsGlyphTableList::gVariants[context->mCharIndex]            = gGlyphTableList->Count(PR_TRUE);        }      }      gGlyphTableList->AppendElement(glyphTable);      context->mFontCount++;      break;    }  }  return PR_TRUE; // don't stop}