diff --git a/BUILD.md b/BUILD.md index ef67e289c..56ece42c5 100644 --- a/BUILD.md +++ b/BUILD.md @@ -54,3 +54,12 @@ $ emojicompat --op check --font Noto-COLRv1-emojicompat.ttf 0 PUA point at wrong glyph 3835 PUA correct 0 Emji entries did NOT match a glyph +``` + +## Flags only + +```bash +$ hb-subset --unicodes-file=flags-only-unicodes.txt \ + --output-file=fonts/NotoColorEmoji-flagsonly.ttf \ + fonts/NotoColorEmoji.ttf +``` \ No newline at end of file diff --git a/flags-only-unicodes.txt b/flags-only-unicodes.txt new file mode 100644 index 000000000..421896aa9 --- /dev/null +++ b/flags-only-unicodes.txt @@ -0,0 +1,36 @@ +U+1f1e6 +U+1f1e7 +U+1f1e8 +U+1f1e9 +U+1f1ea +U+1f1eb +U+1f1ec +U+1f1ed +U+1f1ee +U+1f1ef +U+1f1f0 +U+1f1f1 +U+1f1f2 +U+1f1f3 +U+1f1f4 +U+1f1f5 +U+1f1f6 +U+1f1f7 +U+1f1f8 +U+1f1f9 +U+1f1fa +U+1f1fb +U+1f1fc +U+1f1fd +U+1f1fe +U+1f1ff +U+fe4e5 +U+fe4e6 +U+fe4e7 +U+fe4e8 +U+fe4e9 +U+fe4ea +U+fe4eb +U+fe4ec +U+fe4ed +U+fe4ee \ No newline at end of file diff --git a/fonts/NotoColorEmoji-flagsonly.ttf b/fonts/NotoColorEmoji-flagsonly.ttf new file mode 100644 index 000000000..d3b8f2c8e Binary files /dev/null and b/fonts/NotoColorEmoji-flagsonly.ttf differ