13rac1 / twemoji-color-font

Twitter Unicode emoji color OpenType-SVG font for Linux/MacOS/Windows
Other
1.68k stars 73 forks source link

RPM packaging contribution #11

Open guoyunhe opened 8 years ago

guoyunhe commented 8 years ago

I packaged this font for RPM based Linux, like openSUSE, Fedora, CentOS and RHEL.

http://software.opensuse.org/download.html?project=home%3Aguoyunhebrave&package=twemoji-color-font

13rac1 commented 7 years ago

Hi! I've been super busy and just checking this out now. There's no fontconfig installed. Is that on purpose? These fonts will not work correctly without the provided fontconfig: https://github.com/eosrei/twemoji-color-font/blob/master/linux/fontconfig/56-twemoji-color.conf

guoyunhe commented 7 years ago

I know. Because this fontconfig file will affect users default font settings, I suggest to not include it on system level. Instead, users can set it manually.

spectacle ve2923

I am trying to pursuade fontconfig developers to add support emoji unicode block. After that we could use:

<match>
  <test name="family">
    <string>sans-serif</string>
  </test>
  <test name="lang">
    <string>emoji</string>
  </test>
  <edit name="family">
    <string>EmojiOne Color</string>
  </edit>
</match>
13rac1 commented 7 years ago

Oh! You make Fontweak! Nice work!

Because this fontconfig file will affect users default font settings

Yes, exactly ;) The included install process is designed for the average person who just wants emoji and doesn't care about font customization. A seamless install process for most users. It's not for you... or even me. For example, on Ubuntu: apt-add-repository, apt update, then apt install. Done.

The majority of people don't care about fonts as long as they work. My assumption earlier this year, but I consider it validated now. I've only had a few discussions about changing the default system fonts in thousands of user installs.

Honestly, I don't have the time for the support requests and complaints if I recommend these packages in their current state. A potential solution is a "Font Power User" section in the README files? I'm not sure what else to do?

guoyunhe commented 7 years ago

I have no better solution in the font side. However, I think this is something that fontconfig should do. If they support Unicode Emoji block, this problem can be solved perfectly.

danimesq commented 5 years ago

@guoyunhe After packaging the .rpm, how to make it automatically work in my OS?

guoyunhe commented 5 years ago

@guoyunhe After packaging the .rpm, how to make it automatically work in my OS?

In GNU/Linux, here is no way that automatically works. Basically, fontconfig doesn't support emoji as subset. Users have to make some manually configuration as I mentioned before. Or they could uninstall all other emoji fonts and DejaVu Sans. You can give this font a super high priority but it will break some software.

13rac1 commented 5 years ago

My suggestion is to package this with the fontconfig I've provided. It is not ideal, but the only "out of the box" solution. I haven't merged this because I don't want the support requests when it doesn't work as the other packages do. I'm leaving it open for people to find though.