summaryrefslogtreecommitdiff
path: root/modules/hangul/hangul-defs.h
diff options
context:
space:
mode:
authorChangwoo Ryu <cwryu@debian.org>2002-11-01 03:53:07 +0000
committerChangwoo Ryu <cwryu@src.gnome.org>2002-11-01 03:53:07 +0000
commit90d16dc665ad93b8868aa69bcd6313e4964e2a38 (patch)
tree3ee9428b5157066084b86da6d48db4d59523ed2c /modules/hangul/hangul-defs.h
parent00eaaa848b99038b1c6a2ef26cfadcaff709039f (diff)
downloadpango-90d16dc665ad93b8868aa69bcd6313e4964e2a38.tar.gz
Added Hangul Tone Marks rendering by Jungshik Shin (#96299).
2002-11-01 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h modules/hangul/hangul-xft.c: Added Hangul Tone Marks rendering by Jungshik Shin (#96299).
Diffstat (limited to 'modules/hangul/hangul-defs.h')
-rw-r--r--modules/hangul/hangul-defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/hangul/hangul-defs.h b/modules/hangul/hangul-defs.h
index e3e2a20f..8ed34b60 100644
--- a/modules/hangul/hangul-defs.h
+++ b/modules/hangul/hangul-defs.h
@@ -46,9 +46,13 @@
#define VFILL 0x1160
#define TFILL 0x11A7
+#define HTONE1 0x302E
+#define HTONE2 0x302F
+
#define IS_L(wc) (wc >= LBASE && wc <= LEND)
#define IS_V(wc) (wc >= VFILL && wc <= VEND)
#define IS_T(wc) (wc >= TBASE && wc <= TEND)
+#define IS_M(wc) (wc == HTONE1 || wc == HTONE2)
/* jamo which can be composited as a Hangul syllable */
#define IS_L_S(wc) (wc >= LBASE && wc < LBASE + LCOUNT)