diff options
author | behdad <behdad> | 2002-05-04 11:32:02 +0000 |
---|---|---|
committer | behdad <behdad> | 2002-05-04 11:32:02 +0000 |
commit | 2a41c66718fb5973042730099609482b344d9863 (patch) | |
tree | 18f4cfb2e29720f1f1bd45cea86c5d5a85919a48 | |
parent | ce0a326ef93aa7ac6953dbad27bed57ba657d200 (diff) |
Updated fribidi_wcwidth.c
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | fribidi_wcwidth.c | 23 |
2 files changed, 15 insertions, 11 deletions
@@ -1,3 +1,6 @@ +2002-05-04 Behdad Esfahbod <fribidi@behdad.org> + * fribidi_wcwidth.c: Updated to latest source of 2002-05-03. + 2002-04-07 Behdad Esfahbod <behdad@bamdad.org> * unidata/*, fribidi_unicode.h, fribidi_wcwidth.c: Update to Unicode 3.2. diff --git a/fribidi_wcwidth.c b/fribidi_wcwidth.c index 1c8f7b5..869aa6e 100644 --- a/fribidi_wcwidth.c +++ b/fribidi_wcwidth.c @@ -5,7 +5,7 @@ * http://www.opengroup.org/onlinepubs/007904975/functions/wcwidth.html * http://www.opengroup.org/onlinepubs/007904975/functions/wcswidth.html * - * Markus Kuhn -- 2002-03-28 (Unicode 3.2) + * Markus Kuhn -- 2002-05-03 (Unicode 3.2) * Permission to use, copy, modify, and distribute this software * for any purpose and without fee is hereby granted. The author * disclaims all warranties with regard to this software. @@ -83,7 +83,7 @@ int fribidi_wcwidth (FriBidiChar ucs) { /* sorted list of non-overlapping intervals of non-spacing characters */ - /* generated with "uniset +cat=Me +cat=Mn +cat=Cf +200B c" */ + /* generated with "uniset +cat=Me +cat=Mn +cat=Cf +1160-11FF +200B c" */ static const struct interval combining[] = { {0x0300, 0x034F}, {0x0360, 0x036F}, {0x0483, 0x0486}, {0x0488, 0x0489}, {0x0591, 0x05A1}, {0x05A3, 0x05B9}, @@ -113,15 +113,16 @@ fribidi_wcwidth (FriBidiChar ucs) {0x0F86, 0x0F87}, {0x0F90, 0x0F97}, {0x0F99, 0x0FBC}, {0x0FC6, 0x0FC6}, {0x102D, 0x1030}, {0x1032, 0x1032}, {0x1036, 0x1037}, {0x1039, 0x1039}, {0x1058, 0x1059}, - {0x1712, 0x1714}, {0x1732, 0x1734}, {0x1752, 0x1753}, - {0x1772, 0x1773}, {0x17B7, 0x17BD}, {0x17C6, 0x17C6}, - {0x17C9, 0x17D3}, {0x180B, 0x180E}, {0x18A9, 0x18A9}, - {0x200B, 0x200F}, {0x202A, 0x202E}, {0x2060, 0x2063}, - {0x206A, 0x206F}, {0x20D0, 0x20EA}, {0x302A, 0x302F}, - {0x3099, 0x309A}, {0xFB1E, 0xFB1E}, {0xFE00, 0xFE0F}, - {0xFE20, 0xFE23}, {0xFEFF, 0xFEFF}, {0xFFF9, 0xFFFB}, - {0x1D167, 0x1D169}, {0x1D173, 0x1D182}, {0x1D185, 0x1D18B}, - {0x1D1AA, 0x1D1AD}, {0xE0001, 0xE0001}, {0xE0020, 0xE007F} + {0x1160, 0x11FF}, {0x1712, 0x1714}, {0x1732, 0x1734}, + {0x1752, 0x1753}, {0x1772, 0x1773}, {0x17B7, 0x17BD}, + {0x17C6, 0x17C6}, {0x17C9, 0x17D3}, {0x180B, 0x180E}, + {0x18A9, 0x18A9}, {0x200B, 0x200F}, {0x202A, 0x202E}, + {0x2060, 0x2063}, {0x206A, 0x206F}, {0x20D0, 0x20EA}, + {0x302A, 0x302F}, {0x3099, 0x309A}, {0xFB1E, 0xFB1E}, + {0xFE00, 0xFE0F}, {0xFE20, 0xFE23}, {0xFEFF, 0xFEFF}, + {0xFFF9, 0xFFFB}, {0x1D167, 0x1D169}, {0x1D173, 0x1D182}, + {0x1D185, 0x1D18B}, {0x1D1AA, 0x1D1AD}, {0xE0001, 0xE0001}, + {0xE0020, 0xE007F} }; /* test for 8-bit control characters */ |