在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):eosrei/twemoji-color-font开源软件地址(OpenSource Url):https://github.com/eosrei/twemoji-color-font开源编程语言(OpenSource Language):Makefile 42.2%开源软件介绍(OpenSource Introduction):Twitter Color Emoji SVGinOT FontA color and B&W emoji SVG-OpenType / SVGinOT font built from the Twitter Emoji for Everyone artwork with support for ZWJ, skin tone diversity and country flags. The font works in all operating systems, but will currently only show color emoji in Firefox, Thunderbird, Photoshop CC 2017+, and Windows Edge V38.14393+. This is not a limitation of the font, but of the operating systems and applications. Why doesn't it work on Chrome? Regular B&W outline emoji are included for backwards/fallback compatibility. Table of Contents
ExamplesWhat is SVGinOT?SVG in Open Type is a standard by Adobe and Mozilla for color OpenType and Open Font Format fonts. It allows font creators to embed complete SVG files within a font enabling full color and even animations. There are more details in the SVGinOT proposal and the OpenType SVG table specifications. SVGinOT Font demos (Firefox only):
Install on LinuxThe font can be installed for a user or system-wide. Get the latest version from releases: https://github.com/eosrei/twemoji-color-font/releases Note: This requires Why Bitstream VeraThe default serif, sans-serif and monospace font for most Linux distributions is
Additional default font optionsThe Known issues
Manual install on any LinuxInstall for the current user without root: # 1. Download the latest version
wget https://github.com/eosrei/twemoji-color-font/releases/download/v13.1.0/TwitterColorEmoji-SVGinOT-Linux-13.1.0.tar.gz
# 2. Uncompress the file
tar zxf TwitterColorEmoji-SVGinOT-Linux-13.1.0.tar.gz
# 3. Run the installer
cd TwitterColorEmoji-SVGinOT-Linux-13.1.0
./install.sh Install on Ubuntu LinuxLaunchpad PPA: https://launchpad.net/~eosrei/+archive/ubuntu/fonts sudo apt-add-repository ppa:eosrei/fonts
sudo apt-get update
sudo apt-get install fonts-twemoji-svginot Install on Arch LinuxAvailable in AUR as package Install on Gentoo LinuxGentoo repository: https://github.com/jorgicio/jorgicio-gentoo # Install layman using Portage with USE="git" enabled, the default.
emerge layman
# Add the repo.
layman -a jorgicio
# Install the package.
emerge twemoji-color-font Install on MacOSBoth SVGinOT versions are available from releases: https://github.com/eosrei/twemoji-color-font/releases
A Homebrew package is available. # Tap the caskroom/fonts keg, if needed.
brew tap caskroom/fonts
# Install the font using brew
brew cask install font-twitter-color-emoji Reiterating: Only FireFox supports the SVGinOT color emoji for now. Safari and Chrome will use the fallback black and white emoji. Install on WindowsThere are two install options for Windows. Both SVGinOT versions are available from releases: https://github.com/eosrei/twemoji-color-font/releases Standard installThe regular version of the font installs like any other font and can be
specifically selected, but Windows will default to the Replace the default Windows emoji fontsWindows 7, 8, 10 use emoji from both Segoe UI Symbol and Segoe UI Emoji. We need to replace both fonts, but keep the existing symbol characters from Segoe UI Symbol. This package contains an install script that will generate both fonts (or in Windows 7, just Segoe UI Symbol) and install them for you. Running the install script requires both Python and pip in the PATH.
Reiterating: Only FireFox and Edge (legacy) support the SVGinOT color emoji for now. Chrome and Edge (Chromium based) will use the fallback black and white emoji. UninstallingThere are uninstall scripts for Windows and Linux available. They are also included in the release files. BuildingOverview:
Requires:
Setup and build on Ubuntu 20.04 LTS: sudo apt-get update
sudo apt-get install inkscape potrace npm nodejs fontforge \
devscripts python3-fontforge python3-pip python3-yaml imagemagick \
git make debhelper build-essential
sudo npm install -g svgo
sudo pip3 install fonttools
git clone https://github.com/eosrei/twemoji-color-font.git
cd twemoji-color-font
git clone https://github.com/13rac1/scfbuild.git SCFBuild
make -j 4 LicenseThe artwork and TTF fonts are licensed CC-BY-4.0. Please see LICENSE.md for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论