diff -Nru fonts-twemoji-svginot-11.2.0/debian/changelog fonts-twemoji-svginot-13.1.0/debian/changelog --- fonts-twemoji-svginot-11.2.0/debian/changelog 2018-11-01 21:21:32.000000000 +0000 +++ fonts-twemoji-svginot-13.1.0/debian/changelog 2021-06-22 03:53:03.000000000 +0000 @@ -1,8 +1,26 @@ +fonts-twemoji-svginot (13.1.0-1) bionic; urgency=medium + + * Update to twemoji 13.1.0. + + -- Brad Erickson Sun, 20 Jun 2021 16:58:17 -0700 + +fonts-twemoji-svginot (13.0.1-1) bionic; urgency=medium + + * Update to twemoji 13.0.1. + + -- Brad Erickson Sat, 12 Sep 2020 12:20:15 -0700 + +fonts-twemoji-svginot (12.0.1-1) bionic; urgency=medium + + * Update to twemoji 12.0.1. + + -- Brad Erickson Tue, 18 Apr 2019 11:42:12 -0700 + fonts-twemoji-svginot (11.2.0-1) bionic; urgency=medium * Update to twemoji 11.2.0. * Switched version numbers to match upstream twemoji which has switched - version numbers to match the unicode/moji version numbers. + version numbers to match the unicode/emoji version numbers. -- Brad Erickson Thu, 1 Nov 2018 12:17:11 -0700 diff -Nru fonts-twemoji-svginot-11.2.0/debian/install fonts-twemoji-svginot-13.1.0/debian/install --- fonts-twemoji-svginot-11.2.0/debian/install 2018-11-01 21:21:32.000000000 +0000 +++ fonts-twemoji-svginot-13.1.0/debian/install 2021-06-22 03:53:03.000000000 +0000 @@ -1,2 +1,2 @@ TwitterColorEmoji-SVGinOT.ttf usr/share/fonts/truetype/emoji -fontconfig/56-twemoji-color.conf etc/fonts/conf.avail +fontconfig/46-twemoji-color.conf etc/fonts/conf.avail diff -Nru fonts-twemoji-svginot-11.2.0/debian/links fonts-twemoji-svginot-13.1.0/debian/links --- fonts-twemoji-svginot-11.2.0/debian/links 2018-11-01 21:21:32.000000000 +0000 +++ fonts-twemoji-svginot-13.1.0/debian/links 2021-06-22 03:53:03.000000000 +0000 @@ -1 +1 @@ -etc/fonts/conf.avail/56-twemoji-color.conf etc/fonts/conf.d/56-twemoji-color.conf +etc/fonts/conf.avail/46-twemoji-color.conf etc/fonts/conf.d/46-twemoji-color.conf diff -Nru fonts-twemoji-svginot-11.2.0/fontconfig/46-twemoji-color.conf fonts-twemoji-svginot-13.1.0/fontconfig/46-twemoji-color.conf --- fonts-twemoji-svginot-11.2.0/fontconfig/46-twemoji-color.conf 1970-01-01 00:00:00.000000000 +0000 +++ fonts-twemoji-svginot-13.1.0/fontconfig/46-twemoji-color.conf 2021-06-22 03:53:03.000000000 +0000 @@ -0,0 +1,144 @@ + + + + + + + + Bitstream Vera Serif + + + + Bitstream Vera Serif + + + + serif + + + + + + + serif + + + + Bitstream Vera Serif + + + + Twitter Color Emoji + + + + + + + Bitstream Vera Sans + + + + Bitstream Vera Sans + + + + sans-serif + + + + + + + sans-serif + + + + Bitstream Vera Sans + + + + Twitter Color Emoji + + + + + + + Bitstream Vera Sans Mono + + + + Bitstream Vera Sans Mono + + + + monospace + + + + + + + monospace + + + + Bitstream Vera Sans Mono + + + + Twitter Color Emoji + + + + + + emoji + Twitter Color Emoji + + + + + Apple Color Emoji + Twitter Color Emoji + sans-serif + + + Segoe UI Emoji + Twitter Color Emoji + sans-serif + + + Noto Color Emoji + Twitter Color Emoji + sans-serif + + diff -Nru fonts-twemoji-svginot-11.2.0/fontconfig/56-twemoji-color.conf fonts-twemoji-svginot-13.1.0/fontconfig/56-twemoji-color.conf --- fonts-twemoji-svginot-11.2.0/fontconfig/56-twemoji-color.conf 2018-11-01 21:21:32.000000000 +0000 +++ fonts-twemoji-svginot-13.1.0/fontconfig/56-twemoji-color.conf 1970-01-01 00:00:00.000000000 +0000 @@ -1,144 +0,0 @@ - - - - - - - - Bitstream Vera Serif - - - - Bitstream Vera Serif - - - - serif - - - - - - - serif - - - - Bitstream Vera Serif - - - - Twitter Color Emoji - - - - - - - Bitstream Vera Sans - - - - Bitstream Vera Sans - - - - sans-serif - - - - - - - sans-serif - - - - Bitstream Vera Sans - - - - Twitter Color Emoji - - - - - - - Bitstream Vera Sans Mono - - - - Bitstream Vera Sans Mono - - - - monospace - - - - - - - monospace - - - - Bitstream Vera Sans Mono - - - - Twitter Color Emoji - - - - - - emoji - Twitter Color Emoji - - - - - Apple Color Emoji - Twitter Color Emoji - sans-serif - - - Segoe UI Emoji - Twitter Color Emoji - sans-serif - - - Noto Color Emoji - Twitter Color Emoji - sans-serif - - diff -Nru fonts-twemoji-svginot-11.2.0/install.sh fonts-twemoji-svginot-13.1.0/install.sh --- fonts-twemoji-svginot-11.2.0/install.sh 2018-11-01 21:21:32.000000000 +0000 +++ fonts-twemoji-svginot-13.1.0/install.sh 2021-06-22 03:53:03.000000000 +0000 @@ -1,6 +1,6 @@ #!/bin/sh #https://github.com/eosrei/twemoji-color-font -echo "Twitter Color Emoji font installer for Linux\n" +echo -e "Twitter Color Emoji font installer for Linux\n" # Check for Bitstream Vera fc-list | grep "Bitstream Vera" > /dev/null @@ -40,7 +40,7 @@ cp $FONTCONFIG/fonts.conf $FONTCONFIG/fonts.bak fi # Install fonts.conf -cp fontconfig/56-twemoji-color.conf $FONTCONFIG/conf.d/ +cp fontconfig/46-twemoji-color.conf $FONTCONFIG/conf.d/ echo "Clearing font cache" fc-cache -f diff -Nru fonts-twemoji-svginot-11.2.0/README.md fonts-twemoji-svginot-13.1.0/README.md --- fonts-twemoji-svginot-11.2.0/README.md 2018-11-01 21:21:32.000000000 +0000 +++ fonts-twemoji-svginot-13.1.0/README.md 2021-06-22 03:53:03.000000000 +0000 @@ -1,26 +1,29 @@ # Twitter Color Emoji SVGinOT Font -A color and B&W emoji SVGinOT font built from the + +A color and B&W emoji SVG-OpenType / SVGinOT font built from the [Twitter Emoji for Everyone][1] artwork with support for [ZWJ][2], [skin tone diversity][3] and [country flags][4]. 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+. +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. Regular B&W outline emoji are included for backwards/fallback -compatibility. +applications. [Why doesn't it work on Chrome?][why-not-chrome] Regular B&W +outline emoji are included for backwards/fallback compatibility. [1]: https://github.com/twitter/twemoji -[2]: http://unicode.org/emoji/charts/emoji-zwj-sequences.html -[3]: http://www.unicode.org/reports/tr51/#Diversity -[4]: http://www.unicode.org/reports/tr51/#Flags +[2]: https://unicode.org/emoji/charts/emoji-zwj-sequences.html +[3]: https://www.unicode.org/reports/tr51/#Diversity +[4]: https://www.unicode.org/reports/tr51/#Flags +[why-not-chrome]: https://bugs.chromium.org/p/chromium/issues/detail?id=306078 ## Table of Contents * [Examples](#examples) * [What is SVGinOT?](#what-is-svginot) * [Install on Linux](#install-on-linux) -* [Install on OS X](#install-on-os-x) +* [Install on MacOS](#install-on-macos) * [Install on Windows](#install-on-windows) +* [Uninstalling](#uninstalling) * [Building](#building) * [License](#license) @@ -38,8 +41,8 @@ SVGinOT Font demos (Firefox only): * https://hacks.mozilla.org/2014/10/svg-colors-in-opentype-fonts/ -* http://xerographer.github.io/reinebow/ -* http://xerographer.github.io/multicoloure/ +* https://xerographer.github.io/reinebow/ +* https://xerographer.github.io/multicoloure/ [6]: https://www.w3.org/2013/10/SVG_in_OpenType/ [7]: https://www.microsoft.com/typography/otspec/svg.htm @@ -84,11 +87,11 @@ Install for the current user without root: ```sh # 1. Download the latest version -wget https://github.com/eosrei/twemoji-color-font/releases/download/v11.2.0/TwitterColorEmoji-SVGinOT-Linux-11.2.0.tar.gz +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-11.2.0.tar.gz +tar zxf TwitterColorEmoji-SVGinOT-Linux-13.1.0.tar.gz # 3. Run the installer -cd TwitterColorEmoji-SVGinOT-Linux-11.2.0 +cd TwitterColorEmoji-SVGinOT-Linux-13.1.0 ./install.sh ``` @@ -102,11 +105,10 @@ ``` ### Install on Arch Linux -AUR package: https://aur.archlinux.org/packages/ttf-twemoji-color/ +Available in [AUR][AUR] as package [`ttf-twemoji-color`][aur-package]. -```sh -yaourt -S ttf-twemoji-color -``` +[AUR]:https://wiki.archlinux.org/index.php/Arch_User_Repository +[aur-package]:https://aur.archlinux.org/packages/ttf-twemoji-color/ ### Install on Gentoo Linux Gentoo repository: https://github.com/jorgicio/jorgicio-gentoo @@ -120,18 +122,18 @@ emerge twemoji-color-font ``` -## Install on OS X +## Install on MacOS Both SVGinOT versions are available from releases: https://github.com/eosrei/twemoji-color-font/releases -1. `TwitterColorEmoji-SVGinOT-11.2.0.zip` - The regular version of the font - installs like any other font and can be specifically selected, but OS X will +1. `TwitterColorEmoji-SVGinOT-13.1.0.zip` - The regular version of the font + installs like any other font and can be specifically selected, but MacOS will default to the `Apple Color Emoji` font for emojis. -2. `TwitterColorEmoji-SVGinOT-OSX-11.2.0.zip` - A hack to replace the `Apple +2. `TwitterColorEmoji-SVGinOT-MacOS-13.1.0.zip` - A hack to replace the `Apple Color Emoji` font by [using the same internal name][12]. Install and accept the warning in Font Book. -A [Homebrew](http://brew.sh) package is available. +A [Homebrew](https://brew.sh) package is available. ```sh # Tap the caskroom/fonts keg, if needed. @@ -140,7 +142,7 @@ brew cask install font-twitter-color-emoji ``` -[12]:http://www.macissues.com/2014/11/21/how-to-change-the-default-system-font-in-mac-os-x/ +[12]:https://www.macissues.com/2014/11/21/how-to-change-the-default-system-font-in-mac-os-x/ *Reiterating: Only FireFox supports the SVGinOT color emoji for now. Safari and Chrome will use the fallback black and white emoji.* @@ -155,7 +157,7 @@ The regular version of the font installs like any other font and can be specifically selected, but Windows will default to the `Segoe UI Emoji` font for emoji characters. Download: -https://github.com/eosrei/twemoji-color-font/releases/download/v11.2.0/TwitterColorEmoji-SVGinOT-11.2.0.zip +https://github.com/eosrei/twemoji-color-font/releases/download/v13.1.0/TwitterColorEmoji-SVGinOT-13.1.0.zip ### Replace the default Windows emoji fonts @@ -168,22 +170,30 @@ install script requires both [Python][16] and pip in the PATH. 1. Download the most recent Python 3 for Windows: https://www.python.org/downloads/windows/ -2. Start the installer, select "Add Python 3.6 to PATH" and finish the install process. +2. Start the installer, select "Add Python 3.6 to PATH", finish the install process, then reboot. 3. Download Twitter Color Emoji Windows package from releases: -https://github.com/eosrei/twemoji-color-font/releases/download/v11.2.0/TwitterColorEmoji-SVGinOT-Win-11.2.0.zip +https://github.com/eosrei/twemoji-color-font/releases/download/v13.1.0/TwitterColorEmoji-SVGinOT-Win-13.1.0.zip 4. Uncompress the file. 5. Open the new TwitterColorEmoji directory. -7. Run install.cmd. *Note: This will take some time.* -8. Install both new fonts when requested. -9. Done! +6. Run install.cmd. *Note: This will take some time.* +7. Install both new fonts when requested. +8. Done! [16]:https://www.python.org/downloads/windows/ -*Reiterating: Only FireFox and Edge support the SVGinOT color emoji for now. Chrome will use the +*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.* +## Uninstalling + +There are uninstall scripts for [Windows][17] and [Linux][18] available. They +are also included in the release files. + +[17]:windows/uninstall.cmd +[18]:linux/uninstall.sh ## Building + Overview: 1. B&W SVGs are generated on-the-fly from the color SVGs @@ -192,25 +202,27 @@ 3. The color SVGs are imported to override both types of glyphs. Requires: -* Inkscape + +* Inkscape 1.0+ * Imagemagick * potrace/mkbitmap -* FontTools 3.0+ -* FontForge 20160405+ +* FontTools 4.14+ +* FontForge 20190801+ * SVGO * make * [SCFBuild][13] *(Created for this project!)* [13]: https://github.com/13rac1/scfbuild -Setup and build on Ubuntu 18.04 LTS: +Setup and build on Ubuntu 20.04 LTS: + ```sh sudo apt-get update sudo apt-get install inkscape potrace npm nodejs fontforge \ -devscripts python-fontforge python-pip python-yaml imagemagick \ +devscripts python3-fontforge python3-pip python3-yaml imagemagick \ git make debhelper build-essential sudo npm install -g svgo -sudo pip install fonttools +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 Binary files /tmp/tmpzcxneg46/CVyKkyBD5O/fonts-twemoji-svginot-11.2.0/TwitterColorEmoji-SVGinOT.ttf and /tmp/tmpzcxneg46/9UiccXjxFN/fonts-twemoji-svginot-13.1.0/TwitterColorEmoji-SVGinOT.ttf differ diff -Nru fonts-twemoji-svginot-11.2.0/uninstall.sh fonts-twemoji-svginot-13.1.0/uninstall.sh --- fonts-twemoji-svginot-11.2.0/uninstall.sh 2018-11-01 21:21:32.000000000 +0000 +++ fonts-twemoji-svginot-13.1.0/uninstall.sh 2021-06-22 03:53:03.000000000 +0000 @@ -11,7 +11,7 @@ FONTCONFIG=$HOME/.config/fontconfig rm $XDG_DATA_HOME/fonts/TwitterColorEmoji-SVGinOT.ttf -rm $FONTCONFIG/conf.d/56-twemoji-color.conf +rm $FONTCONFIG/conf.d/46-twemoji-color.conf echo "Clearing font cache" fc-cache -f