Skip to content

Commit

Permalink
Merge pull request googlefonts#389 from googlefonts/colrv1
Browse files Browse the repository at this point in the history
COLRv1 edition
  • Loading branch information
anthrotype authored Jul 21, 2022
2 parents c0040cb + bc8671f commit 81a3995
Show file tree
Hide file tree
Showing 271 changed files with 28,664 additions and 3 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ clean:
rm -f waveflag
rm -rf $(BUILD_DIR)

# This prints the value of a Makefile variable: e.g. `make print-SELECTED_FLAGS`
# will print the content of SELECTED_FLAGS.
# Source: https://apprize.best/linux/gnu/3.html
print-%: ; @echo $* = $($*)

.SECONDARY: $(EMOJI_FILES) $(FLAG_FILES) $(RESIZED_FLAG_FILES) $(RENAMED_FLAG_FILES) \
$(ALL_QUANTIZED_FILES) $(ALL_COMPRESSED_FILES)

Expand Down
21 changes: 21 additions & 0 deletions colrv1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# COLRv1 Build

We assume the bitmap version with equivalent coverage exists and
contains emojicompat metadata.

## Build Steps

1. Compile the COLRv1 fonts

```shell
time nanoemoji *.toml
```

1. Post-process COLRv1 font for Android
* At time of writing only the noflags version is for Android

```shell
# Assumed to be in a python3 environment with requirements.txt fulfilled
python colrv1_postproc.py colrv1/build/NotoColorEmoji-noflags.ttf \
PATH_TO/NotoColorEmojiCompat.ttf
```
Loading

0 comments on commit 81a3995

Please sign in to comment.