nsFontNode* node = (nsFontNode*) aElement;
nsFontNodeXlib* node = (nsFontNodeXlib*) aElement;
EnumerateNode(void* aElement, void* aData){  nsFontNode* node = (nsFontNode*) aElement;  EnumerateNodeInfo* info = (EnumerateNodeInfo*) aData;  if (info->mLangGroup != gUserDefined) {    if (node->mCharSetInfo == &Unknown) {      return PR_TRUE; // continue    }    else if (info->mLangGroup != gUnicode) {      if (node->mCharSetInfo->mLangGroup != info->mLangGroup) {        return PR_TRUE; // continue      }    }    // else {    //   if (lang == add-style-field) {    //     consider it part of the lang group    //   }    //   else if (a Unicode font reports its lang group) {    //     consider it part of the lang group    //   }    //   else if (lang's ranges in list of ranges) {    //     consider it part of the lang group    //     // Note: at present we have no way to do this test but we     //     // could in the future and this would be the place to enable    //     // to make the font show up in the preferences dialog    //   }    // }  }  PRUnichar** array = info->mArray;  int j = info->mIndex;  PRUnichar* str = node->mName.ToNewUnicode();  if (!str) {    for (j = j - 1; j >= 0; j--) {      nsMemory::Free(array[j]);    }    info->mIndex = 0;    return PR_FALSE; // stop  }  array[j] = str;  info->mIndex++;  return PR_TRUE; // continue}