usp10: Handle dangling joiners when processing Indic GlyphProps.
This commit is contained in:
parent
b036c8a38d
commit
746679e186
|
@ -3302,7 +3302,11 @@ static void ShapeCharGlyphProp_BaseIndic( HDC hdc, ScriptCache *psc, SCRIPT_ANAL
|
||||||
break;
|
break;
|
||||||
case lex_ZWJ:
|
case lex_ZWJ:
|
||||||
case lex_ZWNJ:
|
case lex_ZWNJ:
|
||||||
k = char_count;
|
/* check for dangling joiners */
|
||||||
|
if (pwcChars[char_index[k]-1] == 0x0020 || pwcChars[char_index[k]+1] == 0x0020)
|
||||||
|
pGlyphProp[i].sva.fClusterStart = 1;
|
||||||
|
else
|
||||||
|
k = char_count;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
pGlyphProp[i].sva.fClusterStart = 1;
|
pGlyphProp[i].sva.fClusterStart = 1;
|
||||||
|
|
Loading…
Reference in New Issue