Summary: | Chromium mac cannot display AppleColorEmoji | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kenichi Ishibashi <bashi> | ||||||
Component: | Platform | Assignee: | Kenichi Ishibashi <bashi> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | tkent, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Kenichi Ishibashi
2012-09-20 20:10:27 PDT
Created attachment 165038 [details]
Patch
Kent-san, What do you think about disabling AppleColorEmoji now? Comment on attachment 165038 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=165038&action=review > Source/WebCore/platform/graphics/mac/FontCacheMac.mm:122 > +#if PLATFORM(CHROMIUM) && OS(DARWIN) > + // Chromium can't render AppleColorEmoji. > + if ([[substituteFont familyName] isEqual:@"Apple Color Emoji"]) > + return 0; > +#endif nit: I think OS(DARWIN) is not needed. FYI: Using PLATFORM() macro is not preferable in general. Ideally, we had better have WTF_USE_NO_APPLE_COLOR_EMOJI flag, and enable it for Chromium in WebCore/config.h. Using PLATFORM() is acceptable in this case because it's temporarily. Created attachment 165041 [details]
Patch for landing
Comment on attachment 165038 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=165038&action=review >> Source/WebCore/platform/graphics/mac/FontCacheMac.mm:122 >> +#endif > > nit: I think OS(DARWIN) is not needed. > > FYI: > Using PLATFORM() macro is not preferable in general. > Ideally, we had better have WTF_USE_NO_APPLE_COLOR_EMOJI flag, and enable it for Chromium in WebCore/config.h. > > Using PLATFORM() is acceptable in this case because it's temporarily. Removed OS(DARWIN). Thank you for the heads-up. I'll keep in mind it! Comment on attachment 165041 [details] Patch for landing Clearing flags on attachment: 165041 Committed r129190: <http://trac.webkit.org/changeset/129190> All reviewed patches have been landed. Closing bug. |