In recommendations, the "Tech π₯" section depends on system-font support for the U+1F5A5 DESKTOP COMPUTER emoji
Categories
(Firefox :: New Tab Page, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | verified |
People
(Reporter: Waldo, Assigned: gsuntop)
References
Details
(Keywords: github-merged)
Attachments
(3 files)
The new-tab page in nightlies recently picked up sectioned recommendation support. Each section is a name (e.g. "Tech") and an emoji ("π₯"). This is cool and all -- but this means the headings' font must support that emoji.
Unfortunately, the "Tech" associated emoji, U+1F5A5 DESKTOP COMPUTER, doesn't seem to be guaranteed in the relevant font. On a largely basic Fedora 28, it instead shows up as some sort of missing-glyph thing. (Or maybe there's actually a glyph there? Usually missing glyphs get box-of-hexadecimal treatment, not sure what's up there.) Maybe the Mozilla emoji-font we ship needs to have support added for this...or something.
One possible hackaround, if font support isn't quite there and can't readily be added, might be to switch to U+1F4F1 MOBILE PHONE. That arguably has the virtue of being more "modern" than a desktop, and it displays for me so support for it is better at least some places.
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Per emojipedia Desktop Computer was approved as part of Unicode 7.0 in 2014 and added to Emoji 1.0 in 2015.
https://emojipedia.org/desktop-computer/
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
FWIW latest Fedora (30 -- 28 from comment 0 is now unsupported) still doesn't support this emoji.
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Looks like U+1F4F1 MOBILE PHONE
was approved in Unicode 6.0. I'm not sure if that means anything in 6.0 is fair game since there are so many Linux distros.
FWIW the font-family stack for those headers is -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Helvetica Neue', sans-serif
.
As fonts have varying support for emoji I'm not sure if there's any 100% bulletproof choice. We may want to consider embedding SVG glyphs to ensure compatibility. That will, however, require an update to our layout schema.
It seems like the best short term solution is to go with the mobile phone emoji as suggested, or find something else from Unicode 6 or lower.
Wolasi, thoughts?
Assignee | ||
Comment 4•6 years ago
•
|
||
Another option from Unicode 6: https://emojipedia.org/personal-computer/
π»
Reporter | ||
Comment 6•6 years ago
|
||
IRC suggests that font-family: "Twemoji Mozilla"
may be adequate to ensure display happens, using the internal emoji-support font we ship with.
Assignee | ||
Comment 7•6 years ago
•
|
||
If we use that font-family it should just be applied to the emoji, which will need a schema change. That seems like the better long term solution, but as a speedier interim solution we can just switch to the personal computer emoji for wider support.
Assignee | ||
Comment 8•6 years ago
|
||
I can update the emoji in the shipped/bundled layout, and then I believe Mathijs can update it in the remote layouts.
Comment 9•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
I have verified that this issue is no longer reproducible with the latest Firefox Nightly (69.0a1 Build ID - 20190604034844) installed, on Windows 10 x64, Arch Linux and Mac 10.14.5. Now, the "Tech" section's icon is changed.
Updated•5 years ago
|
Description
•