Title: [186021] trunk
Revision
186021
Author
mmaxfi...@apple.com
Date
2015-06-26 19:04:12 -0700 (Fri, 26 Jun 2015)

Log Message

[iOS] AppleGothic has been superseded by Apple SD Gothic Neo
https://bugs.webkit.org/show_bug.cgi?id=146372
<rdar://problem/21574004>

Reviewed by Dean Jackson.

Source/WebCore:

Test: fast/text/hangul-generic-font-families.html

* page/mac/SettingsMac.mm:
(WebCore::Settings::initializeDefaultFontFamilies):

LayoutTests:

* fast/text/hangul-generic-font-families.html: Added.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/ios-simulator/fast/text/hangul-generic-font-families-expected.html: Added.
* platform/mac/fast/text/hangul-generic-font-families-expected.html: Added.
* platform/win/TestExpectations:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (186020 => 186021)


--- trunk/LayoutTests/ChangeLog	2015-06-27 01:43:17 UTC (rev 186020)
+++ trunk/LayoutTests/ChangeLog	2015-06-27 02:04:12 UTC (rev 186021)
@@ -1,3 +1,18 @@
+2015-06-26  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        [iOS] AppleGothic has been superseded by Apple SD Gothic Neo
+        https://bugs.webkit.org/show_bug.cgi?id=146372
+        <rdar://problem/21574004>
+
+        Reviewed by Dean Jackson.
+
+        * fast/text/hangul-generic-font-families.html: Added.
+        * platform/efl/TestExpectations:
+        * platform/gtk/TestExpectations:
+        * platform/ios-simulator/fast/text/hangul-generic-font-families-expected.html: Added.
+        * platform/mac/fast/text/hangul-generic-font-families-expected.html: Added.
+        * platform/win/TestExpectations:
+
 2015-06-26  Matt Daiter  <mdai...@apple.com>
 
         Supporting getStartDate and added tests

Added: trunk/LayoutTests/fast/text/hangul-generic-font-families.html (0 => 186021)


--- trunk/LayoutTests/fast/text/hangul-generic-font-families.html	                        (rev 0)
+++ trunk/LayoutTests/fast/text/hangul-generic-font-families.html	2015-06-27 02:04:12 UTC (rev 186021)
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="ko">
+<head>
+<meta charset="utf-8">
+</head>
+<body>
+This test is designed to test WebKit's mappings for the generic font families for Hangul scripts.
+<div style="font-size: 50px; font-family: serif;">국회법 개정안에 대한 박근혜 대통령의</div>
+<div style="font-size: 50px; font-family: fixed;">국회법 개정안에 대한 박근혜 대통령의</div>
+<div style="font-size: 50px; font-family: sans-serif;">국회법 개정안에 대한 박근혜 대통령의</div>
+</body>
+</html>

Modified: trunk/LayoutTests/platform/efl/TestExpectations (186020 => 186021)


--- trunk/LayoutTests/platform/efl/TestExpectations	2015-06-27 01:43:17 UTC (rev 186020)
+++ trunk/LayoutTests/platform/efl/TestExpectations	2015-06-27 02:04:12 UTC (rev 186021)
@@ -2279,3 +2279,4 @@
 
 # Test requires hardcoded font names, which I do not have for this port.
 fast/text/han-generic-font-families.html [ WontFix ]
+fast/text/hangul-generic-font-families.html [ WontFix ]

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (186020 => 186021)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2015-06-27 01:43:17 UTC (rev 186020)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2015-06-27 02:04:12 UTC (rev 186021)
@@ -2402,3 +2402,4 @@
 
 # Test requires hardcoded font names, which I do not have for this port.
 fast/text/han-generic-font-families.html [ WontFix ]
+fast/text/hangul-generic-font-families.html [ WontFix ]

Added: trunk/LayoutTests/platform/ios-simulator/fast/text/hangul-generic-font-families-expected.html (0 => 186021)


