Skip to content

Commit

Permalink
Consolidate instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rsheeter committed Sep 6, 2022
1 parent 1b5d403 commit e9a1465
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
36 changes: 36 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Build instructions

Typically build the CBDT then the COLRv1 as COLRv1 copies some information from CBDT.

## CBDT

```bash
rm -rf venv # in case you have an old borked venv!
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
rm -rf build/ && time make -j 48
# Should take 2-3 minutes to create noto-emoji/NotoColorEmoji.ttf

mv *.ttf fonts/
```

## COLRv1

```bash
# If you are updating to a new Unicode rev, update configs
(cd colrv1 && python colrv1_generate_configs.py)
git diff colrv1/*.toml

# Compile the fonts
(cd colrv1 && rm -rf build/ && time nanoemoji *.toml)
cp colrv1/build/NotoColorEmoji.ttf fonts/Noto-COLRv1.ttf
cp colrv1/build/NotoColorEmoji-noflags.ttf fonts/Noto-COLRv1-noflags.ttf

# Post-process them
python colrv1_postproc.py
```

## Emojicompat

TODO detailed instructions
36 changes: 0 additions & 36 deletions colrv1/README.md

This file was deleted.

0 comments on commit e9a1465

Please sign in to comment.