Changeset 192382 in webkit
- Timestamp:
- Nov 12, 2015 1:29:40 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r192381 r192382 1 2015-11-12 Myles C. Maxfield <mmaxfield@apple.com> 2 3 [Cocoa] Font fallback is not language-sensitive 4 https://bugs.webkit.org/show_bug.cgi?id=147390 5 6 Reviewed by Dean Jackson. 7 8 Test: fast/text/fallback-language-han-2.html 9 10 * platform/graphics/cocoa/FontCacheCoreText.cpp: 11 (WebCore::FontCache::systemFallbackForCharacters): 12 1 13 2015-11-12 Anders Carlsson <andersca@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
r191968 r192382 786 786 787 787 const FontPlatformData& platformData = originalFontData->platformData(); 788 // FIXME: Should pass in the locale instead of nullAtom. 789 RetainPtr<CTFontRef> result = platformLookupFallbackFont(platformData.font(), description.weight(), nullAtom, characters, length); 788 RetainPtr<CTFontRef> result = platformLookupFallbackFont(platformData.font(), description.weight(), description.locale(), characters, length); 790 789 result = preparePlatformFont(result.get(), description.textRenderingMode(), nullptr, nullptr, description.featureSettings(), description.variantSettings()); 791 790 if (!result)
Note: See TracChangeset
for help on using the changeset viewer.