Title: [166182] trunk/Source/WebCore
- Revision
- 166182
- Author
- [email protected]
- Date
- 2014-03-24 11:56:30 -0700 (Mon, 24 Mar 2014)
Log Message
Update Hindi fallback font.
https://bugs.webkit.org/show_bug.cgi?id=130690
<rdar://problem/16391601>
Reviewed by Sam Weinig.
Using the new available font for Hindi in the fallback list.
* platform/graphics/ios/FontCacheIOS.mm:
(WebCore::FontCache::systemFallbackForCharacters):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (166181 => 166182)
--- trunk/Source/WebCore/ChangeLog 2014-03-24 17:51:27 UTC (rev 166181)
+++ trunk/Source/WebCore/ChangeLog 2014-03-24 18:56:30 UTC (rev 166182)
@@ -1,3 +1,16 @@
+2014-03-24 Enrica Casucci <[email protected]>
+
+ Update Hindi fallback font.
+ https://bugs.webkit.org/show_bug.cgi?id=130690
+ <rdar://problem/16391601>
+
+ Reviewed by Sam Weinig.
+
+ Using the new available font for Hindi in the fallback list.
+
+ * platform/graphics/ios/FontCacheIOS.mm:
+ (WebCore::FontCache::systemFallbackForCharacters):
+
2014-03-24 Brent Fulgham <[email protected]>
Merge Minor WebVTT Cleanups from Blink
Modified: trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm (166181 => 166182)
--- trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm 2014-03-24 17:51:27 UTC (rev 166181)
+++ trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm 2014-03-24 18:56:30 UTC (rev 166182)
@@ -356,7 +356,7 @@
static NeverDestroyed<AtomicString> hebrewBold("ArialHebrew-Bold", AtomicString::ConstructFromLiteral);
simpleFontData = getCachedFontData(description, isFontWeightBold(description.weight()) ? hebrewBold : hebrewPlain, false, DoNotRetain);
} else if (useIndicFont) {
- static NeverDestroyed<AtomicString> devanagariFont("DevanagariSangamMN", AtomicString::ConstructFromLiteral);
+ static NeverDestroyed<AtomicString> devanagariFont("KohinoorDevanagari-Book", AtomicString::ConstructFromLiteral);
static NeverDestroyed<AtomicString> bengaliFont("BanglaSangamMN", AtomicString::ConstructFromLiteral);
static NeverDestroyed<AtomicString> gurmukhiFont("GurmukhiMN", AtomicString::ConstructFromLiteral); // Might be replaced in a future release with a Sangam version.
static NeverDestroyed<AtomicString> gujaratiFont("GujaratiSangamMN", AtomicString::ConstructFromLiteral);
@@ -367,7 +367,7 @@
static NeverDestroyed<AtomicString> malayalamFont("MalayalamSangamMN", AtomicString::ConstructFromLiteral);
static NeverDestroyed<AtomicString> sinhalaFont("SinhalaSangamMN", AtomicString::ConstructFromLiteral);
- static NeverDestroyed<AtomicString> devanagariFontBold("DevanagariSangamMN-Bold", AtomicString::ConstructFromLiteral);
+ static NeverDestroyed<AtomicString> devanagariFontBold("KohinoorDevanagari-Medium", AtomicString::ConstructFromLiteral);
static NeverDestroyed<AtomicString> bengaliFontBold("BanglaSangamMN-Bold", AtomicString::ConstructFromLiteral);
static NeverDestroyed<AtomicString> gurmukhiFontBold("GurmukhiMN-Bold", AtomicString::ConstructFromLiteral); // Might be replaced in a future release with a Sangam version.
static NeverDestroyed<AtomicString> gujaratiFontBold("GujaratiSangamMN-Bold", AtomicString::ConstructFromLiteral);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes