Mercurial > kinput2.yaz
comparison lib/Xsj3clib/sj3ctype.c @ 0:92745d501b9a
initial import from kinput2-v3.1
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 08 Mar 2010 04:44:30 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:92745d501b9a |
---|---|
1 #ifndef lint | |
2 static char *rcsid = "$Id: sj3ctype.c,v 2.2 1993/01/21 10:54:39 nao Exp $"; | |
3 #endif | |
4 /* | |
5 * Copyright 1991 Sony Corporation | |
6 * | |
7 * Permission to use, copy, modify, distribute, and sell this software and its | |
8 * documentation for any purpose is hereby granted without fee, provided that | |
9 * the above copyright notice appear in all copies and that both that | |
10 * copyright notice and this permission notice appear in supporting | |
11 * documentation, and that the name of Sony not be used in advertising or | |
12 * publicity pertaining to distribution of the software without specific, | |
13 * written prior permission. Sony makes no representations about the | |
14 * suitability of this software for any purpose. It is provided "as is" | |
15 * without express or implied warranty. | |
16 * | |
17 * SONY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL | |
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SONY | |
19 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
20 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION | |
21 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | |
22 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
23 */ | |
24 /* | |
25 * Author: Naoshi Suzuki, SONY Corporation. (nao@sm.sony.co.jp) | |
26 */ | |
27 | |
28 #include "common.h" | |
29 | |
30 unsigned char kan1[4][4] = { | |
31 0x81, 0x9f, 0xe0, 0xfc, | |
32 0xa1, 0xfe, 0xa1, 0xfe, | |
33 NULL, NULL, NULL, NULL, | |
34 NULL, NULL, NULL, NULL | |
35 }; | |
36 | |
37 unsigned char kan2[4][4] = { | |
38 0x40, 0x7e, 0x80, 0xfc, | |
39 0xa1, 0xfe, 0xa1, 0xfe, | |
40 NULL, NULL, NULL, NULL, | |
41 NULL, NULL, NULL, NULL | |
42 }; | |
43 | |
44 wchar hira[2][2] = { | |
45 0x829f, 0x82f1, | |
46 0xa4a1, 0xa4f3 | |
47 }; | |
48 | |
49 wchar kata[2][3] = { | |
50 0x8340, 0x8396, 0x837f, | |
51 0xa5a1, 0xa5f6, NULL | |
52 }; | |
53 | |
54 wchar zalpha[2][2] = { | |
55 0x8260, 0x829a, | |
56 0xa3c1, 0xa3fa | |
57 }; | |
58 | |
59 wchar zupper[2][2] = { | |
60 0x8260, 0x8279, | |
61 0xa3c1, 0xa3da | |
62 }; | |
63 | |
64 wchar zlower[2][2] = { | |
65 0x8281, 0x829a, | |
66 0xa3e1, 0xa3fa | |
67 }; | |
68 | |
69 wchar zplosive[2][2] = { | |
70 0x82c1, 0x8362, | |
71 0xa4c3, 0xa5c3 | |
72 }; | |
73 | |
74 wchar zdakuten[2][2] = { | |
75 0x814a, 0x814b, | |
76 0xa1ab, 0xa1ac | |
77 }; | |
78 | |
79 wchar zvowel[2][4] = { | |
80 0x829f, 0x82a8, 0x8340, 0x8349, | |
81 0xa4a1, 0xa4aa, 0xa5a1, 0xa5aa | |
82 }; |