[gnome-characters] libgc: Add 1F300..1F5FF block to Pictures
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters] libgc: Add 1F300..1F5FF block to Pictures
- Date: Fri, 20 Feb 2015 03:38:42 +0000 (UTC)
commit c1b848174ae69159c255fd301c5298cd953fcf1c
Author: Daiki Ueno <dueno src gnome org>
Date: Fri Feb 20 12:36:37 2015 +0900
libgc: Add 1F300..1F5FF block to Pictures
lib/gc.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/lib/gc.c b/lib/gc.c
index 3a00766..81b47c0 100644
--- a/lib/gc.c
+++ b/lib/gc.c
@@ -271,7 +271,7 @@ gc_enumerate_character_by_category (GcCharacterIter *iter,
case GC_CATEGORY_PICTURE:
{
- static uc_block_t picture_blocks[2];
+ static uc_block_t picture_blocks[3];
static gsize picture_blocks_size = 0;
static gsize picture_blocks_initialized = 0;
if (g_once_init_enter (&picture_blocks_initialized))
@@ -288,6 +288,11 @@ gc_enumerate_character_by_category (GcCharacterIter *iter,
if (block)
memcpy (&picture_blocks[picture_blocks_size++], block,
sizeof (uc_block_t));
+ /* 1F300..1F5FF; Miscellaneous Symbols and Pictographs */
+ block = uc_block (0x1F300);
+ if (block)
+ memcpy (&picture_blocks[picture_blocks_size++], block,
+ sizeof (uc_block_t));
g_once_init_leave (&picture_blocks_initialized, 1);
}
gc_character_iter_init_for_blocks (iter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]