Skip to content

Commit

Permalink
version: Bump to v12.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
13rac1 committed Apr 16, 2019
1 parent a33e314 commit 2eead68
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 21 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TMP := /dev/shm
# Where to find scfbuild?
SCFBUILD := SCFBuild/bin/scfbuild

VERSION := 11.2.0
VERSION := 12.0.1
FONT_PREFIX := TwitterColorEmoji-SVGinOT
REGULAR_FONT := build/$(FONT_PREFIX).ttf
REGULAR_PACKAGE := build/$(FONT_PREFIX)-$(VERSION)
Expand All @@ -34,10 +34,13 @@ SVG_STAGE_FILES := $(patsubst $(SVG_EXTRA)/%.svg, build/stage/%.svg, $(SVG_STAGE
SVG_BW_FILES := $(patsubst build/stage/%.svg, build/svg-bw/%.svg, $(SVG_STAGE_FILES))
SVG_COLOR_FILES := $(patsubst build/stage/%.svg, build/svg-color/%.svg, $(SVG_STAGE_FILES))

.PHONY: all package regular-package linux-package osx-package windows-package copy-extra clean
.PHONY: all update package regular-package linux-package osx-package windows-package copy-extra clean

all: $(REGULAR_FONT) $(OSX_FONT)

update:
cp ../twemoji/2/svg/* assets/twemoji-svg/

# Create the operating system specific packages
package: regular-package linux-package deb-package osx-package windows-package

Expand Down Expand Up @@ -138,4 +141,3 @@ build/svg-color: | build

clean:
rm -rf build

29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Twitter Color Emoji SVGinOT Font

A color and B&W emoji SVGinOT font built from the
[Twitter Emoji for Everyone][1] artwork with support for [ZWJ][2],
[skin tone diversity][3] and [country flags][4].
Expand Down Expand Up @@ -84,11 +85,11 @@ want to try them. Primary issues are the 0x2639 and 0x263a characters.
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/v12.0.1/TwitterColorEmoji-SVGinOT-Linux-12.0.1.tar.gz
# 2. Uncompress the file
tar zxf TwitterColorEmoji-SVGinOT-Linux-11.2.0.tar.gz
tar zxf TwitterColorEmoji-SVGinOT-Linux-12.0.1.tar.gz
# 3. Run the installer
cd TwitterColorEmoji-SVGinOT-Linux-11.2.0
cd TwitterColorEmoji-SVGinOT-Linux-12.0.1
./install.sh
```

Expand All @@ -102,7 +103,10 @@ sudo apt-get install fonts-twemoji-svginot
```

### Install on Arch Linux
Available in [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository) as package [`ttf-twemoji-color`](https://aur.archlinux.org/packages/ttf-twemoji-color/).
Available in [AUR][AUR] as package [`ttf-twemoji-color`][aur-package].

[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
Expand All @@ -120,10 +124,10 @@ emerge twemoji-color-font
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
1. `TwitterColorEmoji-SVGinOT-12.0.1.zip` - The regular version of the font
installs like any other font and can be specifically selected, but OS X 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-OSX-12.0.1.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.

Expand Down Expand Up @@ -151,7 +155,7 @@ from releases: https://github.com/eosrei/twemoji-color-font/releases
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/v12.0.1/TwitterColorEmoji-SVGinOT-12.0.1.zip

### Replace the default Windows emoji fonts

Expand All @@ -166,19 +170,18 @@ 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.
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/v12.0.1/TwitterColorEmoji-SVGinOT-Win-12.0.1.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
fallback black and white emoji.*


## Building
Overview:

Expand All @@ -188,6 +191,7 @@ Overview:
3. The color SVGs are imported to override both types of glyphs.

Requires:

* Inkscape
* Imagemagick
* potrace/mkbitmap
Expand All @@ -200,6 +204,7 @@ Requires:
[13]: https://github.com/13rac1/scfbuild

Setup and build on Ubuntu 18.04 LTS:

```sh
sudo apt-get update
sudo apt-get install inkscape potrace npm nodejs fontforge \
Expand Down
6 changes: 6 additions & 0 deletions linux/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
fonts-twemoji-svginot (12.0.1-1) bionic; urgency=medium

* Update to twemoji 12.0.1.

-- Brad Erickson <[email protected]> Tue, 18 Apr 2019 11:42:12 -0700

fonts-twemoji-svginot (11.2.0-1) bionic; urgency=medium

* Update to twemoji 11.2.0.
Expand Down
6 changes: 3 additions & 3 deletions scfbuild-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ color_transform: translate(0 -6.75)
width_space: 561
table_name:
copyright: >
Copyright 2016 Brad Erickson CC-BY-4.0
Copyright 2016 Twitter, Inc. CC-BY-4.0
Copyright 2019 Brad Erickson CC-BY-4.0
Copyright 2019 Twitter, Inc. CC-BY-4.0
family: Twitter Color Emoji
# Subfamily is also called Style or Weight. Often set to: Regular
subfamily: Regular
Expand All @@ -26,7 +26,7 @@ table_name:
# Use the same postscript name as the Apple Color Emoji font to overide it.
postscript_name: AppleColorEmoji
#trademark:
manufacturer: eosrei.net
manufacturer: 13rac1
designer: Twitter, Inc.
description: >
A SVGinOT color emoji font using the Twitter Emoji for Everyone set:
Expand Down
6 changes: 3 additions & 3 deletions scfbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ color_transform: translate(0 -6.75)
width_space: 561
table_name:
copyright: >
Copyright 2016 Brad Erickson CC-BY-4.0
Copyright 2016 Twitter, Inc. CC-BY-4.0
Copyright 2019 Brad Erickson CC-BY-4.0
Copyright 2019 Twitter, Inc. CC-BY-4.0
family: Twitter Color Emoji
# Subfamily is also called Style or Weight. Often set to: Regular
subfamily: Regular
Expand All @@ -26,7 +26,7 @@ table_name:
# No spaces in PostScript Names
postscript_name: TwitterColorEmojiSVGinOT
#trademark:
manufacturer: eosrei.net
manufacturer: 13rac1
designer: Twitter, Inc.
description: >
A SVGinOT color emoji font using the Twitter Emoji for Everyone set:
Expand Down

0 comments on commit 2eead68

Please sign in to comment.