fprintf(stderr, "=== nsICharRepresentable %s failed\n", aSelf->mCharSet);
PRINTF("=== nsICharRepresentable %s failed\n", aSelf->mCharSet);
SetUpFontCharSetInfo(nsFontCharSetInfo* aSelf){  nsCOMPtr<nsIAtom> charset;  nsresult result = gCharSetManager->GetCharsetAtom2(aSelf->mCharSet,                                                     getter_AddRefs(charset));  if (NS_SUCCEEDED(result)) {    nsIUnicodeEncoder* converter = nsnull;    result = gCharSetManager->GetUnicodeEncoder(charset, &converter);    if (NS_SUCCEEDED(result)) {      aSelf->mConverter = converter;      result = converter->SetOutputErrorBehavior(converter->kOnError_Replace,        nsnull, '?');      nsCOMPtr<nsICharRepresentable> mapper = do_QueryInterface(converter);      if (mapper) {        result = mapper->FillInfo(aSelf->mMap);        /*         * XXX This is a bit of a hack. Documents containing the CP1252         * extensions of Latin-1 (e.g. smart quotes) will display with those         * special characters way too large. This is because they happen to         * be in these large double byte fonts. So, we disable those         * characters here. Revisit this decision later.         */        if (aSelf->Convert == DoubleByteConvert) {          PRUint32* map = aSelf->mMap;          /* FIXME           * Original value for comparison was 0x3000, changed it to be inline           * with GTK version.           */                     for (PRUint16 i = 0; i < (0x2200 >> 5); i++) {            map[i] = 0;          }        }      }      else        fprintf(stderr, "=== nsICharRepresentable %s failed\n", aSelf->mCharSet);    }    else       fprintf(stderr, "=== GetUnicodeEncoder %s failed\n", aSelf->mCharSet);  }  else    fprintf(stderr, "=== GetCharsetAtom2 %s failed\n", aSelf->mCharSet);}