Closed
Bug 1318769
Opened 8 years ago
Closed 8 years ago
Emoji no longer appearing on getemoji.com and twitter.com, on Android
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(platform-rel +, firefox51+ verified, firefox52 verified)
RESOLVED
FIXED
Firefox 53
People
(Reporter: wisniewskit, Assigned: lsalzman)
References
()
Details
(Keywords: regression, Whiteboard: webcompat [platform-rel-Twitter])
Attachments
(3 files, 1 obsolete file)
3.75 KB,
patch
|
jfkthame
:
review+
jcristau
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
574.77 KB,
image/png
|
Details | |
1.99 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
In version 49, emoji appear on getemoji.com. In 50 and up, almost none of them do (testing on pristine profiles on my Android 4.4.1 phone). The page itself just specifies the CSS font family as Segoe UI Emoji, nothing fancy.
Comment 2•8 years ago
|
||
Bug 1231701 did not land on Firefox for Android so it's unlikely the cause. It would be great if someone could use the remote debugger to figure out which font Gecko selects (incorrectly).
Flags: needinfo?(timdream)
Reporter | ||
Comment 3•8 years ago
|
||
Sure. Interestingly, remote debugging in both 49 and 53/nightly reveals the same values.
The console gives this for one of the <p> elements (which has 'style="font-family:Segoe UI Emoji; font-size:3.5em"'):
>getComputedStyle(elem, null).getPropertyValue("font-family")
>>Segoe UI Emoji
The fonts panel in devtools shows these system fonts:
>Clear Sans
>Droid Sans Fallback
>Noto Color Emoji
>SamsungEmoji
Comment 5•8 years ago
|
||
[Tracking Requested - why for this release]:
Graphical regression on major site (Twitter).
=====
This affects twitter, too (which I initially filed independently as bug 1326365). See screenshots on that bug. Sample affected URL: https://mobile.twitter.com/rizmc/status/813726874941558784
mozregression (using my OnePlus One phone & CyanogenMod 13 / Android 6) says this is a regression from bug 725119. Requesting tracking, since this is a serious graphical regression on a major site, which we're about to ship in 51.
status-firefox50:
--- → unaffected
status-firefox51:
--- → affected
status-firefox52:
--- → affected
status-firefox53:
--- → affected
status-firefox-esr45:
--- → unaffected
tracking-firefox51:
--- → ?
Flags: needinfo?(lsalzman)
See Also: 1326365 →
Summary: Emoji no longer appearing on getemoji.com → Emoji no longer appearing on getemoji.com and twitter.com, on Android
Updated•8 years ago
|
Blocks: skia-android
Keywords: regression
Updated•8 years ago
|
platform-rel: --- → ?
Whiteboard: webcompat → webcompat [platform-rel-Twitter]
Updated•8 years ago
|
Version: unspecified → 51 Branch
Assignee | ||
Comment 6•8 years ago
|
||
The main problem for Android is that we always defaulted the embedded bitmap flag to off. On Linux we had a similar issue, though Fontconfig was supposed to get involved to override that.
I went and investigated what cairo-ft actually does and tried to match it as best as we can, so that both appearance and metrics line up again. So cairo-ft does:
1) On Android without fontconfig, never disable bitmaps.
2) On Linux with fontconfig, it is a bit inane. It only ever disables bitmaps if AA is enabled, and then only if embeddedbitmap was not explicitly assigned true. So without AA, it always leaves bitmaps enabled.
In the future when we are no longer bound by matching Cairo, we probably want saner parsing of embeddedbitmap, but for now, we match Cairo again and emoji will show up now.
Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Flags: needinfo?(lsalzman)
Attachment #8822811 -
Flags: review?(jfkthame)
Assignee | ||
Comment 7•8 years ago
|
||
... Better version of the above patch.
This one makes the decision to disable bitmaps depend only on the fontconfig AA setting, not on our user-supplied AA overrides. This is yet closer to how Cairo behaves. It should increase consistency and prevent some possible accidents where bitmaps would show up in some cases but not others depending on whether we internally allowed AA or not regardless of what fontconfig wanted.
Attachment #8822811 -
Attachment is obsolete: true
Attachment #8822811 -
Flags: review?(jfkthame)
Attachment #8822816 -
Flags: review?(jfkthame)
Updated•8 years ago
|
Attachment #8822816 -
Flags: review?(jfkthame) → review+
Comment 8•8 years ago
|
||
Please also nominate this for uplift as soon as it's safely landed and confirmed to fix the issue.
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/277613c55806
make SkFontHost_cairo match cairo-ft's handling of FcPattern embeddedbitmap option. r=jfkthame
Comment 10•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Assignee | ||
Comment 11•8 years ago
|
||
Daniel, can you verify if this issue is now fixed?
Flags: needinfo?(dholbert)
Reporter | ||
Comment 12•8 years ago
|
||
I can verify that the sample URLs are showing emoji again on my Android devices in today's nightly.
Comment 13•8 years ago
|
||
Seems fixed to me as well, using https://mobile.twitter.com/rizmc/status/813726874941558784 and http://getemoji.com/ , in today's Android Nightly. Thanks!
Kicking needinfo back over to Lee for backport approvals.
platform-rel: ? → ---
status-firefox50:
unaffected → ---
status-firefox51:
affected → ---
status-firefox52:
affected → ---
status-firefox53:
fixed → ---
status-firefox-esr45:
unaffected → ---
tracking-firefox51:
? → ---
Flags: needinfo?(dholbert) → needinfo?(lsalzman)
Comment 14•8 years ago
|
||
I am seeing this on swarm year in review page (I think it is the same issue) and it is fixed in Nightly indeed, Beta still affected. I will be waiting for uplifts and check again.
Link: https://t.co/JR5S5EcCbr
Assignee | ||
Comment 15•8 years ago
|
||
Comment on attachment 8822816 [details] [diff] [review]
make SkFontHost_cairo match cairo-ft's handling of FcPattern embeddedbitmap option
Approval Request Comment
[Feature/Bug causing the regression]: bug 725119, 51+
[User impact if declined]: Emoji fail to show up on Android and Linux.
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: aurora, beta
[Is the change risky?]: no
[Why is the change risky/not risky?]: Small change to how fonts are loaded that should make us match our retired Cairo content rendering backend.
[String changes made/needed]: None
Flags: needinfo?(lsalzman)
Attachment #8822816 -
Flags: approval-mozilla-beta?
Attachment #8822816 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 16•8 years ago
|
||
Attachment #8823390 -
Flags: review?(jmuizelaar)
Comment 17•8 years ago
|
||
Comment on attachment 8823390 [details] [diff] [review]
add reftest to verify that color emoji show up
Review of attachment 8823390 [details] [diff] [review]:
-----------------------------------------------------------------
This may need to be special case to only pass on platforms that have color emoji fonts.
Attachment #8823390 -
Flags: review?(jmuizelaar) → review+
Comment 18•8 years ago
|
||
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8c207c957193
add reftest to verify that color emoji show up. r=jrmuizel
Comment 19•8 years ago
|
||
Comment on attachment 8822816 [details] [diff] [review]
make SkFontHost_cairo match cairo-ft's handling of FcPattern embeddedbitmap option
fix recent regression for emojis on android, take in aurora52
Attachment #8822816 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 20•8 years ago
|
||
bugherder |
Comment 21•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/50730a14e12a
https://hg.mozilla.org/releases/mozilla-aurora/rev/601f420a4734
status-firefox52:
--- → fixed
Assignee | ||
Comment 22•8 years ago
|
||
Sylvestre, can you get this uplifted to beta soon? Otherwise as of 51 release we will have broken emoji everywhere on Android...
Can't have twitter without emojis
Flags: needinfo?(sledru) → needinfo?(lhenry)
Comment 24•8 years ago
|
||
Comment on attachment 8822816 [details] [diff] [review]
make SkFontHost_cairo match cairo-ft's handling of FcPattern embeddedbitmap option
Let's land this for the beta 13 build today.
Flags: needinfo?(lhenry)
Attachment #8822816 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 25•8 years ago
|
||
bugherder uplift |
Comment 26•8 years ago
|
||
Verified as fixed on all branches (Nightly 53.0a1/10.01, Aurora 52.0a2/11.01 and Beta 51.0b13) on a Nexus 9 (Android 6.0.2) and on a Xiaomi mi i4 (Android 5.0.2).
Updated•8 years ago
|
platform-rel: --- → +
Comment 28•7 years ago
|
||
On this one http://www.get-emoji.com/ , it seems that the emoji appear.
On a Samsung galaxy S4 , android version 5.0.1
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•