gucharmap r1772 - trunk/gucharmap
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gucharmap r1772 - trunk/gucharmap
- Date: Thu, 3 Apr 2008 13:16:30 +0100 (BST)
Author: chpe
Date: Thu Apr 3 13:16:30 2008
New Revision: 1772
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1772&view=rev
Log:
Also fix N'Ko name in the unicode blocks. Bug #503377.
Modified:
trunk/gucharmap/gen-guch-unicode-tables.pl
trunk/gucharmap/unicode-blocks.h
Modified: trunk/gucharmap/gen-guch-unicode-tables.pl
==============================================================================
--- trunk/gucharmap/gen-guch-unicode-tables.pl (original)
+++ trunk/gucharmap/gen-guch-unicode-tables.pl Thu Apr 3 13:16:30 2008
@@ -682,6 +682,12 @@
{
my ($blocks_txt) = @_;
+ # Override script names
+ my %block_overrides =
+ (
+ "NKo" => "N\'Ko"
+ );
+
open (my $blocks, $blocks_txt) or die;
open (my $out, "> unicode-blocks.h") or die;
@@ -704,8 +710,15 @@
while (my $line = <$blocks>)
{
$line =~ /^([0-9A-F]+)\.\.([0-9A-F]+); (.+)$/ or next;
- push @blocks, [$1, $2, $3, $offset];
- $offset += length($3) + 1;
+
+ my ($start,$end,$block) = ($1, $2, $3);
+
+ if (exists $block_overrides{$block}) {
+ $block = $block_overrides{$block};
+ }
+
+ push @blocks, [$start, $end, $block, $offset];
+ $offset += length($block) + 1;
}
print $out "/* for extraction by intltool */\n";
Modified: trunk/gucharmap/unicode-blocks.h
==============================================================================
--- trunk/gucharmap/unicode-blocks.h (original)
+++ trunk/gucharmap/unicode-blocks.h Thu Apr 3 13:16:30 2008
@@ -27,7 +27,7 @@
N_("Syriac"),
N_("Arabic Supplement"),
N_("Thaana"),
- N_("NKo"),
+ N_("N'Ko"),
N_("Devanagari"),
N_("Bengali"),
N_("Gurmukhi"),
@@ -184,7 +184,7 @@
"Syriac\0"
"Arabic Supplement\0"
"Thaana\0"
- "NKo\0"
+ "N'Ko\0"
"Devanagari\0"
"Bengali\0"
"Gurmukhi\0"
@@ -351,143 +351,143 @@
{ 0x0750, 0x077F, 209 },
{ 0x0780, 0x07BF, 227 },
{ 0x07C0, 0x07FF, 234 },
- { 0x0900, 0x097F, 238 },
- { 0x0980, 0x09FF, 249 },
- { 0x0A00, 0x0A7F, 257 },
- { 0x0A80, 0x0AFF, 266 },
- { 0x0B00, 0x0B7F, 275 },
- { 0x0B80, 0x0BFF, 281 },
- { 0x0C00, 0x0C7F, 287 },
- { 0x0C80, 0x0CFF, 294 },
- { 0x0D00, 0x0D7F, 302 },
- { 0x0D80, 0x0DFF, 312 },
- { 0x0E00, 0x0E7F, 320 },
- { 0x0E80, 0x0EFF, 325 },
- { 0x0F00, 0x0FFF, 329 },
- { 0x1000, 0x109F, 337 },
- { 0x10A0, 0x10FF, 345 },
- { 0x1100, 0x11FF, 354 },
- { 0x1200, 0x137F, 366 },
- { 0x1380, 0x139F, 375 },
- { 0x13A0, 0x13FF, 395 },
- { 0x1400, 0x167F, 404 },
- { 0x1680, 0x169F, 442 },
- { 0x16A0, 0x16FF, 448 },
- { 0x1700, 0x171F, 454 },
- { 0x1720, 0x173F, 462 },
- { 0x1740, 0x175F, 470 },
- { 0x1760, 0x177F, 476 },
- { 0x1780, 0x17FF, 485 },
- { 0x1800, 0x18AF, 491 },
- { 0x1900, 0x194F, 501 },
- { 0x1950, 0x197F, 507 },
- { 0x1980, 0x19DF, 514 },
- { 0x19E0, 0x19FF, 526 },
- { 0x1A00, 0x1A1F, 540 },
- { 0x1B00, 0x1B7F, 549 },
- { 0x1D00, 0x1D7F, 558 },
- { 0x1D80, 0x1DBF, 578 },
- { 0x1DC0, 0x1DFF, 609 },
- { 0x1E00, 0x1EFF, 648 },
- { 0x1F00, 0x1FFF, 674 },
- { 0x2000, 0x206F, 689 },
- { 0x2070, 0x209F, 709 },
- { 0x20A0, 0x20CF, 737 },
- { 0x20D0, 0x20FF, 754 },
- { 0x2100, 0x214F, 794 },
- { 0x2150, 0x218F, 813 },
- { 0x2190, 0x21FF, 826 },
- { 0x2200, 0x22FF, 833 },
- { 0x2300, 0x23FF, 856 },
- { 0x2400, 0x243F, 880 },
- { 0x2440, 0x245F, 897 },
- { 0x2460, 0x24FF, 927 },
- { 0x2500, 0x257F, 950 },
- { 0x2580, 0x259F, 962 },
- { 0x25A0, 0x25FF, 977 },
- { 0x2600, 0x26FF, 994 },
- { 0x2700, 0x27BF, 1016 },
- { 0x27C0, 0x27EF, 1025 },
- { 0x27F0, 0x27FF, 1062 },
- { 0x2800, 0x28FF, 1084 },
- { 0x2900, 0x297F, 1101 },
- { 0x2980, 0x29FF, 1123 },
- { 0x2A00, 0x2AFF, 1160 },
- { 0x2B00, 0x2BFF, 1196 },
- { 0x2C00, 0x2C5F, 1229 },
- { 0x2C60, 0x2C7F, 1240 },
- { 0x2C80, 0x2CFF, 1257 },
- { 0x2D00, 0x2D2F, 1264 },
- { 0x2D30, 0x2D7F, 1284 },
- { 0x2D80, 0x2DDF, 1293 },
- { 0x2E00, 0x2E7F, 1311 },
- { 0x2E80, 0x2EFF, 1336 },
- { 0x2F00, 0x2FDF, 1360 },
- { 0x2FF0, 0x2FFF, 1376 },
- { 0x3000, 0x303F, 1411 },
- { 0x3040, 0x309F, 1439 },
- { 0x30A0, 0x30FF, 1448 },
- { 0x3100, 0x312F, 1457 },
- { 0x3130, 0x318F, 1466 },
- { 0x3190, 0x319F, 1492 },
- { 0x31A0, 0x31BF, 1499 },
- { 0x31C0, 0x31EF, 1517 },
- { 0x31F0, 0x31FF, 1529 },
- { 0x3200, 0x32FF, 1558 },
- { 0x3300, 0x33FF, 1590 },
- { 0x3400, 0x4DBF, 1608 },
- { 0x4DC0, 0x4DFF, 1643 },
- { 0x4E00, 0x9FFF, 1667 },
- { 0xA000, 0xA48F, 1690 },
- { 0xA490, 0xA4CF, 1703 },
- { 0xA700, 0xA71F, 1715 },
- { 0xA720, 0xA7FF, 1737 },
- { 0xA800, 0xA82F, 1754 },
- { 0xA840, 0xA87F, 1767 },
- { 0xAC00, 0xD7AF, 1776 },
- { 0xD800, 0xDB7F, 1793 },
- { 0xDB80, 0xDBFF, 1809 },
- { 0xDC00, 0xDFFF, 1837 },
- { 0xE000, 0xF8FF, 1852 },
- { 0xF900, 0xFAFF, 1869 },
- { 0xFB00, 0xFB4F, 1898 },
- { 0xFB50, 0xFDFF, 1928 },
- { 0xFE00, 0xFE0F, 1956 },
- { 0xFE10, 0xFE1F, 1976 },
- { 0xFE20, 0xFE2F, 1991 },
- { 0xFE30, 0xFE4F, 2012 },
- { 0xFE50, 0xFE6F, 2036 },
- { 0xFE70, 0xFEFF, 2056 },
- { 0xFF00, 0xFFEF, 2084 },
- { 0xFFF0, 0xFFFF, 2114 },
- { 0x10000, 0x1007F, 2123 },
- { 0x10080, 0x100FF, 2142 },
- { 0x10100, 0x1013F, 2161 },
- { 0x10140, 0x1018F, 2176 },
- { 0x10300, 0x1032F, 2198 },
- { 0x10330, 0x1034F, 2209 },
- { 0x10380, 0x1039F, 2216 },
- { 0x103A0, 0x103DF, 2225 },
- { 0x10400, 0x1044F, 2237 },
- { 0x10450, 0x1047F, 2245 },
- { 0x10480, 0x104AF, 2253 },
- { 0x10800, 0x1083F, 2261 },
- { 0x10900, 0x1091F, 2279 },
- { 0x10A00, 0x10A5F, 2290 },
- { 0x12000, 0x123FF, 2301 },
- { 0x12400, 0x1247F, 2311 },
- { 0x1D000, 0x1D0FF, 2345 },
- { 0x1D100, 0x1D1FF, 2371 },
- { 0x1D200, 0x1D24F, 2387 },
- { 0x1D300, 0x1D35F, 2418 },
- { 0x1D360, 0x1D37F, 2440 },
- { 0x1D400, 0x1D7FF, 2462 },
- { 0x20000, 0x2A6DF, 2496 },
- { 0x2F800, 0x2FA1F, 2531 },
- { 0xE0000, 0xE007F, 2571 },
- { 0xE0100, 0xE01EF, 2576 },
- { 0xF0000, 0xFFFFF, 2607 },
- { 0x100000, 0x10FFFF, 2640 },
+ { 0x0900, 0x097F, 239 },
+ { 0x0980, 0x09FF, 250 },
+ { 0x0A00, 0x0A7F, 258 },
+ { 0x0A80, 0x0AFF, 267 },
+ { 0x0B00, 0x0B7F, 276 },
+ { 0x0B80, 0x0BFF, 282 },
+ { 0x0C00, 0x0C7F, 288 },
+ { 0x0C80, 0x0CFF, 295 },
+ { 0x0D00, 0x0D7F, 303 },
+ { 0x0D80, 0x0DFF, 313 },
+ { 0x0E00, 0x0E7F, 321 },
+ { 0x0E80, 0x0EFF, 326 },
+ { 0x0F00, 0x0FFF, 330 },
+ { 0x1000, 0x109F, 338 },
+ { 0x10A0, 0x10FF, 346 },
+ { 0x1100, 0x11FF, 355 },
+ { 0x1200, 0x137F, 367 },
+ { 0x1380, 0x139F, 376 },
+ { 0x13A0, 0x13FF, 396 },
+ { 0x1400, 0x167F, 405 },
+ { 0x1680, 0x169F, 443 },
+ { 0x16A0, 0x16FF, 449 },
+ { 0x1700, 0x171F, 455 },
+ { 0x1720, 0x173F, 463 },
+ { 0x1740, 0x175F, 471 },
+ { 0x1760, 0x177F, 477 },
+ { 0x1780, 0x17FF, 486 },
+ { 0x1800, 0x18AF, 492 },
+ { 0x1900, 0x194F, 502 },
+ { 0x1950, 0x197F, 508 },
+ { 0x1980, 0x19DF, 515 },
+ { 0x19E0, 0x19FF, 527 },
+ { 0x1A00, 0x1A1F, 541 },
+ { 0x1B00, 0x1B7F, 550 },
+ { 0x1D00, 0x1D7F, 559 },
+ { 0x1D80, 0x1DBF, 579 },
+ { 0x1DC0, 0x1DFF, 610 },
+ { 0x1E00, 0x1EFF, 649 },
+ { 0x1F00, 0x1FFF, 675 },
+ { 0x2000, 0x206F, 690 },
+ { 0x2070, 0x209F, 710 },
+ { 0x20A0, 0x20CF, 738 },
+ { 0x20D0, 0x20FF, 755 },
+ { 0x2100, 0x214F, 795 },
+ { 0x2150, 0x218F, 814 },
+ { 0x2190, 0x21FF, 827 },
+ { 0x2200, 0x22FF, 834 },
+ { 0x2300, 0x23FF, 857 },
+ { 0x2400, 0x243F, 881 },
+ { 0x2440, 0x245F, 898 },
+ { 0x2460, 0x24FF, 928 },
+ { 0x2500, 0x257F, 951 },
+ { 0x2580, 0x259F, 963 },
+ { 0x25A0, 0x25FF, 978 },
+ { 0x2600, 0x26FF, 995 },
+ { 0x2700, 0x27BF, 1017 },
+ { 0x27C0, 0x27EF, 1026 },
+ { 0x27F0, 0x27FF, 1063 },
+ { 0x2800, 0x28FF, 1085 },
+ { 0x2900, 0x297F, 1102 },
+ { 0x2980, 0x29FF, 1124 },
+ { 0x2A00, 0x2AFF, 1161 },
+ { 0x2B00, 0x2BFF, 1197 },
+ { 0x2C00, 0x2C5F, 1230 },
+ { 0x2C60, 0x2C7F, 1241 },
+ { 0x2C80, 0x2CFF, 1258 },
+ { 0x2D00, 0x2D2F, 1265 },
+ { 0x2D30, 0x2D7F, 1285 },
+ { 0x2D80, 0x2DDF, 1294 },
+ { 0x2E00, 0x2E7F, 1312 },
+ { 0x2E80, 0x2EFF, 1337 },
+ { 0x2F00, 0x2FDF, 1361 },
+ { 0x2FF0, 0x2FFF, 1377 },
+ { 0x3000, 0x303F, 1412 },
+ { 0x3040, 0x309F, 1440 },
+ { 0x30A0, 0x30FF, 1449 },
+ { 0x3100, 0x312F, 1458 },
+ { 0x3130, 0x318F, 1467 },
+ { 0x3190, 0x319F, 1493 },
+ { 0x31A0, 0x31BF, 1500 },
+ { 0x31C0, 0x31EF, 1518 },
+ { 0x31F0, 0x31FF, 1530 },
+ { 0x3200, 0x32FF, 1559 },
+ { 0x3300, 0x33FF, 1591 },
+ { 0x3400, 0x4DBF, 1609 },
+ { 0x4DC0, 0x4DFF, 1644 },
+ { 0x4E00, 0x9FFF, 1668 },
+ { 0xA000, 0xA48F, 1691 },
+ { 0xA490, 0xA4CF, 1704 },
+ { 0xA700, 0xA71F, 1716 },
+ { 0xA720, 0xA7FF, 1738 },
+ { 0xA800, 0xA82F, 1755 },
+ { 0xA840, 0xA87F, 1768 },
+ { 0xAC00, 0xD7AF, 1777 },
+ { 0xD800, 0xDB7F, 1794 },
+ { 0xDB80, 0xDBFF, 1810 },
+ { 0xDC00, 0xDFFF, 1838 },
+ { 0xE000, 0xF8FF, 1853 },
+ { 0xF900, 0xFAFF, 1870 },
+ { 0xFB00, 0xFB4F, 1899 },
+ { 0xFB50, 0xFDFF, 1929 },
+ { 0xFE00, 0xFE0F, 1957 },
+ { 0xFE10, 0xFE1F, 1977 },
+ { 0xFE20, 0xFE2F, 1992 },
+ { 0xFE30, 0xFE4F, 2013 },
+ { 0xFE50, 0xFE6F, 2037 },
+ { 0xFE70, 0xFEFF, 2057 },
+ { 0xFF00, 0xFFEF, 2085 },
+ { 0xFFF0, 0xFFFF, 2115 },
+ { 0x10000, 0x1007F, 2124 },
+ { 0x10080, 0x100FF, 2143 },
+ { 0x10100, 0x1013F, 2162 },
+ { 0x10140, 0x1018F, 2177 },
+ { 0x10300, 0x1032F, 2199 },
+ { 0x10330, 0x1034F, 2210 },
+ { 0x10380, 0x1039F, 2217 },
+ { 0x103A0, 0x103DF, 2226 },
+ { 0x10400, 0x1044F, 2238 },
+ { 0x10450, 0x1047F, 2246 },
+ { 0x10480, 0x104AF, 2254 },
+ { 0x10800, 0x1083F, 2262 },
+ { 0x10900, 0x1091F, 2280 },
+ { 0x10A00, 0x10A5F, 2291 },
+ { 0x12000, 0x123FF, 2302 },
+ { 0x12400, 0x1247F, 2312 },
+ { 0x1D000, 0x1D0FF, 2346 },
+ { 0x1D100, 0x1D1FF, 2372 },
+ { 0x1D200, 0x1D24F, 2388 },
+ { 0x1D300, 0x1D35F, 2419 },
+ { 0x1D360, 0x1D37F, 2441 },
+ { 0x1D400, 0x1D7FF, 2463 },
+ { 0x20000, 0x2A6DF, 2497 },
+ { 0x2F800, 0x2FA1F, 2532 },
+ { 0xE0000, 0xE007F, 2572 },
+ { 0xE0100, 0xE01EF, 2577 },
+ { 0xF0000, 0xFFFFF, 2608 },
+ { 0x100000, 0x10FFFF, 2641 },
};
#endif /* #ifndef UNICODE_BLOCKS_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]