• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

samuelngs/apple-emoji-linux: Apple Color Emoji for Linux

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

samuelngs/apple-emoji-linux

开源软件地址(OpenSource Url):

https://github.com/samuelngs/apple-emoji-linux

开源编程语言(OpenSource Language):

Python 96.1%

开源软件介绍(OpenSource Introduction):

AppleColorEmojiLinux

Apple Color Emoji for Linux

Color and Black-and-White Apple color emoji fonts, and tools for working with them.

Disclaimer

The code provided is for educational purposes only. Apple is a trademark of Apple Inc., registered in the U.S. and other countries.

Installing prebuilt AppleColorEmoji font

  • Download the latest release of AppleColorEmoji.ttf at the Release Page
  • Copy AppleColorEmoji.ttf to ~/.local/share/fonts.
  • Rebuild the font cache with fc-cache -f -v.
  • Now you are set!

Building AppleColorEmoji from source

  • Install Python 2, building AppleColorEmoji.ttf currently requires a Python 2.x wide build.
  • Install fonttools python package.
    • On the command line, enter: python -m pip install fonttools
  • Install nototools python package.
    • On the command line, enter: python -m pip install https://github.com/googlefonts/nototools/archive/v0.2.1.tar.gz, or clone a copy from https://github.com/googlei18n/nototools and either put it in your PYTHONPATH or use python setup.py develop ('install' currently won't fully install all the data used by nototools).
  • Install Optipng, Zopfli and Pngquant.
    • On RedHat based systems, run yum install optipng zopfli pngquant
    • Or on Fedora, run dnf install optipng zopfli pngquant
    • If you're using Debian or Ubuntu, you may run apt-get install optipng zopfli pngquant at the command line.
  • Clone the source repository from Github
  • Open a terminal or console prompt, change to the directory where you cloned apple-emoji-linux, and type make -j to build AppleColorEmoji.ttf from source.
  • If you wish to install the built AppleColorEmoji.ttf to your system, execute make install,
  • Then rebuild the your system font cache with fc-cache -f -v

Using AppleColorEmoji

AppleColorEmoji uses the CBDT/CBLC color font format, which is supported by Android and Chrome/Chromium OS. Windows supports it starting with Windows 10 Anniversary Update in Chome and Edge. On macOS, only Chrome supports it, while on Linux it will support it with some fontconfig tweaking.

Color emoji assets

The assets provided in the repo are all those used to build the AppleColorEmoji font. Note however that AppleColorEmoji often uses the same assets to represent different character sequences-- notably, most gender-neutral characters or sequences are represented using assets named after one of the gendered sequences. This means that some sequences appear to be missing. Definitions of the aliasing used appear in the emoji_aliases.txt file.

Also note that the images in the font might differ from the original assets. In particular the flag images in the font are PNG images to which transforms have been applied to standardize the size and generate the wave and border shadow. We do not have SVG versions that reflect these transforms.

Related

Credits

License




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap