https://bugs.webkit.org/show_bug.cgi?id=134464
Reviewed by Simon Fraser.
Source/WebCore:
I made a typo in r170207.
Test: fast/text/indic.html
* platform/graphics/ios/FontCacheIOS.mm:
(WebCore::languageSpecificFallbackFont):
LayoutTests:
Simply draw some indic text and test that against currently good metric values.
* fast/text/indic.html: Added
* platform/ios-sim/fast/text/indic-expected.txt: Added.
* platform/mac/fast/text/indic-expected.txt: Added.
* platform/mac/fast/text/indic-expected.png: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170619
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-06-30 Myles C. Maxfield <mmaxfield@apple.com>
+
+ All Indic text is rendered as boxes on iOS
+ https://bugs.webkit.org/show_bug.cgi?id=134464
+
+ Reviewed by Simon Fraser.
+
+ Simply draw some indic text and test that against currently good metric values.
+
+ * fast/text/indic.html: Added
+ * platform/ios-sim/fast/text/indic-expected.txt: Added.
+ * platform/mac/fast/text/indic-expected.txt: Added.
+ * platform/mac/fast/text/indic-expected.png: Added.
+
2014-06-30 Michael Saboff <msaboff@apple.com>
js/script-tests/function-apply-many-args.js fails on ARM
--- /dev/null
+<meta charset="utf-8"> This page renders some indic text and makes sure that the text metrics match the expected metrics.
+<br>
+ઠળના ઇરાકી પ્રદેશોને ઇસ્લામિક રાષ્ટ્ર જાહેર કર્યું છે અને પોતાનો વ્યાપ વધારવા તેમના વડા પ્રત્યે વફાદારીનું વિશ્વભરના મુસ્લિમોને આહ્વાન કર્યું છે. ઇસ્લામિક સ્ટેટ ઓફ ઇરાક એન્ડ સિરિયા
--- /dev/null
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderText {#text} at (0,0) size 636x19
+ text run at (0,0) width 636: "This page renders some indic text and makes sure that the text metrics match the expected metrics. "
+ RenderBR {BR} at (635,15) size 1x0
+ RenderText {#text} at (0,20) size 780x41
+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x{AA8}\x{ACD}\x{AA1} \x{AB8}\x{ABF}\x{AB0}\x{ABF}\x{AAF}\x{ABE}"
--- /dev/null
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderText {#text} at (0,0) size 620x18
+ text run at (0,0) width 620: "This page renders some indic text and makes sure that the text metrics match the expected metrics. "
+ RenderBR {BR} at (620,14) size 0x0
+ RenderText {#text} at (0,19) size 743x43
+ text run at (0,19) width 743: "\x{AA0}\x{AB3}\x{AA8}\x{ABE} \x{A87}\x{AB0}\x{ABE}\x{A95}\x{AC0} \x{AAA}\x{ACD}\x{AB0}\x{AA6}\x{AC7}\x{AB6}\x{ACB}\x{AA8}\x{AC7} \x{A87}\x{AB8}\x{ACD}\x{AB2}\x{ABE}\x{AAE}\x{ABF}\x{A95} \x{AB0}\x{ABE}\x{AB7}\x{ACD}\x{A9F}\x{ACD}\x{AB0} \x{A9C}\x{ABE}\x{AB9}\x{AC7}\x{AB0} \x{A95}\x{AB0}\x{ACD}\x{AAF}\x{AC1}\x{A82} \x{A9B}\x{AC7} \x{A85}\x{AA8}\x{AC7} \x{AAA}\x{ACB}\x{AA4}\x{ABE}\x{AA8}\x{ACB} \x{AB5}\x{ACD}\x{AAF}\x{ABE}\x{AAA} \x{AB5}\x{AA7}\x{ABE}\x{AB0}\x{AB5}\x{ABE} \x{AA4}\x{AC7}\x{AAE}\x{AA8}\x{ABE} \x{AB5}\x{AA1}\x{ABE} \x{AAA}\x{ACD}\x{AB0}\x{AA4}\x{ACD}\x{AAF}\x{AC7} \x{AB5}\x{AAB}\x{ABE}\x{AA6}\x{ABE}\x{AB0}\x{AC0}\x{AA8}\x{AC1}\x{A82} \x{AB5}\x{ABF}\x{AB6}\x{ACD}\x{AB5}\x{AAD}\x{AB0}\x{AA8}\x{ABE} \x{AAE}\x{AC1}\x{AB8}\x{ACD}\x{AB2}\x{ABF}\x{AAE}\x{ACB}\x{AA8}\x{AC7} \x{A86}\x{AB9}\x{ACD}\x{AB5}\x{ABE}\x{AA8} \x{A95}\x{AB0}\x{ACD}\x{AAF}\x{AC1}\x{A82} \x{A9B}\x{AC7}."
+ text run at (0,44) width 206: "\x{A87}\x{AB8}\x{ACD}\x{AB2}\x{ABE}\x{AAE}\x{ABF}\x{A95} \x{AB8}\x{ACD}\x{A9F}\x{AC7}\x{A9F} \x{A93}\x{AAB} \x{A87}\x{AB0}\x{ABE}\x{A95} \x{A8F}\x{AA8}\x{ACD}\x{AA1} \x{AB8}\x{ABF}\x{AB0}\x{ABF}\x{AAF}\x{ABE}"
+2014-06-30 Myles C. Maxfield <mmaxfield@apple.com>
+
+ All Indic text is rendered as boxes on iOS
+ https://bugs.webkit.org/show_bug.cgi?id=134464
+
+ Reviewed by Simon Fraser.
+
+ I made a typo in r170207.
+
+ Test: fast/text/indic.html
+
+ * platform/graphics/ios/FontCacheIOS.mm:
+ (WebCore::languageSpecificFallbackFont):
+
2014-06-30 Myles C. Maxfield <mmaxfield@apple.com>
[iOS] languageSpecificFallbackFont() is not consistent
if (c < 0x900)
return LanguageSpecificFont::None;
if (c < 0xE00)
- return LanguageSpecificFont::Arabic;
+ return LanguageSpecificFont::Indic;
if (c < 0xE80)
return LanguageSpecificFont::Thai;
if (c < 0x0F00)