diff options
| author | Øystein Heskestad <oystein.heskestad@qt.io> | 2021-08-11 11:50:59 +0200 |
|---|---|---|
| committer | Øystein Heskestad <oystein.heskestad@qt.io> | 2021-11-10 09:44:03 +0100 |
| commit | 09291eead45a49e2450e2a6ab6da53351dedd4be (patch) | |
| tree | 342b26e4a6232cbd56ff04f3ed9fe2a7b7d65330 /src | |
| parent | 76b4739e0714414fa6a8ae999bc93a692f5c81aa (diff) | |
Add additional grapheme, word, and sentence break class tests from tr29
Stop turning THAI CHARACTER SARA AM into a grapheme boundary because it
breaks a test and chromium does not consider it to be a separate
grapheme.
Fixes: QTBUG-88545
Change-Id: Ib1aea8dbb66ac42b2129cf9fe04c39f5f76eeb36
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/corelib/text/qunicodetools.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/text/qunicodetools.cpp b/src/corelib/text/qunicodetools.cpp index be235aa0bf7..a924addda05 100644 --- a/src/corelib/text/qunicodetools.cpp +++ b/src/corelib/text/qunicodetools.cpp @@ -1503,10 +1503,6 @@ static void thaiAssignAttributes(const char16_t *string, qsizetype len, QCharAtt for (j = 1; j < cell_length; j++) attributes[i + j].graphemeBoundary = false; - /* Set graphemeBoundary for SARA AM */ - if (cstr[i + cell_length - 1] == static_cast<char>(0xd3)) - attributes[i + cell_length - 1].graphemeBoundary = true; - i += cell_length; } |
