Changeset 192382 in webkit


Ignore:
Timestamp:
Nov 12, 2015 1:29:40 PM (8 years ago)
Author:
mmaxfield@apple.com
Message:

[Cocoa] Font fallback is not language-sensitive
https://bugs.webkit.org/show_bug.cgi?id=147390

Reviewed by Dean Jackson.

Test: fast/text/fallback-language-han-2.html

  • platform/graphics/cocoa/FontCacheCoreText.cpp:

(WebCore::FontCache::systemFallbackForCharacters):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r192381 r192382  
     12015-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
    1132015-11-12  Anders Carlsson  <andersca@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp

    r191968 r192382  
    786786
    787787    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);
    790789    result = preparePlatformFont(result.get(), description.textRenderingMode(), nullptr, nullptr, description.featureSettings(), description.variantSettings());
    791790    if (!result)
Note: See TracChangeset for help on using the changeset viewer.