Reordering can take place even if the font does not identify itself as

a reordering one.
This commit is contained in:
Shachar Shemesh 2003-03-24 19:27:53 +00:00 committed by Alexandre Julliard
parent 8d7b8e573f
commit 5aec52cccb
1 changed files with 1 additions and 3 deletions

View File

@ -157,9 +157,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
FIXME("called on an open path\n");
else if(dc->funcs->pExtTextOut)
{
DWORD fontLangInfo=0;
if( !(flags&(ETO_GLYPH_INDEX|ETO_IGNORELANGUAGE)) &&
((fontLangInfo=GetFontLanguageInfo( hdc ))&(GCP_REORDER|GCP_GLYPHSHAPE)) )
if( !(flags&(ETO_GLYPH_INDEX|ETO_IGNORELANGUAGE)) )
{
/* The caller did not specify that language processing was already done,
* and the font idetifies iteself as requiring language processing.