Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.86 KB

BUILD.md

File metadata and controls

47 lines (38 loc) · 1.86 KB

Build instructions

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

Is this a Unicode rev?

Update version

Edit NotoColorEmoji.tmpl.ttx.tmpl

  • In <head> find fontRevision.
    • It should be of the form 2.xxx
    • Increment xxx by 1
  • In <name> find <namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
    • It should look like Version 2.017;GOOG;noto-emoji:20180810:f1da3bc656f9
    • Update Version to match <head> (Version 2.017 in the example)
    • Update the date (20180810 in the example)
    • Update the commit

Update new flags

  • Add new flags to list in Makefile (example)
  • Update third_party/region-flags. For example, for CQ (Sark) update:
    • third_party/region-flags/png/CQ.png
      • This file can be highres, it will be resized by the CBDT build process
      • This file should have the proportions of the flag
    • third_party/region-flags/svg/CQ.svg
      • This file is not required to have the 0 0 128 128 viewbox files in /svg have to have
    • third_party/region-flags/waved-svg/emoji_u1f1e8_1f1f6.svg

Rebuild the fonts

# Build CBDT, COLR, flags-only, and emojicompat fonts
$ ./full_rebuild.sh