FONTAINE
1.0
Main Page
Namespaces
Classes
Files
File List
File Members
src
orthographies
Kokuji.h
Go to the documentation of this file.
1
//
2
// The Fontaine Font Analysis Project
3
//
4
// Copyright (c) 2009 by Edward H. Trager
5
// All Rights Reserved
6
//
7
// Released under the GNU GPL version 2.0 or later.
8
//
9
10
11
//
12
// Kokuji.h
13
//
14
15
#ifndef ORTHOGRAPHY_DATA
16
#include "../OrthographyData.h"
17
#endif
18
19
#ifndef KOKUJI
20
#define KOKUJI
21
22
namespace
Kokuji{
23
24
//
25
// 国字 Unicode values
26
//
27
// Based on a partial list presented at
28
// http://www.sljfaq.org/afaq/kokuji-list.html
29
// Updated 2011.04.19.ET.
30
// This list should still be quite helpful in identifying
31
// a truly Japanese font from a Chinese font ... maybe!
32
//
33
UINT32
values
[]={
34
// UTF8 JIS VALUE
35
0x4FE3,
// 俣 4B73
36
0x4FE4,
// 俤 505F
37
0x4FE5,
// 俥 5060
38
0x50CD,
// 働 462F
39
0x51E7,
// 凧 427C
40
0x51E9,
// 凩 515E
41
0x51EA,
// 凪 4664
42
0x5301,
// 匁 4C68
43
0x5302,
// 匂 4677
44
0x53FA,
// 叺 525D
45
0x54D8,
// 哘 5326
46
0x55B0,
// 喰 3674
47
0x5678,
// 噸 4655
48
0x567A,
// 噺 4838
49
0x5737,
// 圷 542A
50
0x5738,
// 圸 542B
51
0x5788,
// 垈 5432
52
0x5840,
// 塀 4A3D
53
0x5870,
// 塰 544B
54
0x5B36,
// 嬶 554E
55
0x5CE0,
// 峠 463D
56
0x603A,
// 怺 576A
57
0x6762,
// 杢 4C5D
58
0x6763,
// 杣 5B3C
59
0x67A0,
// 枠 4F48
60
0x67A1,
// 枡 5B46
61
0x67FE,
// 柾 4B6F
62
0x6802,
// 栂 444E
63
0x6803,
// 栃 464A
64
0x691A,
// 椚 5C2F
65
0x6923,
// 椣 5C30
66
0x698A,
// 榊 3A67
67
0x6A2B,
// 樫 335F
68
0x6BDF,
// 毟 5D5B
69
0x6C62,
// 汢 5D69
70
0x71F5,
// 燵 5F7D
71
0x74E7,
// 瓧 6123
72
0x74E9,
// 瓩 6124
73
0x74F0,
// 瓰 6127
74
0x74F1,
// 瓱 6128
75
0x74F8,
// 瓸 6129
76
0x7505,
// 甅 612D
77
0x7551,
// 畑 482A
78
0x7560,
// 畠 482B
79
0x766A,
// 癪 617B
80
0x7ACD,
// 竍 6367
81
0x7ACF,
// 竏 6368
82
0x7AD3,
// 竓 636A
83
0x7AD5,
// 竕 6369
84
0x7AE1,
// 竡 636E
85
0x7AF0,
// 竰 6372
86
0x7C13,
// 簓 6449
87
0x7C75,
// 籵 6462
88
0x7C7E,
// 籾 4C62
89
0x7C81,
// 粁 364E
90
0x7C8D,
// 粍 4C30
91
0x7CA8,
// 粨 646A
92
0x7CCE,
// 糎 4138
93
0x7E05,
// 縅 654F
94
0x8062,
// 聢 665E
95
0x81A4,
// 膤 6733
96
0x84D9,
// 蓙 6868
97
0x88C3,
// 裃 6A61
98
0x88C4,
// 裄 6A62
99
0x8904,
// 褄 6A6D
100
0x8977,
// 襷 6B27
101
0x8ADA,
// 諚 6B5C
102
0x8EBE,
// 躾 6D3F
103
0x8EC8,
// 軈 6D41
104
0x8FB7,
// 辷 6D68
105
0x8FBB,
// 辻 4454
106
0x8FBC,
// 込 397E
107
0x8FDA,
// 迚 6D69
108
0x92F2,
// 鋲 4946
109
0x933A,
// 錺 6F25
110
0x933B,
// 錻 6F27
111
0x93B9,
// 鎹 6F31
112
0x9453,
// 鑓 4C7A
113
0x958A,
// 閊 6F5B
114
0x9596,
// 閖 6F5D
115
0x9786,
// 鞆 705D
116
0x98AA,
// 颪 7124
117
0x9942,
// 饂 713B
118
0x9B96,
// 鮖 723B
119
0x9B97,
// 鮗 723C
120
0x9BA0,
// 鮠 723E
121
0x9BCF,
// 鯏 7245
122
0x9BD1,
// 鯑 7246
123
0x9BD2,
// 鯒 7247
124
0x9BF0,
// 鯰 7250
125
0x9BF1,
// 鯱 724F
126
0x9C2F,
// 鰯 3073
127
0x9C30,
// 鰰 7260
128
0x9C48,
// 鱈 432D
129
0x9C5A,
// 鱚 7265
130
0x9D2B,
// 鴫 3C32
131
0x9EBF,
// 麿 4B7B
132
END_OF_DATA
133
};
134
135
//
136
// Sample sentences
137
//
138
const
char
*
sentences
[]={
139
"碓氷峠(うすいとうげ)は群馬県安中市松井田町と長野県北佐久郡軽井沢町との境にある日本の峠である。"
,
140
END_OF_DATA
141
};
142
143
144
//
145
//
146
//
147
OrthographyData
data
={
148
"Japanese Kokuji"
,
149
"日本国字"
,
150
0x5ce0,
// Mountain pass, 峠
151
values
,
152
"峠栂込榊鴫辻畑柾梻毟"
,
153
sentences
154
};
155
156
const
OrthographyData
*
pData
= &
data
;
157
158
};
// end of namespace
159
160
#endif
Generated by
1.8.4