fix UTF8 html drawing problem problem introduced yesterday when remove cuv stuff

git-svn-id: svn://10.0.0.236/trunk@11763 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ftang%netscape.com 1998-10-02 12:03:28 +00:00
parent 495f665baa
commit 9c4661e97d

View File

@ -760,8 +760,7 @@ int CDCCX::SelectNetscapeFont( HDC hdc, LO_TextAttr *pAttr, CyaFont *& pMyFont )
char *pEncordingStr = NULL;
int isUnicode = 0;
#ifdef XP_WIN32
if ( CIntlWin::UseUnicodeFontAPI( pEncoding->iCSID ) &&
! ( pEncoding->iCSID == CS_UTF8 ) ) {
if ( CIntlWin::UseUnicodeFontAPI( pEncoding->iCSID )) {
// set the encording to use ::TextOutW()
pEncordingStr = "Unicode";
isUnicode = 1;