Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1139)

Unified Diff: third_party/WebKit/Source/platform/fonts/CharacterPropertyDataGenerator.h

Issue 1861033003: Fix Hangul Tone Marks not to delimit in CachingWordShapeIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add isCJKIdeographOrSymbolBase and fix test Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/fonts/CharacterPropertyDataGenerator.h
diff --git a/third_party/WebKit/Source/platform/fonts/CharacterPropertyDataGenerator.h b/third_party/WebKit/Source/platform/fonts/CharacterPropertyDataGenerator.h
index 9f20428d35ad1784869328da56fe09153c2f63b0..3604bb1165a0be9ba4307cff9f8301c0910a45e5 100644
--- a/third_party/WebKit/Source/platform/fonts/CharacterPropertyDataGenerator.h
+++ b/third_party/WebKit/Source/platform/fonts/CharacterPropertyDataGenerator.h
@@ -73,9 +73,11 @@ static const UChar32 isCJKIdeographOrSymbolRanges[] = {
0x270A, 0x270D,
// Ideographic Description Characters, with CJK Symbols and Punctuation,
// excluding 0x3030.
+ // Exclude Hangul Tone Marks (0x302E .. 0x302F) because Hangul is not Han
+ // and no other Hangul are included.
// Then Hiragana 0x3040 .. 0x309F, Katakana 0x30A0 .. 0x30FF, Bopomofo
// 0x3100 .. 0x312F
- 0x2FF0, 0x302F,
+ 0x2FF0, 0x302D,
0x3031, 0x312F,
// More Bopomofo and Bopomofo Extended 0x31A0 .. 0x31BF
0x3190, 0x31BF,

Powered by Google App Engine
This is Rietveld 408576698