mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Only strip zero-width joiner and non-joiner control characters when we do our own Arabic shaping. Bug 280936, r=jshin, sr=rbs
This commit is contained in:
parent
ae93203d63
commit
dae508598f
@ -350,7 +350,9 @@ nsresult ArabicShaping(const PRUnichar* aString, PRUint32 aLen,
|
||||
}
|
||||
if(! done)
|
||||
*lDest++ = *lSrc++;
|
||||
}
|
||||
} else if (0x200C == *lSrc || 0x200D == *lSrc)
|
||||
// Strip zero-width joining controls ZWJ and ZWNJ from the shaped text
|
||||
lSrc++;
|
||||
else
|
||||
*lDest++ = *lSrc++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user