summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-05 21:44:31 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-13 17:56:54 -0400
commitfb1316462952d17d6ebf19c3f093b730c13016a7 (patch)
tree453df9f32a9d43b607b2a9d9346288f4eb77caa7 /src/shared
parent35d811f521ac5da19786ff64cf1d8a2ee13f1374 (diff)
unicode: treat cute symbol block as fullwidth
UNICODE standards only talk about fullwidth characters for East Asian scripts. But it seems that all those symbols are fullwidth too.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/gunicode.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shared/gunicode.c b/src/shared/gunicode.c
index f2d4608340..d89a2f3ed9 100644
--- a/src/shared/gunicode.c
+++ b/src/shared/gunicode.c
@@ -85,8 +85,10 @@ unichar_iswide (unichar c)
{0x3300, 0x4DBF}, {0x4E00, 0xA48C}, {0xA490, 0xA4C6}, {0xA960, 0xA97C},
{0xAC00, 0xD7A3}, {0xF900, 0xFAFF}, {0xFE10, 0xFE19}, {0xFE30, 0xFE52},
{0xFE54, 0xFE66}, {0xFE68, 0xFE6B}, {0xFF01, 0xFF60}, {0xFFE0, 0xFFE6},
- {0x1B000, 0x1B001}, {0x1F200, 0x1F202}, {0x1F210, 0x1F23A}, {0x1F240,
- 0x1F248}, {0x1F250, 0x1F251}, {0x20000, 0x2FFFD}, {0x30000, 0x3FFFD}
+ {0x1B000, 0x1B001}, {0x1F200, 0x1F202}, {0x1F210, 0x1F23A},
+ {0x1F240, 0x1F248}, {0x1F250, 0x1F251},
+ {0x1F300, 0x1F567}, /* Miscellaneous Symbols and Pictographs */
+ {0x20000, 0x2FFFD}, {0x30000, 0x3FFFD},
};
if (bsearch ((void *)(uintptr_t)c, wide, (sizeof (wide) / sizeof ((wide)[0])), sizeof wide[0],