Open Bug 1430591 Opened 7 years ago Updated 2 years ago

Fitzpatrick modifier is not correctly applied with Apple Color Emoji

Categories

(Core :: Layout: Text and Fonts, defect, P3)

x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ismail, Unassigned)

References

Details

Attachments

(1 obsolete file)

Attached file fitzpatrick.html (obsolete) —
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20100101 Steps to reproduce: - Set font.name-list.emoji to "Apple Color Emoji" and make sure the font is available. - Go to https://eosrei.github.io/emojione-color-font/full-demo.html - Scroll to Pale Emojis - Fitzpatrick Skin Type 1-2 Actual results: See screenshot: https://screenshots.firefox.com/QYU44iNuL0e3oShf/eosrei.github.io Expected results: Here is the correct rendering with EmojiOne Mozilla font: https://screenshots.firefox.com/ZH8WHGyczyjQEzvd/eosrei.github.io
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Attachment #8942654 - Attachment is obsolete: true
That emoji code point can render another font such as sans-serif's default (Osaka, Times etc), gfxFontGroup::FindFontForChar won't select eFontPrefLang_Emoji since WhichPrefFontSupportsChar isn't called. And FindFontForChar won't check whether current font in list is color font. When I check Blink and WebKit, they ignore monochrome font when emoji presentation.
Component: Untriaged → Layout: Text
Product: Firefox → Core
Is the Apple Color Emoji font legitimately available for non-macOS platforms? If not, this seems pretty low priority.
(I assume, though haven't inspected in detail, that Apple Color Emoji uses the 'morx' table to implement the fitzpatrick modifiers and other emoji sequences, and we don't support 'morx' on any platform except macOS, via the Core Text backend.)
(In reply to Jonathan Kew (:jfkthame) from comment #2) > Is the Apple Color Emoji font legitimately available for non-macOS > platforms? If not, this seems pretty low priority. I don't see a problem using it on Linux on Mac hardware.
(In reply to Jonathan Kew (:jfkthame) from comment #2) > Is the Apple Color Emoji font legitimately available for non-macOS > platforms? If not, this seems pretty low priority. I can reproduce this on Android 8.1 with Noto Color Emoji.
See Also: → 1371386
See Also: 13713861363365
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: