Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c37f926 authored by Siyamed Sinir's avatar Siyamed Sinir
Browse files

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
(cherry picked from commit 77a1b149)
parent 3d3c6531
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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 = [