Package: pango1.0 / 1.42.4-8~deb10u1

emoji-Update-emoji-tables-to-Unicode-11.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
From: Behdad Esfahbod <behdad@behdad.org>
Date: Mon, 15 Oct 2018 13:24:49 -0700
Subject: [emoji] Update emoji tables to Unicode 11

(cherry picked from commit 15eb263d75496119d4bcd14069199bf8367926e9)
---
 pango/pango-emoji-table.h | 43 ++++++++++++++++++++++++++++---------------
 tools/gen-emoji-table.py  |  4 ++++
 2 files changed, 32 insertions(+), 15 deletions(-)

diff --git a/pango/pango-emoji-table.h b/pango/pango-emoji-table.h
index 0f58f21..da9ff4f 100644
--- a/pango/pango-emoji-table.h
+++ b/pango/pango-emoji-table.h
@@ -7,13 +7,13 @@
  * on file with this header:
  *
  * # emoji-data.txt
- * # Date: 2017-06-19, 11:13:24 GMT
- * # © 2017 Unicode®, Inc.
+ * # Date: 2018-02-07, 07:55:18 GMT
+ * # © 2018 Unicode®, Inc.
  * # Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
  * # For terms of use, see http://www.unicode.org/terms_of_use.html
  * #
- * # Emoji Data for UTR #51
- * # Version: 5.0
+ * # Emoji Data for UTS #51
+ * # Version: 11.0
  * #
  * # For documentation and usage, see http://www.unicode.org/reports/tr51
  */
@@ -65,12 +65,12 @@ static const struct Interval _pango_Emoji_table[] =
   {0x2640, 0x2640},
   {0x2642, 0x2642},
   {0x2648, 0x2653},
-  {0x2660, 0x2660},
+  {0x265F, 0x2660},
   {0x2663, 0x2663},
   {0x2665, 0x2666},
   {0x2668, 0x2668},
   {0x267B, 0x267B},
-  {0x267F, 0x267F},
+  {0x267E, 0x267F},
   {0x2692, 0x2697},
   {0x2699, 0x2699},
   {0x269B, 0x269C},
@@ -228,6 +228,7 @@ static const struct Interval _pango_Emoji_table[] =
   {0x1F6F3, 0x1F6F3},
   {0x1F6F4, 0x1F6F6},
   {0x1F6F7, 0x1F6F8},
+  {0x1F6F9, 0x1F6F9},
   {0x1F910, 0x1F918},
   {0x1F919, 0x1F91E},
   {0x1F91F, 0x1F91F},
@@ -240,13 +241,22 @@ static const struct Interval _pango_Emoji_table[] =
   {0x1F940, 0x1F945},
   {0x1F947, 0x1F94B},
   {0x1F94C, 0x1F94C},
+  {0x1F94D, 0x1F94F},
   {0x1F950, 0x1F95E},
   {0x1F95F, 0x1F96B},
+  {0x1F96C, 0x1F970},
+  {0x1F973, 0x1F976},
+  {0x1F97A, 0x1F97A},
+  {0x1F97C, 0x1F97F},
   {0x1F980, 0x1F984},
   {0x1F985, 0x1F991},
   {0x1F992, 0x1F997},
+  {0x1F998, 0x1F9A2},
+  {0x1F9B0, 0x1F9B9},
   {0x1F9C0, 0x1F9C0},
+  {0x1F9C1, 0x1F9C2},
   {0x1F9D0, 0x1F9E6},
+  {0x1F9E7, 0x1F9FF},
 };
 
 static const struct Interval _pango_Emoji_Presentation_table[] =
@@ -353,6 +363,7 @@ static const struct Interval _pango_Emoji_Presentation_table[] =
   {0x1F6EB, 0x1F6EC},
   {0x1F6F4, 0x1F6F6},
   {0x1F6F7, 0x1F6F8},
+  {0x1F6F9, 0x1F6F9},
   {0x1F910, 0x1F918},
   {0x1F919, 0x1F91E},
   {0x1F91F, 0x1F91F},
@@ -365,13 +376,22 @@ static const struct Interval _pango_Emoji_Presentation_table[] =
   {0x1F940, 0x1F945},
   {0x1F947, 0x1F94B},
   {0x1F94C, 0x1F94C},
+  {0x1F94D, 0x1F94F},
   {0x1F950, 0x1F95E},
   {0x1F95F, 0x1F96B},
+  {0x1F96C, 0x1F970},
+  {0x1F973, 0x1F976},
+  {0x1F97A, 0x1F97A},
+  {0x1F97C, 0x1F97F},
   {0x1F980, 0x1F984},
   {0x1F985, 0x1F991},
   {0x1F992, 0x1F997},
+  {0x1F998, 0x1F9A2},
+  {0x1F9B0, 0x1F9B9},
   {0x1F9C0, 0x1F9C0},
+  {0x1F9C1, 0x1F9C2},
   {0x1F9D0, 0x1F9E6},
+  {0x1F9E7, 0x1F9FF},
 };
 
 static const struct Interval _pango_Emoji_Modifier_table[] =
@@ -418,18 +438,11 @@ static const struct Interval _pango_Emoji_Modifier_Base_table[] =
   {0x1F931, 0x1F932},
   {0x1F933, 0x1F939},
   {0x1F93D, 0x1F93E},
+  {0x1F9B5, 0x1F9B6},
+  {0x1F9B8, 0x1F9B9},
   {0x1F9D1, 0x1F9DD},
 };
 
-static const struct Interval _pango_Emoji_Component_table[] =
-{
-  {0x0023, 0x0023},
-  {0x002A, 0x002A},
-  {0x0030, 0x0039},
-  {0x1F1E6, 0x1F1FF},
-  {0x1F3FB, 0x1F3FF},
-};
-
 #endif /* PANGO_EMOJI_TABLE_H */
 
 /* == End of generated table == */
diff --git a/tools/gen-emoji-table.py b/tools/gen-emoji-table.py
index 600fe80..b8018ee 100755
--- a/tools/gen-emoji-table.py
+++ b/tools/gen-emoji-table.py
@@ -51,6 +51,10 @@ print()
 print("struct Interval {\n  gunichar start, end;\n};")
 
 for typ,s in sets.items():
+	if typ not in ['Emoji',
+		       'Emoji_Presentation',
+		       'Emoji_Modifier',
+		       'Emoji_Modifier_Base']: continue
 	print()
 	print("static const struct Interval _pango_%s_table[] =" % typ)
 	print("{")