nsFontSubset::GetWidth(HDC aDC, const PRUnichar* aString, PRUint32 aLength)
nsFontSubsetSubstitute::GetWidth(HDC aDC, const PRUnichar* aString, PRUint32 aLength)
nsFontSubset::GetWidth(HDC aDC, const PRUnichar* aString, PRUint32 aLength){  char str[CHAR_BUFFER_SIZE];  char* pstr = str;  int len = CHAR_BUFFER_SIZE;  Convert(aString, aLength, &pstr, &len);  if (len) {    SIZE size;    ::GetTextExtentPoint32A(aDC, pstr, len, &size);    if (pstr != str) {      delete[] pstr;    }    return size.cx;  }  return 0;}