apple-emoji-linux

Apple Color Emoji for Linux
授权协议 Apache-2.0 License
开发语言 JavaScript
所属分类 程序开发、 Emoji 表情相关
软件类型 开源软件
地区 不详
投 递 者 潘修文
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

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, orclone 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 Androidand Chrome/Chromium OS. Windows supports it starting with Windows 10 AnniversaryUpdate in Chome and Edge. On macOS, only Chrome supports it, while on Linux it willsupport it with some fontconfig tweaking.

Color emoji assets

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

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

Related

Credits

License

  •  插入CSDN或者MarkDown都OK 例如Typroa就可以使用 Expression        藍  ☺️        殺         浪 廊 類 邏   朗 拾        ☹️     梁      郎 勞  掠 略      珞 樂 來 狼 拉    

  • Emoji指令 People  :smile:  :laughing:  :blush:  :smiley: ☺️ :relaxed:  :smirk:  :heart_eyes:  :kissing_heart:  :kissing_closed_eyes:  :flushed:  :relieved:  :satisfied:  :grin:  :wink:  :s

  • 国产机是linux系统,常常不能正常显示emoji表情 解决方案:前端引入字体资源,这里使用的是 noto-emoji(linux 火狐浏览器不支持) emoji字体下载地址:https://gitee.com/songboy/noto-emoji git clone https://gitee.com/songboy/noto-emoji.git <!DOCTYPE html> <html la

 相关资料
  • 问题内容: 我需要所有苹果表情符号。 我可以通过从 站点getemoji复制它们来获取所有表情符号并将它们放入字符串中,但是在我的应用程序中,我需要按 正确的顺序将表情符号作为图像。 有没有一种很好的方法可以将我复制的表情符号转换为String并转换为UIImage? 还是更好的解决方案,以正确的顺序获取所有Apple表情符号? 问题答案: 为Swift 4.1更新 将此扩展添加到您的项目中 上面

  • Emoji 是一个用来快速访问各种表情图片的类,类包含静态方法可直接返回表情的字符串。

  • js-emoji 可以让你在浏览器上显示 Emoji 表情,使用方法: <link href="emoji.css" rel="stylesheet" type="text/css" /><script src="emoji.js" type="text/javascript"></script><script type="text/javascript">// replaces \u{1F604

  • Emoji-Picker 可以让你在网站上的输入编辑框中加入一个 emoji 表情选择器。

  • 《Emoji表情编解码库XXL-EMOJI》 方便维护,该项目合并至: https://gitee.com/xuxueli0323/xxl-tool

  • Emoji Keyboard 提供了带苹果所有表情的输入键盘控件。