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

Unified Diff: Source/platform/fonts/Character.h

Issue 1156763003: Revert of Unicode Variation Selectors support in collectCandidateRuns (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | Source/platform/fonts/shaping/HarfBuzzShaper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/Character.h
diff --git a/Source/platform/fonts/Character.h b/Source/platform/fonts/Character.h
index eeffbc68ee348496f5b436a679f83769dea155a9..b2a76fe5ceb69ebd3e487344597e32da0f04c486 100644
--- a/Source/platform/fonts/Character.h
+++ b/Source/platform/fonts/Character.h
@@ -49,14 +49,6 @@
static inline bool isInRange(UChar32 character, UChar32 lowerBound, UChar32 upperBound)
{
return character >= lowerBound && character <= upperBound;
- }
-
- static inline bool isUnicodeVariationSelector(UChar32 character)
- {
- // http://www.unicode.org/Public/UCD/latest/ucd/StandardizedVariants.html
- return isInRange(character, 0x180B, 0x180D) // MONGOLIAN FREE VARIATION SELECTOR ONE to THREE
- || isInRange(character, 0xFE00, 0xFE0F) // VARIATION SELECTOR-1 to 16
- || isInRange(character, 0xE0100, 0xE01EF); // VARIATION SELECTOR-17 to 256
}
static bool isCJKIdeograph(UChar32);
« no previous file with comments | « no previous file | Source/platform/fonts/shaping/HarfBuzzShaper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698