diff options
author | Siyamed Sinir <siyamed@google.com> | 2018-07-12 12:02:18 -0700 |
---|---|---|
committer | Siyamed Sinir <siyamed@google.com> | 2018-07-12 12:02:18 -0700 |
commit | 77a1b149109d99ff2c73d1b8ba9a943e6961af48 (patch) | |
tree | f5bbeee4d5c181d263f5073d19b48dfad9258c96 /tools/fonts | |
parent | ce77407144346c6fad679a4297910eea07d0d601 (diff) |
Remove requirement for kiss emoji should have gender
Test: m fontchain_lint
Test: m
Test: Visual test on device after full build
Bug: 110037531
Change-Id: Iac26c7c7c0e1a8a500a93f19d99831113529b201
Diffstat (limited to 'tools/fonts')
-rwxr-xr-x | tools/fonts/fontchain_linter.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/fonts/fontchain_linter.py b/tools/fonts/fontchain_linter.py index a8411aa5c488..ce9becd40b1e 100755 --- a/tools/fonts/fontchain_linter.py +++ b/tools/fonts/fontchain_linter.py @@ -524,9 +524,12 @@ LEGACY_ANDROID_EMOJI = { 0xFE837: (ord('0'), COMBINING_KEYCAP), } +# This is used to define the emoji that should have the same glyph. +# i.e. previously we had gender based Kiss (0x1F48F), which had the same glyph +# with Kiss: Woman, Man (0x1F469, 0x200D, 0x2764, 0x200D, 0x1F48B, 0x200D, 0x1F468) +# in that case a valid row would be: +# (0x1F469, 0x200D, 0x2764, 0x200D, 0x1F48B, 0x200D, 0x1F468): 0x1F48F, ZWJ_IDENTICALS = { - # KISS - (0x1F469, 0x200D, 0x2764, 0x200D, 0x1F48B, 0x200D, 0x1F468): 0x1F48F, } SAME_FLAG_MAPPINGS = [ |