Properly add regional indicators, with ZWNJ
This commit is contained in:
parent
209865e882
commit
b629882793
@ -1,27 +1,27 @@
|
|||||||
# group: Symbols
|
# group: Symbols
|
||||||
1F1E6 ; fully-qualified # ๐ฆ E6.0 regional indicator a
|
200C 1F1E6 200C ; fully-qualified # โ๐ฆโ E6.0 regional indicator a
|
||||||
1F1E7 ; fully-qualified # ๐ง E6.0 regional indicator b
|
200C 1F1E7 200C ; fully-qualified # โ๐งโ E6.0 regional indicator b
|
||||||
1F1E8 ; fully-qualified # ๐จ E6.0 regional indicator c
|
200C 1F1E8 200C ; fully-qualified # โ๐จโ E6.0 regional indicator c
|
||||||
1F1E9 ; fully-qualified # ๐ฉ E6.0 regional indicator d
|
200C 1F1E9 200C ; fully-qualified # โ๐ฉโ E6.0 regional indicator d
|
||||||
1F1EA ; fully-qualified # ๐ช E6.0 regional indicator e
|
200C 1F1EA 200C ; fully-qualified # โ๐ชโ E6.0 regional indicator e
|
||||||
1F1EB ; fully-qualified # ๐ซ E6.0 regional indicator f
|
200C 1F1EB 200C ; fully-qualified # โ๐ซโ E6.0 regional indicator f
|
||||||
1F1EC ; fully-qualified # ๐ฌ E6.0 regional indicator g
|
200C 1F1EC 200C ; fully-qualified # โ๐ฌโ E6.0 regional indicator g
|
||||||
1F1ED ; fully-qualified # ๐ญ E6.0 regional indicator h
|
200C 1F1ED 200C ; fully-qualified # โ๐ญโ E6.0 regional indicator h
|
||||||
1F1EE ; fully-qualified # ๐ฎ E6.0 regional indicator i
|
200C 1F1EE 200C ; fully-qualified # โ๐ฎโ E6.0 regional indicator i
|
||||||
1F1EF ; fully-qualified # ๐ฏ E6.0 regional indicator j
|
200C 1F1EF 200C ; fully-qualified # โ๐ฏโ E6.0 regional indicator j
|
||||||
1F1F0 ; fully-qualified # ๐ฐ E6.0 regional indicator k
|
200C 1F1F0 200C ; fully-qualified # โ๐ฐโ E6.0 regional indicator k
|
||||||
1F1F1 ; fully-qualified # ๐ฑ E6.0 regional indicator l
|
200C 1F1F1 200C ; fully-qualified # โ๐ฑโ E6.0 regional indicator l
|
||||||
1F1F2 ; fully-qualified # ๐ฒ E6.0 regional indicator m
|
200C 1F1F2 200C ; fully-qualified # โ๐ฒโ E6.0 regional indicator m
|
||||||
1F1F3 ; fully-qualified # ๐ณ E6.0 regional indicator n
|
200C 1F1F3 200C ; fully-qualified # โ๐ณโ E6.0 regional indicator n
|
||||||
1F1F4 ; fully-qualified # ๐ด E6.0 regional indicator o
|
200C 1F1F4 200C ; fully-qualified # โ๐ดโ E6.0 regional indicator o
|
||||||
1F1F5 ; fully-qualified # ๐ต E6.0 regional indicator p
|
200C 1F1F5 200C ; fully-qualified # โ๐ตโ E6.0 regional indicator p
|
||||||
1F1F6 ; fully-qualified # ๐ถ E6.0 regional indicator q
|
200C 1F1F6 200C ; fully-qualified # โ๐ถโ E6.0 regional indicator q
|
||||||
1F1F7 ; fully-qualified # ๐ท E6.0 regional indicator r
|
200C 1F1F7 200C ; fully-qualified # โ๐ทโ E6.0 regional indicator r
|
||||||
1F1F8 ; fully-qualified # ๐ธ E6.0 regional indicator s
|
200C 1F1F8 200C ; fully-qualified # โ๐ธโ E6.0 regional indicator s
|
||||||
1F1F9 ; fully-qualified # ๐น E6.0 regional indicator t
|
200C 1F1F9 200C ; fully-qualified # โ๐นโ E6.0 regional indicator t
|
||||||
1F1FA ; fully-qualified # ๐บ E6.0 regional indicator u
|
200C 1F1FA 200C ; fully-qualified # โ๐บโ E6.0 regional indicator u
|
||||||
1F1FB ; fully-qualified # ๐ป E6.0 regional indicator v
|
200C 1F1FB 200C ; fully-qualified # โ๐ปโ E6.0 regional indicator v
|
||||||
1F1FC ; fully-qualified # ๐ผ E6.0 regional indicator w
|
200C 1F1FC 200C ; fully-qualified # โ๐ผโ E6.0 regional indicator w
|
||||||
1F1FD ; fully-qualified # ๐ฝ E6.0 regional indicator x
|
200C 1F1FD 200C ; fully-qualified # โ๐ฝโ E6.0 regional indicator x
|
||||||
1F1FE ; fully-qualified # ๐พ E6.0 regional indicator y
|
200C 1F1FE 200C ; fully-qualified # โ๐พโ E6.0 regional indicator y
|
||||||
1F1FF ; fully-qualified # ๐ฟ E6.0 regional indicator z
|
200C 1F1FF 200C ; fully-qualified # โ๐ฟโ E6.0 regional indicator z
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
ROOT=$(realpath "$PWD/$(dirname "$0")/..")
|
ROOT=$(realpath "$PWD/$(dirname "$0")/..")
|
||||||
cd $ROOT
|
cd $ROOT
|
||||||
cat resources/provider-header.txt > src/emoji/Provider.cpp
|
cat resources/provider-header.txt > src/emoji/Provider.cpp
|
||||||
# cat resources/extra_emoji.txt resources/emoji-test.txt > resources/complete-emoji.txt
|
cat resources/extra_emoji.txt resources/emoji-test.txt > resources/complete-emoji.txt
|
||||||
scripts/emoji_codegen.py resources/emoji-test.txt resources/shortcodes.txt >> src/emoji/Provider.cpp
|
scripts/emoji_codegen.py resources/complete-emoji.txt resources/shortcodes.txt >> src/emoji/Provider.cpp
|
||||||
cd - > /dev/null
|
cd - > /dev/null
|
||||||
|
@ -78,7 +78,7 @@ if __name__ == '__main__':
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
||||||
char, name = re.match(r'^(\S+) E\d+\.\d+ (.*)$', charAndName.strip()).groups()
|
char, name = re.match(r'^(\S+) E\d+\.\d+ (.*)$', charAndName).groups()
|
||||||
shortname = name
|
shortname = name
|
||||||
|
|
||||||
#TODO: Handle skintone modifiers in a sane way
|
#TODO: Handle skintone modifiers in a sane way
|
||||||
|
18384
src/emoji/Provider.cpp
18384
src/emoji/Provider.cpp
File diff suppressed because it is too large
Load Diff
Loadingโฆ
Reference in New Issue
Block a user