Changeset 129190 in webkit


Ignore:
Timestamp:
Sep 20, 2012 9:42:44 PM (12 years ago)
Author:
bashi@chromium.org
Message:

Chromium mac cannot display AppleColorEmoji
https://bugs.webkit.org/show_bug.cgi?id=97286

Reviewed by Kent Tamura.

Disable AppleColorEmoji for now. We will re-enable it after Skia supports CTFontDrawGlyphs().

No new tests. Fallback fonts should be used for emoji codepoints.

  • platform/graphics/mac/FontCacheMac.mm:

(WebCore::FontCache::getFontDataForCharacters):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r129189 r129190  
     12012-09-20  Kenichi Ishibashi  <bashi@chromium.org>
     2
     3        Chromium mac cannot display AppleColorEmoji
     4        https://bugs.webkit.org/show_bug.cgi?id=97286
     5
     6        Reviewed by Kent Tamura.
     7
     8        Disable AppleColorEmoji for now. We will re-enable it after Skia supports CTFontDrawGlyphs().
     9
     10        No new tests. Fallback fonts should be used for emoji codepoints.
     11
     12        * platform/graphics/mac/FontCacheMac.mm:
     13        (WebCore::FontCache::getFontDataForCharacters):
     14
    1152012-09-20  Luke Macpherson   <macpherson@chromium.org>
    216
  • trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm

    r122670 r129190  
    116116        return 0;
    117117
     118#if PLATFORM(CHROMIUM)
     119    // Chromium can't render AppleColorEmoji.
     120    if ([[substituteFont familyName] isEqual:@"Apple Color Emoji"])
     121        return 0;
     122#endif
     123
    118124    // Use the family name from the AppKit-supplied substitute font, requesting the
    119125    // traits, weight, and size we want. One way this does better than the original
Note: See TracChangeset for help on using the changeset viewer.