[iOS] Cherokee language is drawn as boxes
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Dec 2014 23:25:38 +0000 (23:25 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Dec 2014 23:25:38 +0000 (23:25 +0000)
https://bugs.webkit.org/show_bug.cgi?id=139706

Reviewed by Simon Fraser.

Source/WebCore:

Test: platform/ios-simulator/fast/text/cherokee.html

* platform/graphics/ios/FontCacheIOS.mm:
(WebCore::languageSpecificFallbackFont):

LayoutTests:

* platform/ios-simulator/fast/text/cherokee-expected.html: Added.
* platform/ios-simulator/fast/text/cherokee.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177404 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/platform/ios-simulator/fast/text/cherokee-expected.html [new file with mode: 0644]
LayoutTests/platform/ios-simulator/fast/text/cherokee.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ios/FontCacheIOS.mm

index 7ca3abe..86e90f3 100644 (file)
@@ -1,3 +1,13 @@
+2014-12-16  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        [iOS] Cherokee language is drawn as boxes
+        https://bugs.webkit.org/show_bug.cgi?id=139706
+
+        Reviewed by Simon Fraser.
+
+        * platform/ios-simulator/fast/text/cherokee-expected.html: Added.
+        * platform/ios-simulator/fast/text/cherokee.html: Added.
+
 2014-12-16  Alexey Proskuryakov  <ap@apple.com>
 
         https://bugs.webkit.org/show_bug.cgi?id=139708
diff --git a/LayoutTests/platform/ios-simulator/fast/text/cherokee-expected.html b/LayoutTests/platform/ios-simulator/fast/text/cherokee-expected.html
new file mode 100644 (file)
index 0000000..209f5ea
--- /dev/null
@@ -0,0 +1,2 @@
+<meta charset="utf-8">
+<div style="font-family: Helvetica; font-size: 150px;">ᏫᎩᏇᏗᏯ</div>
diff --git a/LayoutTests/platform/ios-simulator/fast/text/cherokee.html b/LayoutTests/platform/ios-simulator/fast/text/cherokee.html
new file mode 100644 (file)
index 0000000..1422d0a
--- /dev/null
@@ -0,0 +1,2 @@
+<meta charset="utf-8">
+<div style="font-size: 150px;">ᏫᎩᏇᏗᏯ</div>
index 794bd0d..08e19b2 100644 (file)
@@ -1,3 +1,15 @@
+2014-12-16  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        [iOS] Cherokee language is drawn as boxes
+        https://bugs.webkit.org/show_bug.cgi?id=139706
+
+        Reviewed by Simon Fraser.
+
+        Test: platform/ios-simulator/fast/text/cherokee.html
+
+        * platform/graphics/ios/FontCacheIOS.mm:
+        (WebCore::languageSpecificFallbackFont):
+
 2014-12-16  Enrica Casucci  <enrica@apple.com>
 
         Fix iOS builders for 8.0
index 8b36a42..3f6f7e4 100644 (file)
@@ -149,8 +149,8 @@ static LanguageSpecificFont languageSpecificFallbackFont(UChar32 c)
         return LanguageSpecificFont::None;
     if (c < 0x1200)
         return LanguageSpecificFont::Korean;
-    if (c < 0x1401)
-        return LanguageSpecificFont::Khmer; // FIXME: These codepoints don't belong to Khmer
+    if (c < 0x1400)
+        return LanguageSpecificFont::None;
     if (c < 0x1780)
         return LanguageSpecificFont::CanadianAboriginalSyllabic;
     if (c < 0x1800)