DoubleByteConvert(nsFontCharSetInfo* aSelf, XFontStruct* aFont,
DoubleByteConvert(nsFontCharSetXlibInfo* aSelf, XFontStruct* aFont,
DoubleByteConvert(nsFontCharSetInfo* aSelf, XFontStruct* aFont,                   const PRUnichar* aSrcBuf, PRInt32 aSrcLen, char* aDestBuf,                   PRInt32 aDestLen){  int count = 0;  if (aSelf->mConverter) {    aSelf->mConverter->Convert(aSrcBuf, &aSrcLen, aDestBuf, &aDestLen);    count = aDestLen;    if (count > 0) {      if ((aDestBuf[0] & 0x80) && (!(aFont->max_byte1 & 0x80))) {        for (PRInt32 i = 0; i < aDestLen; i++)          aDestBuf[i] &= 0x7F;      }      else if ((!(aDestBuf[0] & 0x80)) && (aFont->min_byte1 & 0x80)) {        for (PRInt32 i = 0; i < aDestLen; i++)            aDestBuf[i] |= 0x80;      }    }  }  else    count = 0;  return count;}