Module: wine Branch: master Commit: 17cd9d3325994a6862706d4946c55d8f1e35adf4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=17cd9d3325994a6862706d4946...
Author: Aric Stewart aric@codeweavers.com Date: Wed Feb 1 14:52:35 2012 -0600
usp10: We do not yet shape hangul properly so allow for SSA_LINK flags to take effect.
---
dlls/usp10/usp10.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index 1f2b863..cad234f 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;