Closed Bug 1416018 Opened 8 years ago Closed 7 years ago

oversized "characters" when Noto Color Emoji font is used on a page

Categories

(Core :: Graphics: Text, defect, P5)

57 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1358240

People

(Reporter: bigon, Unassigned)

References

Details

Attachments

(2 files)

Hi, The following bug as been reported in ubuntu: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1694329 Apparently ubuntu is not shipping the EmojiOneMozilla.ttf font in their package and this is causing emoji to be oversized. I've been personally able to reproduce the same issue with thunderbird in debian. The thunderbird package is not shipping the EmojiOneMozilla.ttf font.
Attached image Screenshot
Can confirm on openSUSE Leap 42.3, with Firefox 57, both from upstream and from https://build.opensuse.org/project/show/mozilla . Mozilla's emoji font is installed, afaik, but not used for everything -- I suspect the version shipped in Firefox does not yet support Unicode 10 and up. In addition, I manually installed Noto Color Emoji some time in the past. The URL (only partially visible in screenshot) is: https://emojipedia.org/unicode-10.0/
When setting font.name-list.emoji=Noto Color Emoji by about:config, does this occur? This preference is from 59, so please test on the latest Nightly.
Flags: needinfo?(bigon)
I had this bug in Firefox 59 on openSUSE 42.3 with Google Noto Color Emoji from the M17N:fonts OBS repo. I fixed with by adding the attached snippet to a fontconfig directory (/etc/fonts/conf.d or $XDG_CONFIG_HOME/fontconfig/conf.d or similar) and running fc-cache.
Hmm, the Debian package of Firefox 52ESR *does* ship EmojiOneMozilla.ttf, but the system-provided NotoColorEmoji.ttf is preferred and emoji are oversized. Tilwa Qendov's suggested workaround does not help. Simple test case: compare the rendering of these data: URLs: data:text/html,<meta charset="utf-8"><p>%E2%9A%BD%E2%9A%BD Come watch the soccer game with us! %E2%9A%BD%E2%9A%BD</p> data:text/html,<meta charset="utf-8"><style>p{font-family:'EmojiOne Mozilla'}</style><p>%E2%9A%BD%E2%9A%BD Come watch the soccer game with us! %E2%9A%BD%E2%9A%BD</p>
We don't support emoji font-family name from fontconfig (bug 1424675)

This may have gotten fixed by (at least) bug 1358240. In older releases I can see the font selection difference between the two test cases in comment 4, but now it consistently uses Twemoji Mozilla in 65+. Please reopen if you continue to see the issue.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Priority: -- → P5
Resolution: --- → DUPLICATE
See Also: → 1424675
Flags: needinfo?(bigon)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: