From 3860bc8fe5b4a3bbfc3ac94d47ef141db0fca7d5 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 18 Nov 1999 10:18:50 +0000 Subject: [PATCH] (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro. (MIN_CHAR_JIS_X0208_1990): New macro. (MAX_CHAR_JIS_X0208_1990): New macro. --- src/char-ucs.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/char-ucs.h b/src/char-ucs.h index f1c04eb..d51083c 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -109,8 +109,11 @@ typedef int Charset_ID; #define LEADING_BYTE_DAIKANWA (CHARSET_ID_OFFSET - 9) +/* Japanese JIS X0208-1990 2/4 2/{(8),9,10,11} 4/2 (B) */ +#define LEADING_BYTE_JAPANESE_JISX0208_1990 (CHARSET_ID_OFFSET - 10) + #define MIN_LEADING_BYTE_PRIVATE MIN_LEADING_BYTE -#define MAX_LEADING_BYTE_PRIVATE (CHARSET_ID_OFFSET - 10) +#define MAX_LEADING_BYTE_PRIVATE (CHARSET_ID_OFFSET - 11) /* #define CHARSET_ID_OFFSET_94 (CHARSET_ID_OFFSET - '0') */ @@ -388,7 +391,9 @@ CHARSET_BY_LEADING_BYTE (Charset_ID lb) #define MAX_CHAR_HALFWIDTH_KATAKANA 0xFF9F #define MIN_CHAR_OBS_94x94 0xE00000 -#define MAX_CHAR_OBS_94x94 (0xE00000 + 94 * 94 * 14 - 1) +#define MIN_CHAR_JIS_X0208_1990 0xE04508 +#define MAX_CHAR_JIS_X0208_1990 0XE0678B +#define MAX_CHAR_OBS_94x94 0XE1E337 #define MIN_CHAR_DAIKANWA 0xE50000 #define MAX_CHAR_DAIKANWA 0xE5FFFF -- 1.7.10.4