Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Feature requests => Topic started by: Tragen on 16 11 2016, 22:41:25

Title: Common smiley support
Post by: Tragen on 16 11 2016, 22:41:25
I would like to request common smiley support.
This means we use the smileys from Unicode 7+.
With Unicode 8 they added a lot more.
You could also include emojione font with your installation for older OS.
This would remove the need for SmileyAdd as most messengers use
Unicode smileys now.
Title: Re: Common smiley support
Post by: AnrDaemon on 18 11 2016, 04:14:50
remove the need for SmileyAdd
(https://forum.miranda-ng.org/proxy.php?request=http%3A%2F%2Fkolobok.us%2Fsmiles%2Fstandart%2Frofl.gif&hash=a23dc7925281d5161a6880ebfea56efba82d9762)
Title: Re: Common smiley support
Post by: Wishmaster on 18 11 2016, 06:19:49
I would like to request common smiley support.
This means we use the smileys from Unicode 7+.
With Unicode 8 they added a lot more.
It's supported for about half a year at least, isn't it?
Title: Re: Common smiley support
Post by: AnrDaemon on 18 11 2016, 07:06:24
Half a year? I though it was supported since introduction of Unicode into Miranda. Several years, and that's a very careful estimation.
Title: Re: Common smiley support
Post by: Wishmaster on 18 11 2016, 19:55:25
Half a year? I though it was supported since introduction of Unicode into Miranda. Several years, and that's a very careful estimation.
Unicode yes, I'm not sure about Unicode 7 or 8 in particular.
Title: Re: Common smiley support
Post by: Tragen on 18 11 2016, 23:05:00
So what is so funny? You still need an easy way to select the smileys like in Signal/Telegram/Threema/...
You can say it's Unicode and you can enter whatever you want. Sure. But there should be an easy way to select
from smiley categories like in the mentioned messengers. Miranda NG is far away from being comfortable.
Title: Re: Common smiley support
Post by: AnrDaemon on 28 11 2016, 18:45:49
Perhaps I'm too old… but I don't need a smiley sending program. I need a communication client.
Title: Re:Common smiley support
Post by: Robyer on 30 11 2016, 09:03:47
AnrDaemon, yes, perhaps you are too old :-) Smileys provide another layer of communication (= emotions) and it feels really different to use them and not. But that's bit offtopic. :)

I agree with "common (emoji) smiley support" in SmileyAdd. That whole plugin needs many improvements...
Title: Re: Common smiley support
Post by: Tragen on 30 11 2016, 22:47:14
I've tried to write unicode smileys but it looks like the font doesn't support it and the
font substitution in MNG isn't done correctly.
You could support it with http://emojione.com/ like Mozilla does with Firefox.

Try to paste any of this smileys into MNG. At least with Scriver it doesn't work.
Here is the link as pasting the smiley into this forum doesn't work.
http://emojipedia.org/unicode-8.0/

Title: Re: Common smiley support
Post by: Robyer on 01 12 2016, 07:33:24
Tragen, your Windows must support that. You need to choose correct font, for example Segoe UI Emoji on Windows 10 supports these Unicode 8.0 emojis.

See https://ctrlv.cz/BBAm

EDIT: And when creating smileypack make sure you save it with correct codepage (I don't remember if UTF-8 or UTF-16), you can inspire by my working Facebook Emojis - http://miranda-ng.org/distr/addons/Smileys/facebook_emoji.zip
Title: Re: Common smiley support
Post by: Tragen on 01 12 2016, 18:26:08
Robyer, I'm using Windows 10 which supports all the emojis.
The problem is that it's stupid to chose fonts which supports them.
This should be done via proper font substitution by Miranda NG.
So no user should every worry about if it works.
Title: Re: Common smiley support
Post by: Robyer on 01 12 2016, 18:42:21
Tragen, interesting, do you know any other messenger which does that?
Title: Re: Common smiley support
Post by: AnrDaemon on 20 12 2016, 16:42:49
I vaguely recall that there's functions to test is a chosen font contains support for specific character/s.
Title: Re: Common smiley support
Post by: Tragen on 28 01 2017, 23:47:31
http://stackoverflow.com/questions/16828868/how-to-automatically-choose-most-suitable-font-for-different-language
Here is the link to Chrome how fonts are rendered with fallback.
https://chromium.googlesource.com/chromium/src/+/bde885b4e8cf11db7ba2af6c70a6580830a52e7a/ui/gfx/render_text_win.cc

So basically when you use TextOut, the system is doing everything for you. In this case we could send all unicode characters,
even smileys. Better support for smiley selection would still be a good thing.

Tragen