colrv1/README.md: recommend to regenerate configs as initial step before build

pull/399/head
Cosimo Lupo 2022-07-21 15:42:55 +02:00
parent b0a855e2db
commit 93be998cac
1 changed files with 11 additions and 1 deletions

View File

@ -5,6 +5,16 @@ contains emojicompat metadata.
## Build Steps ## Build Steps
1. Check the list of sources in the config files is in sync with the current sources
```shell
# running from the noto-emoji repository root directory
python colrv1_generate_configs.py
git diff colrv1/*.toml
```
If configs are in sync, the `colrv1/*.toml` files should contain no diffs.
1. Compile the COLRv1 fonts 1. Compile the COLRv1 fonts
```shell ```shell
@ -18,4 +28,4 @@ contains emojicompat metadata.
# Assumed to be in a python3 environment with requirements.txt fulfilled # Assumed to be in a python3 environment with requirements.txt fulfilled
python colrv1_postproc.py colrv1/build/NotoColorEmoji-noflags.ttf \ python colrv1_postproc.py colrv1/build/NotoColorEmoji-noflags.ttf \
PATH_TO/NotoColorEmojiCompat.ttf PATH_TO/NotoColorEmojiCompat.ttf
``` ```