--- trunk/LayoutTests/platform/ios-simulator/fast/text/hangul-generic-font-families-expected.html	                        (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/fast/text/hangul-generic-font-families-expected.html	2015-06-27 02:04:12 UTC (rev 186021)
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="ko">
+<head>
+<meta charset="utf-8">
+</head>
+<body>
+This test is designed to test WebKit's mappings for the generic font families for Hangul scripts.
+<div style="font-size: 50px; font-family: 'Apple SD Gothic Neo';">국회법 개정안에 대한 박근혜 대통령의</div>
+<div style="font-size: 50px; font-family: 'Apple SD Gothic Neo';">국회법 개정안에 대한 박근혜 대통령의</div>
+<div style="font-size: 50px; font-family: 'Apple SD Gothic Neo';">국회법 개정안에 대한 박근혜 대통령의</div>
+</body>
+</html>

Added: trunk/LayoutTests/platform/mac/fast/text/hangul-generic-font-families-expected.html (0 => 186021)


--- trunk/LayoutTests/platform/mac/fast/text/hangul-generic-font-families-expected.html	                        (rev 0)
+++ trunk/LayoutTests/platform/mac/fast/text/hangul-generic-font-families-expected.html	2015-06-27 02:04:12 UTC (rev 186021)
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="ko">
+<head>
+<meta charset="utf-8">
+</head>
+<body>
+This test is designed to test WebKit's mappings for the generic font families for Hangul scripts.
+<div style="font-size: 50px; font-family: 'AppleMyungjo';">국회법 개정안에 대한 박근혜 대통령의</div>
+<div style="font-size: 50px; font-family: 'AppleMyungjo';">국회법 개정안에 대한 박근혜 대통령의</div>
+<div style="font-size: 50px; font-family: 'Apple SD Gothic Neo';">국회법 개정안에 대한 박근혜 대통령의</div>
+</body>
+</html>

Modified: trunk/LayoutTests/platform/win/TestExpectations (186020 => 186021)


--- trunk/LayoutTests/platform/win/TestExpectations	2015-06-27 01:43:17 UTC (rev 186020)
+++ trunk/LayoutTests/platform/win/TestExpectations	2015-06-27 02:04:12 UTC (rev 186021)
@@ -3108,3 +3108,4 @@
 
 # Test requires hardcoded font names, which I do not have for this port.
 fast/text/han-generic-font-families.html [ WontFix ]
+fast/text/hangul-generic-font-families.html [ WontFix ]

Modified: trunk/Source/WebCore/ChangeLog (186020 => 186021)


--- trunk/Source/WebCore/ChangeLog	2015-06-27 01:43:17 UTC (rev 186020)
+++ trunk/Source/WebCore/ChangeLog	2015-06-27 02:04:12 UTC (rev 186021)
@@ -1,3 +1,16 @@
+2015-06-26  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        [iOS] AppleGothic has been superseded by Apple SD Gothic Neo
+        https://bugs.webkit.org/show_bug.cgi?id=146372
+        <rdar://problem/21574004>
+
+        Reviewed by Dean Jackson.
+
+        Test: fast/text/hangul-generic-font-families.html
+
+        * page/mac/SettingsMac.mm:
+        (WebCore::Settings::initializeDefaultFontFamilies):
+
 2015-06-26  Matt Daiter  <mdai...@apple.com>
 
         Supporting getStartDate and added tests

Modified: trunk/Source/WebCore/page/mac/SettingsMac.mm (186020 => 186021)


--- trunk/Source/WebCore/page/mac/SettingsMac.mm	2015-06-27 01:43:17 UTC (rev 186020)
+++ trunk/Source/WebCore/page/mac/SettingsMac.mm	2015-06-27 02:04:12 UTC (rev 186021)
@@ -99,8 +99,8 @@
     // There is no serif Korean font in default iOS installation.
     setStandardFontFamily("Apple SD Gothic Neo", USCRIPT_HANGUL);
     setSerifFontFamily("Apple SD Gothic Neo", USCRIPT_HANGUL);
-    setFixedFontFamily("AppleGothic", USCRIPT_HANGUL);
-    setSansSerifFontFamily("AppleGothic", USCRIPT_HANGUL);
+    setFixedFontFamily("Apple SD Gothic Neo", USCRIPT_HANGUL);
+    setSansSerifFontFamily("Apple SD Gothic Neo", USCRIPT_HANGUL);
 
     setStandardFontFamily("Times", USCRIPT_COMMON);
     setFixedFontFamily("Courier", USCRIPT_COMMON);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to