nsPostScriptObj *psObj = (nsPostScriptObj*)aClosure; NS_ENSURE_TRUE(psFontGenerator && psObj, PR_FALSE);
NS_ENSURE_TRUE(psFontGenerator && aClosure, PR_FALSE);
GeneratePSFontCallback(nsHashKey *aKey, void *aData, void* aClosure){  nsPSFontGenerator* psFontGenerator = (nsPSFontGenerator*)aData;  nsPostScriptObj *psObj = (nsPostScriptObj*)aClosure;  NS_ENSURE_TRUE(psFontGenerator && psObj, PR_FALSE);  FILE *f = psObj->GetPrintFile();  if (f)    psFontGenerator->GeneratePSFont(f);  return PR_TRUE;}