handle unicode ZWNJ
This commit is contained in:
parent
fd3a280708
commit
0e6d4483c4
|
@ -867,7 +867,8 @@ QList<int> calcGlyphStartCharList(const QString &text)
|
|||
}
|
||||
i+=2;
|
||||
continue;
|
||||
} else if (ch.unicode() == 0x200D) {
|
||||
} else if (ch.unicode() == 0x200D || ch.unicode() == 0x200C ) {
|
||||
//ZWJ && ZWNJ
|
||||
consecutive = true;
|
||||
} else if (ch.combiningClass()!=0 && !glyphStartCharList.isEmpty()) {
|
||||
//a Combining character
|
||||
|
|
Loading…
Reference in New Issue