nsFontXlibNormal::GetWidth(const PRUnichar* aString, PRUint32 aLength)
nsFontXlibUserDefined::GetWidth(const PRUnichar* aString, PRUint32 aLength)
nsFontXlibNormal::GetWidth(const PRUnichar* aString, PRUint32 aLength){  if (!mFont)  {    LoadFont();    if (!mFont)      return 0;  }    XChar2b buf[512];  int len = mCharSetInfo->Convert(mCharSetInfo, (XFontStruct*) mFont, aString,                                   aLength, (char *) buf, sizeof(buf));  if ((mFont->min_byte1 == 0) && (mFont->max_byte1 == 0))    return XTextWidth(mFont, (char*) buf, len);  else    return XTextWidth16(mFont, buf, len);}