marseymoji/colrv1
Rod S 58e371b3d4 Update postproc script and instructions 2022-09-06 10:37:41 -07:00
..
README.md Update postproc script and instructions 2022-09-06 10:37:41 -07:00
all.toml Update COLRv1 config to include U15 content 2022-08-12 14:14:26 -07:00
noflags.toml Update COLRv1 config to include U15 content 2022-08-12 14:14:26 -07: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
    cp build/NotoColorEmoji.ttf ../fonts/Noto-COLRv1.ttf
    cp build/NotoColorEmoji-noflags.ttf ../fonts/Noto-COLRv1-noflags.ttf
    
  3. Post-process COLRv1 fonts

    • Adds some additional sequences, fixes up name, etc
    • 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
    
  4. Add emojicompat metadata to the Android font and pass to the Android team

    • TODO write detailed instructions