::GetTextExtentPoint32A(aDC, str, len, &size);
::GetTextExtentPoint32A(aDC, buffer.get(), aLength, &size); size.cx -= mOverhangCorrection;
nsFontSubset::GetWidth(HDC aDC, const PRUnichar* aString, PRUint32 aLength){  // XXX allocate on heap if string is too long  char str[1024];  int len = WideCharToMultiByte(mCodePage, 0, aString, aLength, str,    sizeof(str), nsnull, nsnull);  if (len) {    SIZE size;    ::GetTextExtentPoint32A(aDC, str, len, &size);    return size.cx;  }  return 0;}