usp10: We do not yet shape hangul properly so allow for SSA_LINK flags to take effect.

This commit is contained in:
Aric Stewart 2012-02-01 14:52:35 -06:00 committed by Alexandre Julliard
parent 57bb0898f3
commit 17cd9d3325
1 changed files with 4 additions and 0 deletions

View File

@ -1856,6 +1856,10 @@ HRESULT WINAPI ScriptStringAnalyse(HDC hdc, const void *pString, int cString,
}
}
/* FIXME: When we properly shape Hangul remove this check */
if ((dwFlags & SSA_LINK) && !analysis->glyphs[i].fallbackFont && analysis->pItem[i].a.eScript == Script_Hangul)
analysis->pItem[i].a.fNoGlyphIndex = TRUE;
if ((dwFlags & SSA_LINK) && !analysis->glyphs[i].fallbackFont && !scriptInformation[analysis->pItem[i].a.eScript].props.fComplex)
analysis->pItem[i].a.fNoGlyphIndex = TRUE;