Commit 4e1567a0 authored by Rico Tzschichholz's avatar Rico Tzschichholz

unicode: Update to unicode 10.0.0

https://bugzilla.gnome.org/show_bug.cgi?id=784456
parent a74fe200
......@@ -529,7 +529,7 @@ static const guchar g_script_easy_table[8192] = {
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_ARABIC,
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARABIC,
......@@ -722,11 +722,11 @@ static const guchar g_script_easy_table[8192] = {
G_UNICODE_SCRIPT_MANDAIC, G_UNICODE_SCRIPT_MANDAIC, G_UNICODE_SCRIPT_MANDAIC,
G_UNICODE_SCRIPT_MANDAIC, G_UNICODE_SCRIPT_MANDAIC, G_UNICODE_SCRIPT_MANDAIC,
G_UNICODE_SCRIPT_MANDAIC, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_MANDAIC, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_MANDAIC, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_SYRIAC,
G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_SYRIAC,
G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_SYRIAC,
G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_SYRIAC,
G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
......@@ -860,7 +860,7 @@ static const guchar g_script_easy_table[8192] = {
G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BENGALI,
G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BENGALI,
G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BENGALI,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_GURMUKHI,
G_UNICODE_SCRIPT_GURMUKHI, G_UNICODE_SCRIPT_GURMUKHI, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_GURMUKHI, G_UNICODE_SCRIPT_GURMUKHI, G_UNICODE_SCRIPT_GURMUKHI,
......@@ -944,9 +944,9 @@ static const guchar g_script_easy_table[8192] = {
G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GUJARATI,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GUJARATI,
G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GUJARATI,
G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA,
G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_ORIYA,
......@@ -1117,7 +1117,7 @@ static const guchar g_script_easy_table[8192] = {
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
......@@ -1137,7 +1137,7 @@ static const guchar g_script_easy_table[8192] = {
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MALAYALAM,
G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_MALAYALAM,
......@@ -2479,7 +2479,7 @@ static const guchar g_script_easy_table[8192] = {
G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_COMMON,
G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_COMMON,
G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_INHERITED,
G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_COMMON, G_UNICODE_SCRIPT_COMMON,
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_LATIN,
......@@ -2564,8 +2564,8 @@ static const guchar g_script_easy_table[8192] = {
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_UNKNOWN,
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_INHERITED,
G_UNICODE_SCRIPT_LATIN, G_UNICODE_SCRIPT_LATIN, G_UNICODE_SCRIPT_LATIN,
......@@ -2755,7 +2755,7 @@ static const struct {
{ 0x207f, 1, G_UNICODE_SCRIPT_LATIN },
{ 0x2080, 15, G_UNICODE_SCRIPT_COMMON },
{ 0x2090, 13, G_UNICODE_SCRIPT_LATIN },
{ 0x20a0, 31, G_UNICODE_SCRIPT_COMMON },
{ 0x20a0, 32, G_UNICODE_SCRIPT_COMMON },
{ 0x20d0, 33, G_UNICODE_SCRIPT_INHERITED },
{ 0x2100, 38, G_UNICODE_SCRIPT_COMMON },
{ 0x2126, 1, G_UNICODE_SCRIPT_GREEK },
......@@ -2768,8 +2768,7 @@ static const struct {
{ 0x214f, 17, G_UNICODE_SCRIPT_COMMON },
{ 0x2160, 41, G_UNICODE_SCRIPT_LATIN },
{ 0x2189, 3, G_UNICODE_SCRIPT_COMMON },
{ 0x2190, 623, G_UNICODE_SCRIPT_COMMON },
{ 0x2400, 39, G_UNICODE_SCRIPT_COMMON },
{ 0x2190, 663, G_UNICODE_SCRIPT_COMMON },
{ 0x2440, 11, G_UNICODE_SCRIPT_COMMON },
{ 0x2460, 928, G_UNICODE_SCRIPT_COMMON },
{ 0x2800, 256, G_UNICODE_SCRIPT_BRAILLE },
......@@ -2777,7 +2776,7 @@ static const struct {
{ 0x2b76, 32, G_UNICODE_SCRIPT_COMMON },
{ 0x2b98, 34, G_UNICODE_SCRIPT_COMMON },
{ 0x2bbd, 12, G_UNICODE_SCRIPT_COMMON },
{ 0x2bca, 8, G_UNICODE_SCRIPT_COMMON },
{ 0x2bca, 9, G_UNICODE_SCRIPT_COMMON },
{ 0x2bec, 4, G_UNICODE_SCRIPT_COMMON },
{ 0x2c00, 47, G_UNICODE_SCRIPT_GLAGOLITIC },
{ 0x2c30, 47, G_UNICODE_SCRIPT_GLAGOLITIC },
......@@ -2800,7 +2799,7 @@ static const struct {
{ 0x2dd0, 7, G_UNICODE_SCRIPT_ETHIOPIC },
{ 0x2dd8, 7, G_UNICODE_SCRIPT_ETHIOPIC },
{ 0x2de0, 32, G_UNICODE_SCRIPT_CYRILLIC },
{ 0x2e00, 69, G_UNICODE_SCRIPT_COMMON },
{ 0x2e00, 74, G_UNICODE_SCRIPT_COMMON },
{ 0x2e80, 26, G_UNICODE_SCRIPT_HAN },
{ 0x2e9b, 89, G_UNICODE_SCRIPT_HAN },
{ 0x2f00, 214, G_UNICODE_SCRIPT_HAN },
......@@ -2824,7 +2823,7 @@ static const struct {
{ 0x30a1, 90, G_UNICODE_SCRIPT_KATAKANA },
{ 0x30fb, 2, G_UNICODE_SCRIPT_COMMON },
{ 0x30fd, 3, G_UNICODE_SCRIPT_KATAKANA },
{ 0x3105, 41, G_UNICODE_SCRIPT_BOPOMOFO },
{ 0x3105, 42, G_UNICODE_SCRIPT_BOPOMOFO },
{ 0x3131, 94, G_UNICODE_SCRIPT_HANGUL },
{ 0x3190, 16, G_UNICODE_SCRIPT_COMMON },
{ 0x31a0, 27, G_UNICODE_SCRIPT_BOPOMOFO },
......@@ -2839,7 +2838,7 @@ static const struct {
{ 0x3358, 168, G_UNICODE_SCRIPT_COMMON },
{ 0x3400, 6582, G_UNICODE_SCRIPT_HAN },
{ 0x4dc0, 64, G_UNICODE_SCRIPT_COMMON },
{ 0x4e00, 20950, G_UNICODE_SCRIPT_HAN },
{ 0x4e00, 20971, G_UNICODE_SCRIPT_HAN },
{ 0xa000, 1165, G_UNICODE_SCRIPT_YI },
{ 0xa490, 55, G_UNICODE_SCRIPT_YI },
{ 0xa4d0, 48, G_UNICODE_SCRIPT_LISU },
......@@ -2955,6 +2954,7 @@ static const struct {
{ 0x102e0, 1, G_UNICODE_SCRIPT_INHERITED },
{ 0x102e1, 27, G_UNICODE_SCRIPT_COMMON },
{ 0x10300, 36, G_UNICODE_SCRIPT_OLD_ITALIC },
{ 0x1032d, 3, G_UNICODE_SCRIPT_OLD_ITALIC },
{ 0x10330, 27, G_UNICODE_SCRIPT_GOTHIC },
{ 0x10350, 43, G_UNICODE_SCRIPT_OLD_PERMIC },
{ 0x10380, 30, G_UNICODE_SCRIPT_UGARITIC },
......@@ -3074,6 +3074,10 @@ static const struct {
{ 0x11730, 16, G_UNICODE_SCRIPT_AHOM },
{ 0x118a0, 83, G_UNICODE_SCRIPT_WARANG_CITI },
{ 0x118ff, 1, G_UNICODE_SCRIPT_WARANG_CITI },
{ 0x11a00, 72, G_UNICODE_SCRIPT_ZANABAZAR_SQUARE },
{ 0x11a50, 52, G_UNICODE_SCRIPT_SOYOMBO },
{ 0x11a86, 23, G_UNICODE_SCRIPT_SOYOMBO },
{ 0x11a9e, 5, G_UNICODE_SCRIPT_SOYOMBO },
{ 0x11ac0, 57, G_UNICODE_SCRIPT_PAU_CIN_HAU },
{ 0x11c00, 9, G_UNICODE_SCRIPT_BHAIKSUKI },
{ 0x11c0a, 45, G_UNICODE_SCRIPT_BHAIKSUKI },
......@@ -3082,6 +3086,13 @@ static const struct {
{ 0x11c70, 32, G_UNICODE_SCRIPT_MARCHEN },
{ 0x11c92, 22, G_UNICODE_SCRIPT_MARCHEN },
{ 0x11ca9, 14, G_UNICODE_SCRIPT_MARCHEN },
{ 0x11d00, 7, G_UNICODE_SCRIPT_MASARAM_GONDI },
{ 0x11d08, 2, G_UNICODE_SCRIPT_MASARAM_GONDI },
{ 0x11d0b, 44, G_UNICODE_SCRIPT_MASARAM_GONDI },
{ 0x11d3a, 1, G_UNICODE_SCRIPT_MASARAM_GONDI },
{ 0x11d3c, 2, G_UNICODE_SCRIPT_MASARAM_GONDI },
{ 0x11d3f, 9, G_UNICODE_SCRIPT_MASARAM_GONDI },
{ 0x11d50, 10, G_UNICODE_SCRIPT_MASARAM_GONDI },
{ 0x12000, 922, G_UNICODE_SCRIPT_CUNEIFORM },
{ 0x12400, 111, G_UNICODE_SCRIPT_CUNEIFORM },
{ 0x12470, 5, G_UNICODE_SCRIPT_CUNEIFORM },
......@@ -3103,10 +3114,12 @@ static const struct {
{ 0x16f50, 47, G_UNICODE_SCRIPT_MIAO },
{ 0x16f8f, 17, G_UNICODE_SCRIPT_MIAO },
{ 0x16fe0, 1, G_UNICODE_SCRIPT_TANGUT },
{ 0x16fe1, 1, G_UNICODE_SCRIPT_NUSHU },
{ 0x17000, 6125, G_UNICODE_SCRIPT_TANGUT },
{ 0x18800, 755, G_UNICODE_SCRIPT_TANGUT },
{ 0x1b000, 1, G_UNICODE_SCRIPT_KATAKANA },
{ 0x1b001, 1, G_UNICODE_SCRIPT_HIRAGANA },
{ 0x1b001, 286, G_UNICODE_SCRIPT_HIRAGANA },
{ 0x1b170, 396, G_UNICODE_SCRIPT_NUSHU },
{ 0x1bc00, 107, G_UNICODE_SCRIPT_DUPLOYAN },
{ 0x1bc70, 13, G_UNICODE_SCRIPT_DUPLOYAN },
{ 0x1bc80, 9, G_UNICODE_SCRIPT_DUPLOYAN },
......@@ -3211,9 +3224,10 @@ static const struct {
{ 0x1f210, 44, G_UNICODE_SCRIPT_COMMON },
{ 0x1f240, 9, G_UNICODE_SCRIPT_COMMON },
{ 0x1f250, 2, G_UNICODE_SCRIPT_COMMON },
{ 0x1f300, 979, G_UNICODE_SCRIPT_COMMON },
{ 0x1f260, 6, G_UNICODE_SCRIPT_COMMON },
{ 0x1f300, 981, G_UNICODE_SCRIPT_COMMON },
{ 0x1f6e0, 13, G_UNICODE_SCRIPT_COMMON },
{ 0x1f6f0, 7, G_UNICODE_SCRIPT_COMMON },
{ 0x1f6f0, 9, G_UNICODE_SCRIPT_COMMON },
{ 0x1f700, 116, G_UNICODE_SCRIPT_COMMON },
{ 0x1f780, 85, G_UNICODE_SCRIPT_COMMON },
{ 0x1f800, 12, G_UNICODE_SCRIPT_COMMON },
......@@ -3221,18 +3235,18 @@ static const struct {
{ 0x1f850, 10, G_UNICODE_SCRIPT_COMMON },
{ 0x1f860, 40, G_UNICODE_SCRIPT_COMMON },
{ 0x1f890, 30, G_UNICODE_SCRIPT_COMMON },
{ 0x1f910, 15, G_UNICODE_SCRIPT_COMMON },
{ 0x1f920, 8, G_UNICODE_SCRIPT_COMMON },
{ 0x1f930, 1, G_UNICODE_SCRIPT_COMMON },
{ 0x1f933, 12, G_UNICODE_SCRIPT_COMMON },
{ 0x1f940, 12, G_UNICODE_SCRIPT_COMMON },
{ 0x1f950, 15, G_UNICODE_SCRIPT_COMMON },
{ 0x1f980, 18, G_UNICODE_SCRIPT_COMMON },
{ 0x1f900, 12, G_UNICODE_SCRIPT_COMMON },
{ 0x1f910, 47, G_UNICODE_SCRIPT_COMMON },
{ 0x1f940, 13, G_UNICODE_SCRIPT_COMMON },
{ 0x1f950, 28, G_UNICODE_SCRIPT_COMMON },
{ 0x1f980, 24, G_UNICODE_SCRIPT_COMMON },
{ 0x1f9c0, 1, G_UNICODE_SCRIPT_COMMON },
{ 0x1f9d0, 23, G_UNICODE_SCRIPT_COMMON },
{ 0x20000, 42711, G_UNICODE_SCRIPT_HAN },
{ 0x2a700, 4149, G_UNICODE_SCRIPT_HAN },
{ 0x2b740, 222, G_UNICODE_SCRIPT_HAN },
{ 0x2b820, 5762, G_UNICODE_SCRIPT_HAN },
{ 0x2ceb0, 7473, G_UNICODE_SCRIPT_HAN },
{ 0x2f800, 542, G_UNICODE_SCRIPT_HAN },
{ 0xe0001, 1, G_UNICODE_SCRIPT_COMMON },
{ 0xe0020, 96, G_UNICODE_SCRIPT_COMMON },
......
This diff is collapsed.
This diff is collapsed.
......@@ -411,6 +411,10 @@ typedef enum
* @G_UNICODE_SCRIPT_NEWA: Newa. Since: 2.50
* @G_UNICODE_SCRIPT_OSAGE: Osage. Since: 2.50
* @G_UNICODE_SCRIPT_TANGUT: Tangut. Since: 2.50
* @G_UNICODE_SCRIPT_MASARAM_GONDI, Masaram Gondi. Since: 2.54
* @G_UNICODE_SCRIPT_NUSHU, Nushu. Since: 2.54
* @G_UNICODE_SCRIPT_SOYOMBO, Soyombo. Since: 2.54
* @G_UNICODE_SCRIPT_ZANABAZAR_SQUARE Zanabazar Square. Since: 2.54
*
* The #GUnicodeScript enumeration identifies different writing
* systems. The values correspond to the names as defined in the
......@@ -581,7 +585,13 @@ typedef enum
G_UNICODE_SCRIPT_MARCHEN, /* Marc */
G_UNICODE_SCRIPT_NEWA, /* Newa */
G_UNICODE_SCRIPT_OSAGE, /* Osge */
G_UNICODE_SCRIPT_TANGUT /* Tang */
G_UNICODE_SCRIPT_TANGUT, /* Tang */
/* Unicode 10.0 additions */
G_UNICODE_SCRIPT_MASARAM_GONDI, /* Gonm */
G_UNICODE_SCRIPT_NUSHU, /* Nshu */
G_UNICODE_SCRIPT_SOYOMBO, /* Soyo */
G_UNICODE_SCRIPT_ZANABAZAR_SQUARE /* Zanb */
} GUnicodeScript;
GLIB_AVAILABLE_IN_ALL
......
......@@ -155,7 +155,7 @@ static const guchar cclass_data[][256] = {
{ /* page 13, index 10 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
......@@ -310,8 +310,8 @@ static const guchar cclass_data[][256] = {
230, 230, 220, 230, 230, 230, 230, 230, 230, 230, 220, 230, 230, 234,
214, 220, 202, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230,
230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 0, 0, 0, 0,
0, 230, 233, 220, 230, 220
230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 232, 228,
228, 220, 0, 230, 233, 220, 230, 220
},
{ /* page 32, index 22 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
......@@ -617,7 +617,20 @@ static const guchar cclass_data[][256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
{ /* page 284, index 45 */
{ /* page 282, index 45 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
......@@ -643,7 +669,7 @@ static const guchar cclass_data[][256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
{ /* page 363, index 47 */
{ /* page 363, index 49 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
230, 230, 230, 230, 230, 230, 230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
......@@ -656,7 +682,7 @@ static const guchar cclass_data[][256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
{ /* page 444, index 48 */
{ /* page 444, index 50 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
......@@ -669,7 +695,7 @@ static const guchar cclass_data[][256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
{ /* page 465, index 49 */
{ /* page 465, index 51 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
......@@ -683,7 +709,7 @@ static const guchar cclass_data[][256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0
},
{ /* page 466, index 50 */
{ /* page 466, index 52 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 230, 230, 230, 0,
......@@ -696,7 +722,7 @@ static const guchar cclass_data[][256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
{ /* page 480, index 51 */
{ /* page 480, index 53 */
230, 230, 230, 230, 230, 230, 230, 0, 230, 230, 230, 230, 230, 230, 230,
230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 0, 0, 230, 230, 230,
230, 230, 230, 230, 0, 230, 230, 0, 230, 230, 230, 230, 230, 0, 0, 0, 0,
......@@ -710,7 +736,7 @@ static const guchar cclass_data[][256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
{ /* page 488, index 52 */
{ /* page 488, index 54 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
......@@ -723,7 +749,7 @@ static const guchar cclass_data[][256] = {
220, 220, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
},
{ /* page 489, index 53 */
{ /* page 489, index 55 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 230, 230,
......@@ -1021,10 +1047,10 @@ static const gint16 combining_class_table_part1[763] = {
44 /* page 279 */,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
45 /* page 282 */,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
45 /* page 284 */,
0 + G_UNICODE_MAX_TABLE_INDEX,
46 /* page 284 */,
47 /* page 285 */,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
......@@ -1101,8 +1127,8 @@ static const gint16 combining_class_table_part1[763] = {
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
46 /* page 362 */,
47 /* page 363 */,
48 /* page 362 */,
49 /* page 363 */,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
......@@ -1183,7 +1209,7 @@ static const gint16 combining_class_table_part1[763] = {
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
48 /* page 444 */,
50 /* page 444 */,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
......@@ -1204,8 +1230,8 @@ static const gint16 combining_class_table_part1[763] = {
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
49 /* page 465 */,
50 /* page 466 */,
51 /* page 465 */,
52 /* page 466 */,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
......@@ -1219,7 +1245,7 @@ static const gint16 combining_class_table_part1[763] = {
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
51 /* page 480 */,
53 /* page 480 */,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
......@@ -1227,8 +1253,8 @@ static const gint16 combining_class_table_part1[763] = {
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
52 /* page 488 */,
53 /* page 489 */,
54 /* page 488 */,
55 /* page 489 */,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
0 + G_UNICODE_MAX_TABLE_INDEX,
......
......@@ -1434,6 +1434,12 @@ static const guint32 iso15924_tags[] =
PACK ('N','e','w','a'), /* G_UNICODE_SCRIPT_NEWA */
PACK ('O','s','g','e'), /* G_UNICODE_SCRIPT_OSAGE */
PACK ('T','a','n','g'), /* G_UNICODE_SCRIPT_TANGUT */
/* Unicode 10.0 additions */
PACK ('G','o','n','m'), /* G_UNICODE_SCRIPT_MASARAM_GONDI */
PACK ('N','s','h','u'), /* G_UNICODE_SCRIPT_NUSHU */
PACK ('S','o','y','o'), /* G_UNICODE_SCRIPT_SOYOMBO */
PACK ('Z','a','n','b'), /* G_UNICODE_SCRIPT_ZANABAZAR_SQUARE */
#undef PACK
};
......
......@@ -293,6 +293,10 @@ test_unichar_script (void)
{ G_UNICODE_SCRIPT_NEWA, 0x11400 },
{ G_UNICODE_SCRIPT_OSAGE, 0x104B0 },
{ G_UNICODE_SCRIPT_TANGUT, 0x16FE0 },
{ G_UNICODE_SCRIPT_MASARAM_GONDI, 0x11D00 },
{ G_UNICODE_SCRIPT_NUSHU, 0x1B170 },
{ G_UNICODE_SCRIPT_SOYOMBO, 0x11A50 },
{ G_UNICODE_SCRIPT_ZANABAZAR_SQUARE, 0x11A00 },
};
for (i = 0; i < G_N_ELEMENTS (examples); i++)
g_assert_cmpint (g_unichar_get_script (examples[i].c), ==, examples[i].script);
......@@ -885,6 +889,12 @@ test_iso15924 (void)
{ G_UNICODE_SCRIPT_NEWA, "Newa" },
{ G_UNICODE_SCRIPT_OSAGE, "Osge" },
{ G_UNICODE_SCRIPT_TANGUT, "Tang" },
/* Unicode 10.0 additions */
{ G_UNICODE_SCRIPT_MASARAM_GONDI, "Gonm" },
{ G_UNICODE_SCRIPT_NUSHU, "Nshu" },
{ G_UNICODE_SCRIPT_SOYOMBO, "Soyo" },
{ G_UNICODE_SCRIPT_ZANABAZAR_SQUARE, "Zanb" },
};
guint i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment