marseymoji/colrv1
Cosimo Lupo 93be998cac colrv1/README.md: recommend to regenerate configs as initial step before build 2022-07-21 15:42:55 +02:00
..
README.md colrv1/README.md: recommend to regenerate configs as initial step before build 2022-07-21 15:42:55 +02:00
all.toml regenerate colrv1/*.toml files using new colrv1_generate_configs.py script 2022-07-21 15:30:15 +02:00
noflags.toml regenerate colrv1/*.toml files using new colrv1_generate_configs.py script 2022-07-21 15:30:15 +02:00

README.md

COLRv1 Build

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

Build Steps

  1. Check the list of sources in the config files is in sync with the current sources

    # 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.

  2. Compile the COLRv1 fonts

    time nanoemoji *.toml
    
  3. Post-process COLRv1 font for Android

    • At time of writing only the noflags version is for Android
    # Assumed to be in a python3 environment with requirements.txt fulfilled
    python colrv1_postproc.py colrv1/build/NotoColorEmoji-noflags.ttf \
    	PATH_TO/NotoColorEmojiCompat.ttf