summaryrefslogtreecommitdiff
path: root/src/vtedraw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vtedraw.h')
-rw-r--r--src/vtedraw.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vtedraw.h b/src/vtedraw.h
index 84403f5..bbff2f9 100644
--- a/src/vtedraw.h
+++ b/src/vtedraw.h
@@ -32,7 +32,12 @@ G_BEGIN_DECLS
#define VTE_DRAW_SINGLE_WIDE_CHARACTERS "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
"abcdefgjijklmnopqrstuvwxyz" \
"0123456789./+@&"
-#define VTE_DRAW_DOUBLE_WIDE_CHARACTERS 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94
+#define VTE_DRAW_DOUBLE_WIDE_CHARACTERS 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94,\
+ 0xac00, 0xac01, 0xac04, 0xac08, 0xac10
+/* For Pango, we have to use CJK Ideographs alone. Otherwise, 'width'
+ returned by pango_layout would be screwed up for Chinese and Japanese
+ fonts without Hangul */
+#define VTE_DRAW_DOUBLE_WIDE_IDEOGRAPHS 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94
#define VTE_DRAW_OPAQUE 0xff
#define VTE_DRAW_MAX_LENGTH 540