Closed Bug 939280 Opened 11 years ago Closed 10 years ago

Initial Emoji Support for Firefox OS - add Noto Color Emoji

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.4 fixed)

RESOLVED FIXED
1.4 S3 (14mar)
Tracking Status
b2g-v1.4 --- fixed

People

(Reporter: karlcow, Assigned: jfkthame)

References

Details

Attachments

(2 files)

Steps to reproduce:

 Go to a Web page with emoji
 For example https://miketaylr.com/posts/2013/11/do-the-http-redirect-dance.html

Expected result

 Have emoji being displayed.

Actual result

  Having a dark grey square.


It might require an open license font having an Emoji set.
https://github.com/Genshin/PhantomOpenEmoji

I wonder if there are others.
PhantomOpenEmoji isn't a font; it's a collection (incomplete) of emoji graphics. Though we could package those graphics into a font; see http://people.mozilla.org/~jkew/opentype-svg/emoji-sample.html for some samples where I've done just that.

There's an AndroidEmoji font in more recent versions of Android; presumably we could use that. It's more complete than the PhantomOpenEmoji set, but provides only "boring" monochrome glyphs.
Yup nice opportunity for a color design work.
The simplest way forward here would probably be to implement bug 969814, and ship a version of Google's NotoColorEmoji font.
Depends on: 969814
Attachment #8378684 - Flags: review?(padamczyk)
Depends on: 974575
Attached image 2014-02-19-19-31-34.png
Screenshot of http://emojipedia.org/ viewed on my Peak, using a build that includes the font here and the Gecko dependencies.
Comment on attachment 8378684 [details] [review]
[PR] add the Noto Color Emoji font

This is great. We're actually working on a set for Messages for the next release... Just starting with stand set of about 22, eventually we'd want to expand our set to cover a full font. So its great to have this as a fall back!
Attachment #8378684 - Flags: review?(padamczyk) → review+
Now that the Gecko dependencies here have landed, we should merge the moztt PR to add the font. :mwu, can you take care of this? Flagging as checkin-needed...
Flags: needinfo?(mwu)
Keywords: checkin-needed
Done.

https://github.com/mozilla-b2g/moztt/commit/cf1dcc0704c0c1845f8a0a0b44838f7e0c0362c9
Assignee: nobody → jfkthame
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(mwu)
Keywords: checkin-needed
Hardware: ARM → All
Resolution: --- → FIXED
Target Milestone: --- → 1.4 S3 (14mar)
I was playing around with this font on b2g, my question is: does CSS rules apply to it ? Because it doesn't seem to be doing so..
I mean, e.g. I can't apply font-size when using it..
AFAIK it ought to work similarly to any other font. I'd suggest filing a new bug with a testcase to illustrate any problems you're seeing.
OK. I was wrong, It's just that I pushed the font manually to the device, but through today's build it worked.
However I do have a question, what approach will we be using to include emoji smilies in b2g ?
I tried making a layout and use unicode chars as mentioned here:
http://apps.timwhitlock.info/emoji/tables/unicode but didn't work.
The only way it showed up was to use the icons "as-is", copy pasted them. They showed up correctly in the keyboard but didn't not show up when adding them by clicking on their buttons (PS: I'm not stating a bug, just asking about how to correctly use them). So how should I be able to use them correctly? Thank you, and sorry for continuing the conversation in a resolved bug, I just felt that no need for a new bug if it was just a question.
Excuse my lack of knowledge about this..
Thanks
(In reply to Ahmed Nefzaoui [:Nefzaoui] from comment #12)
> OK. I was wrong, It's just that I pushed the font manually to the device,
> but through today's build it worked.
> However I do have a question, what approach will we be using to include
> emoji smilies in b2g ?
> I tried making a layout and use unicode chars as mentioned here:
> http://apps.timwhitlock.info/emoji/tables/unicode but didn't work.

I'm not sure exactly what you mean by "use...as mentioned here". I'd suggest filing a new bug (unless there's one already?) about providing an input method for emoji, and then we can look at possible patches there, and investigate any problems that show up.

(It's possible, for example, that b2g keyboard layouts will have problems with supplementary-plane Unicode values - i.e. characters beyond U+FFFF - as I'd guess this probably hasn't been tried before.)
Summary: Emoji Support for Firefox OS → Initial Emoji Support for Firefox OS - add Noto Color Emoji
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: