else	{  pSize->cx = (int) ((long)pMyFont->GetMeanWidth() * (long)iLength); pSize->cy = pMyFont->GetHeight(); bRetval = TRUE; } return(bRetval); #endif }
BOOL CDCCX::ResolveTextExtent(int16 wincsid, HDC pDC, LPCTSTR pString, int iLength, LPSIZE pSize, CyaFont *pMyFont)	{	// Always measure it because the bytes * mean width algorithm 	// won't work for many code point. Expecially UTF8 which 3 byte 	// could be one character which takes 1 or 2 columns.	return CIntlWin::GetTextExtentPointWithCyaFont(pMyFont, wincsid, pDC, pString, iLength, pSize);#if 0	BOOL bRetval;	// if(pMyFont->GetMeanWidth() == 0 )	{	if( ! pMyFont->IsFixedFont() ) {		bRetval = CIntlWin::GetTextExtentPointWithCyaFont(pMyFont, wincsid, pDC, pString, iLength, pSize);		return(bRetval);	}	else	{		//	fixed size.		pSize->cx = (int) ((long)pMyFont->GetMeanWidth() * (long)iLength);		pSize->cy = pMyFont->GetHeight();		bRetval = TRUE;	}	return(bRetval);#endif}