We have moved to a new Sailfish OS Forum. Please start new discussions there.
27

Add support for emoji in google talk

asked 2013-12-27 01:09:14 +0200

mikelima gravatar image

updated 2013-12-29 18:44:32 +0200

Incoming messages containing emoji currently show only a crossed square symbol. Mapping those to some pictures would solve the problem, but adding a font with the emoji code points would be enough to keep the meaning intelligible. Maybe it would fit the 'typographic' interface better as well.

Possibilities to explore:

  • symbola - this covers many characters, beyond emoji, it could be a useful fallback anyway, if the license is ok
  • Android emoji This seem to be part of the Android base layer... It may be useful on the android sandbox as well (or maybe it could be prepackaged?)
edit retag flag offensive close delete

Comments

This is also applicable for sms:es. So it's probably relevant for all protocols that the jolla-messages application handles.

evvert ( 2013-12-27 01:39:47 +0200 )edit

@ewert you are right... I think. I was not aware SMS can use emojis as well. I would not rely on them in that case, but, well, once an emoji font is available, it can be used with all kind of instant message protocol.

mikelima ( 2013-12-27 17:44:45 +0200 )edit
1

@mikelima, i just noticed that this is a systemwide problem, even the browser shows the crossed square on some site(s) (read commonly used social media site that starts with an f), which of course is expected since the systemwide font lacks support for the characters.

evvert ( 2013-12-29 01:57:20 +0200 )edit

Emoji is something I miss. Hopefully it can come to Jolla soon. They can now be seen in mitakuuluu and it makes a big difference! Splashes of colour is good!

Hazy ( 2013-12-31 01:44:07 +0200 )edit

As @evvert states, this is a systemwide problem, and I would like to change the question title a bit:

Add system-wide support for emoji in SailfishOS

It does not have to be fancy, the minimum requirement is packaging and shipping the relevant fonts with the build. Since the Droid and Roboto fonts are included anyway, as they are needed for the android compatibility, these should not really be a problem.

mikelima ( 2015-06-11 11:28:33 +0200 )edit

3 Answers

Sort by » oldest newest most voted
10

answered 2014-02-11 04:48:06 +0200

Penguin gravatar image

The Emoji Keyboard enables writing emoji and contains font to show those in all native applications. https://openrepos.net/content/penguin/emoji-keyboard

edit flag offensive delete publish link more

Comments

2

and, @jbroks ..I think this font fits the UI quite good?

Maettu ( 2014-02-11 19:04:21 +0200 )edit

Works like a charm. And allows the usage of emoji on just about anywhere we can type. Cheers to the dev!

WhyNotHugo ( 2015-02-22 02:41:13 +0200 )edit
8

answered 2013-12-31 01:04:49 +0200

jbrooks gravatar image

We'll need to work with design on figuring out what to do platform-wide about Emoji. At least in my (non-designer) opinion, colorful little pictures don't fit with our UI style at all.

But meanwhile, for the adventurous users, I'll give you a little hint that will let you at least see incoming unicode emoji (like those in SMS):

Download https://github.com/android/platform_frameworks_base/blob/master/data/fonts/AndroidEmoji.ttf or a similar emoji font (excluding full-color emoji like Apple Color Emoji - they aren't supported). Put it in /usr/share/fonts, then run fc-cache as root. Reboot. Unicode emoji should now appear anywhere they're needed.

edit flag offensive delete publish link more

Comments

3

@jbroks thanks for the answer. I was going to try this (actually, I was going to create an RPM package out of a font of those. I agree that emoji colorful icons do not fit that well in the Jolla UI, and that is why I was leaning towards using an emoji font instead.

Two tones emoji could work though...
But I think that the font solution is good on its own, and it is useful in many more contexts(browser, third party app...)

Another font that has some emoji codepoints (and more) is DEjaVu. It could be a useful fallback font on its own

mikelima ( 2013-12-31 13:28:20 +0200 )edit

I'd love it you would make that rpm package, doing Terminal stuff scares me a little!

Hazy ( 2013-12-31 17:45:25 +0200 )edit

@Hazy: I will have a look, but don't hold your breath. Extra fonts would be helpful for things like ebook-reader or document viewers.

mikelima ( 2014-01-04 14:42:10 +0200 )edit
1

Is there a possibility for Jolla to include a mono-colored emoji font by default? I don't care so much for using them, but getting rectangles in an sms is rather stupid.

steabert ( 2014-10-01 12:51:30 +0200 )edit
1

I tried the solutions presented here, but it seems that even the most basic emoji's are not there. Viewing the ttf file with fontforge also doesn't reveal any emoji. Am I missing something? My alternative was to use the Symbola.ttf file from this package: http://users.teilar.gr/~g1951d/Symbola.zip, and that works great!

steabert ( 2014-10-05 17:21:21 +0200 )edit
1

answered 2014-10-28 20:36:37 +0200

hook gravatar image

The best starting point for emoji support would be to use (and preferably contribute to) Emoji One.

According to its website:

Emoji One is a carefully engineered first-of-its-kind set of emoji designed specifically for the web. For the first time ever, web-sites worldwide can translate emoji code from mobile devices and legally display the corresponding emoji icon for their users. Of course… it's 100% free!

A pretty good starting point might also be KDE’s own emoji theme, that’s starting to form in a thread on their forums and is also based on the above mentioned Emoji One.

There is also Phantom Open Emoji, but due to misunderstandings in its creation, there are still some (probably solvable) licensing issues with it though.

edit flag offensive delete publish link more

Comments

If I understand it right from jbrook's answer it is not 'possible' to use pictures for emojis in Sailfish OS..

Alex ( 2014-10-28 21:00:45 +0200 )edit
3

From what I understand, the above mentioned themes are Unicode-font-based.

But what you mention sounds quite similar to KDE’s problem and discussed in the thread that I mentioned in my answer.

If that is the case, it would make a lot of sense for Jolla to work together with KDE to fix this issue, since they are planning to solve it in KDE Frameworks – more specifically in the _KEmoticons_ module.

While things in KDE Frameworks (KF) are not in vanilla Qt, they are still based on it and can be implemented on top of pure Qt. For example, you can get the KEmoticons details and code, as every other KF module from the Inqlude repository.

To learn more about KF, you can read KDE’s annuncement of KDE Frameworks 5.0 (current version is 5.3).

hook ( 2014-10-28 21:20:06 +0200 )edit

Twitter has also open sourced their own emoji set: https://blog.twitter.com/2014/open-sourcing-twitter-emoji-for-everyone

WhyNotHugo ( 2015-02-22 02:43:11 +0200 )edit
Login/Signup to Answer

Question tools

Follow
7 followers

Stats

Asked: 2013-12-27 01:09:14 +0200

Seen: 1,322 times

Last updated: Oct 28 '14