Commit fb6bc29b authored by Christian Persch's avatar Christian Persch

Version 13.0.0

parent 33e14bf1
......@@ -125,6 +125,7 @@ sub process_unicode_data_txt
next if ($name =~ /^CJK COMPATIBILITY IDEOGRAPH-[0-9A-F]{4,6}$/);
next if ($name =~ /^TANGUT IDEOGRAPH-[0-9A-F]{4,6}$/);
next if ($name =~ /^TANGUT COMPONENT-[0-9]+$/);
next if ($name =~ /^KHITAN SMALL SCRIPT CHARACTER-[0-9A-F]+$/);
# Skip unwanted items
next if ($name =~ /^<.+, (First|Last)>$/);
......
......@@ -65,30 +65,38 @@ gucharmap_get_unicode_name (gunichar wc)
_gucharmap_intl_ensure_initialized ();
if ((wc >= 0x3400 && wc <= 0x4db5)
|| (wc >= 0x4e00 && wc <= 0x9fef)
|| (wc >= 0x20000 && wc <= 0x2a6d6)
|| (wc >= 0x2a700 && wc <= 0x2b734)
|| (wc >= 0x2b740 && wc <= 0x2b81d)
|| (wc >= 0x2b820 && wc <= 0x2cea1)
|| (wc >= 0x2ceb0 && wc <= 0x2ebe0))
if ((wc >= 0x3400 && wc <= 0x4dbf) /* CJK Unified Ideographs Extension A */
|| (wc >= 0x4e00 && wc <= 0x9ffc) /* CJK Unified Ideographs */
|| (wc >= 0x20000 && wc <= 0x2a6dd) /* CJK Unified Ideographs Extension B */
|| (wc >= 0x2a700 && wc <= 0x2b734) /* CJK Unified Ideographs Extension C */
|| (wc >= 0x2b740 && wc <= 0x2b81d) /* CJK Unified Ideographs Extension D */
|| (wc >= 0x2b820 && wc <= 0x2cea1) /* CJK Unified Ideographs Extension E */
|| (wc >= 0x2ceb0 && wc <= 0x2ebe0) /* CJK Unified Ideographs Extension F */
|| (wc >= 0x30000 && wc <= 0x3134a)) /* CJK Unified Ideographs Extension G */
{
g_snprintf (buf, sizeof (buf), "CJK UNIFIED IDEOGRAPH-%04X", wc);
return buf;
}
else if ((wc >= 0xf900 && wc <= 0xfaff) ||
(wc >= 0x2f800 && wc <= 0x2fa1d)) {
else if ((wc >= 0xf900 && wc <= 0xfaff) || /* CJK Compatibility Ideographs */
(wc >= 0x2f800 && wc <= 0x2fa1d)) /* CJK Compatibility Ideographs Supplement */
{
g_snprintf (buf, sizeof (buf), "CJK COMPATIBILITY IDEOGRAPH-%04X", wc);
return buf;
}
else if (wc >= 0x17000 && wc <= 0x187f7) {
else if ((wc >= 0x17000 && wc <= 0x187f7) || /* Tangut */
(wc >= 0x18d00 && wc <= 0x18d08)) /* Tangut Supplement */
{
g_snprintf (buf, sizeof (buf), "TANGUT IDEOGRAPH-%05X", wc);
return buf;
}
else if (wc >= 0x18800 && wc <= 0x18af2) {
else if (wc >= 0x18800 && wc <= 0x18aff) {
g_snprintf (buf, sizeof (buf), "TANGUT COMPONENT-%03u", wc - 0x18800 + 1);
return buf;
}
else if (wc >= 0x18b00 && wc <= 0x18cd5) {
g_snprintf (buf, sizeof (buf), "KHITAN SMALL SCRIPT CHARACTER-%05X", wc);
return buf;
}
else if (wc >= 0xac00 && wc <= 0xd7af)
{
/* compute hangul syllable name as per UAX #15 */
......
......@@ -54,7 +54,8 @@ typedef enum {
GUCHARMAP_UNICODE_VERSION_11_0,
GUCHARMAP_UNICODE_VERSION_12_0,
GUCHARMAP_UNICODE_VERSION_12_1,
GUCHARMAP_UNICODE_VERSION_LATEST = GUCHARMAP_UNICODE_VERSION_12_1 /* private, will move forward with each revision */
GUCHARMAP_UNICODE_VERSION_13_0,
GUCHARMAP_UNICODE_VERSION_LATEST = GUCHARMAP_UNICODE_VERSION_13_0 /* private, will move forward with each revision */
} GucharmapUnicodeVersion;
/* return values are read-only */
......
......@@ -454,10 +454,10 @@ help_about (GSimpleAction *action,
gtk_show_about_dialog (GTK_WINDOW (guw),
"program-name", _("GNOME Character Map"),
"version", VERSION,
"comments", _("Based on the Unicode Character Database 12.1.0"),
"comments", _("Based on the Unicode Character Database 13.0.0"),
"copyright", "Copyright © 2004 Noah Levitt\n"
"Copyright © 1991–2019 Unicode, Inc.\n"
"Copyright © 2007–2019 Christian Persch\n"
"Copyright © 1991–2020 Unicode, Inc.\n"
"Copyright © 2007–2020 Christian Persch\n"
"Copyright © 2016 DaeHyun Sung",
"documenters", documenters,
"license", license_trans,
......
unicode-i18n.h for extraction by gettext
THIS IS A GENERATED FILE. CHANGES WILL BE OVERWRITTEN.
Generated by ./gen-guch-unicode-tables.pl
Generated from UCD version 12.1.0
Generated from UCD version 13.0.0
N_("Basic Latin")
N_("Latin-1 Supplement")
......@@ -208,8 +208,10 @@ N_("Old Turkic")
N_("Old Hungarian")
N_("Hanifi Rohingya")
N_("Rumi Numeral Symbols")
N_("Yezidi")
N_("Old Sogdian")
N_("Sogdian")
N_("Chorasmian")
N_("Elymaic")
N_("Brahmi")
N_("Kaithi")
......@@ -231,6 +233,7 @@ N_("Takri")
N_("Ahom")
N_("Dogra")
N_("Warang Citi")
N_("Dives Akuru")
N_("Nandinagari")
N_("Zanabazar Square")
N_("Soyombo")
......@@ -240,6 +243,7 @@ N_("Marchen")
N_("Masaram Gondi")
N_("Gunjala Gondi")
N_("Makasar")
N_("Lisu Supplement")
N_("Tamil Supplement")
N_("Cuneiform")
N_("Cuneiform Numbers and Punctuation")
......@@ -256,6 +260,8 @@ N_("Miao")
N_("Ideographic Symbols and Punctuation")
N_("Tangut")
N_("Tangut Components")
N_("Khitan Small Script")
N_("Tangut Supplement")
N_("Kana Supplement")
N_("Kana Extended-A")
N_("Small Kana Extension")
......@@ -293,12 +299,14 @@ N_("Supplemental Arrows-C")
N_("Supplemental Symbols and Pictographs")
N_("Chess Symbols")
N_("Symbols and Pictographs Extended-A")
N_("Symbols for Legacy Computing")
N_("CJK Unified Ideographs Extension B")
N_("CJK Unified Ideographs Extension C")
N_("CJK Unified Ideographs Extension D")
N_("CJK Unified Ideographs Extension E")
N_("CJK Unified Ideographs Extension F")
N_("CJK Compatibility Ideographs Supplement")
N_("CJK Unified Ideographs Extension G")
N_("Tags")
N_("Variation Selectors Supplement")
N_("Supplementary Private Use Area-A")
......@@ -327,6 +335,7 @@ N_("Caucasian Albanian")
N_("Chakma")
N_("Cham")
N_("Cherokee")
N_("Chorasmian")
N_("Common")
N_("Coptic")
N_("Cuneiform")
......@@ -334,6 +343,7 @@ N_("Cypriot")
N_("Cyrillic")
N_("Deseret")
N_("Devanagari")
N_("Dives Akuru")
N_("Dogra")
N_("Duployan")
N_("Egyptian Hieroglyphs")
......@@ -365,6 +375,7 @@ N_("Kannada")
N_("Katakana")
N_("Kayah Li")
N_("Kharoshthi")
N_("Khitan Small Script")
N_("Khmer")
N_("Khojki")
N_("Khudawadi")
......@@ -454,5 +465,6 @@ N_("Ugaritic")
N_("Vai")
N_("Wancho")
N_("Warang Citi")
N_("Yezidi")
N_("Yi")
N_("Zanabazar Square")
......@@ -24,7 +24,7 @@ project(
],
license: ['GPL-3.0-or-later',],
meson_version: '>= 0.49.0',
version: '12.1.0',
version: '13.0.0',
)
# Naming
......@@ -45,7 +45,7 @@ gtk3_req_version = '3.4.0'
# changes to gucharmap. Therefore, you should NOT upgrade the unicode version
# of a released gucharmap, but upgrade to the gucharmap version corresponding
# to the desired unicode version.
unicode_req_version = '12.1.0'
unicode_req_version = '13.0.0'
# API
......
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