From 17cd9d3325994a6862706d4946c55d8f1e35adf4 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Wed, 1 Feb 2012 14:52:35 -0600 Subject: [PATCH] usp10: We do not yet shape hangul properly so allow for SSA_LINK flags to take effect. --- dlls/usp10/usp10.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index 1f2b863b26..cad234f387 100644 --- a/dlls/usp10/usp10.c +++ b/dlls/usp10/usp10.c @@ -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; -- 2.32.0.93.g670b81a890