maoschanz / emoji-selector-for-gnome

This extension provide a popup menu with some emojis ; clicking on an emoji copies it to the clipboard.
GNU General Public License v3.0
475 stars 76 forks source link

Coloured emojis #19

Open amivaleo opened 7 years ago

amivaleo commented 7 years ago

"(Color emojis depends on your system, not on the extension.)"

Ok but... How do I set my system so that I have coloured emojis? o.o

maoschanz commented 7 years ago

Excellent question, i tried but i didn't understand why it didn't work...

However, it works for the person who took the screenshot (so technically, it is possible)

amivaleo commented 7 years ago

And who's this guy? D:

maoschanz commented 7 years ago

it's @morealaz but i guess he used some obscur ArchLinux magic i don't have access to ^^

amivaleo commented 7 years ago

I want to know! D:

ghost commented 7 years ago

@amivaleo : recent cairo update add support for color emoji to GTK apps. It's just a matter of using right color emoji font with right fontconfig settings. I use emojione font for android devices with this config (the font named Noto Color Emoji, so that it can be used in android and replace android default font). after that I create /etc/fonts/local.conf and use it for my main font configuration:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
   <alias>
    <family>serif</family>
      <prefer>
        <family>Noto Serif</family>
    <family>Noto Color Emoji</family>
      </prefer>
  </alias>
  <alias>
    <family>sans-serif</family>
      <prefer>
    <family>Noto Sans</family>
    <family>Noto Color Emoji</family>
      </prefer>
  </alias>
  <alias>
    <family>monospace</family>
      <prefer>
    <family>Hack</family>
    <family>Noto Color Emoji</family>
      </prefer>
  </alias>  
</fontconfig>

In this config, I choose my default font for serif, sans-serif and monospace font family and place Noto Color Emoji (which are the name of emojione font) at end of list for each family, so that it will be used for emoji character which are not in default font. you can use any color emoji font which you want instead of emojione. that's the magic which I use in my Arch Linux @Maestroschan. 😄

ghost commented 7 years ago

This is emoji's from actual Noto Color Emoji font from google:

image

amivaleo commented 7 years ago

Wait wait wait... :( I need a step-by-step guide, something that even my grandma could do. :(

ghost commented 7 years ago

this might help you: https://wiki.archlinux.org/index.php/Font_configuration

maoschanz commented 6 years ago

It just arrived today in Debian Buster, my font is not very complete but it looks wonderful, and no configuration was needed https://i.imgur.com/nr3TEUg.png

amivaleo commented 6 years ago

Stil... I can't get coloured emojis on ubuntu 17.10. :(

maoschanz commented 6 years ago

well... http://www.omgubuntu.co.uk/2017/11/ubuntu-finally-long-last-time-support-color-emoji

dannyfritz commented 6 years ago

@amivaleo or others. On Debian you run sudo apt-get install fonts-noto-color-emoji.