Skip to content

Commit

Permalink
Build OpenMoji Black as a black and white TTF
Browse files Browse the repository at this point in the history
This is now possible because googlefonts/nanoemoji#114 was fixed.
  • Loading branch information
mavit authored and JeppeKlitgaard committed Dec 6, 2022
1 parent 03d6abc commit 437750d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Binary file not shown.
Binary file removed font/untouchedsvgz/OpenMoji-Black.ttf
Binary file not shown.
15 changes: 10 additions & 5 deletions helpers/generate-fonts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,20 @@ fi
# FIXME: Switch untouchedsvgz for picosvgz when
# https://github.com/googlefonts/nanoemoji/issues/113 is fixed.
#
# FIXME: Here we build OpenMoji Black as a colour font that just happens
# to use black as the only colour. This is probably a bad idea.
# https://github.com/googlefonts/nanoemoji/issues/114
#
for saturation in black color; do
name=OpenMoji-${saturation^}
build_dir=/mnt/build/$saturation

for format in glyf_colr_0 untouchedsvgz; do
case $saturation in
black)
formats='glyf'
;;
color)
formats='glyf_colr_0 untouchedsvgz'
;;
esac

for format in $formats; do
mkdir -p font/$format

docker run \
Expand Down

0 comments on commit 437750d

Please sign in to comment.