summaryrefslogtreecommitdiff
path: root/modules/hangul/hangul-defs.h
diff options
context:
space:
mode:
authorChangwoo Ryu <cwryu@debian.org>2004-04-17 16:17:57 +0000
committerChangwoo Ryu <cwryu@src.gnome.org>2004-04-17 16:17:57 +0000
commitfa764a7c02a2c4632749f85d37a192ad515e379e (patch)
treed58d96384867c3a93baaee63320c883d2be990a4 /modules/hangul/hangul-defs.h
parent6b64bd1ac69d27c439da2ecef943ae61e4208c89 (diff)
downloadpango-fa764a7c02a2c4632749f85d37a192ad515e379e.tar.gz
handle non-Hangul unicode chars, fixes #129741, #137347.
2004-04-18 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h (IS_JAMO): * modules/hangul/hangul-fc.c (hangul_engine_shape, render_basic): handle non-Hangul unicode chars, fixes #129741, #137347.
Diffstat (limited to 'modules/hangul/hangul-defs.h')
-rw-r--r--modules/hangul/hangul-defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/hangul/hangul-defs.h b/modules/hangul/hangul-defs.h
index 2ddf339a..59ed4625 100644
--- a/modules/hangul/hangul-defs.h
+++ b/modules/hangul/hangul-defs.h
@@ -48,6 +48,7 @@
#define HTONE1 0x302E
#define HTONE2 0x302F
+#define IS_JAMO(wc) (wc >= LBASE && wc <= TEND)
#define IS_L(wc) (wc >= LBASE && wc <= LEND)
#define IS_V(wc) (wc >= VFILL && wc <= VEND)
#define IS_T(wc) (wc > TBASE && wc <= TEND)