1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
/*
* Compile-in this chunk of code unless we've turned it off specifically
* or in general (id=_viscii).
*/
#ifndef INCL_CHARSET_viscii
#define INCL_CHARSET_viscii 1
/*ifdef NO_CHARSET*/
#ifdef NO_CHARSET
#undef NO_CHARSET
#endif
#define NO_CHARSET 0 /* force default to always be active */
/*ifndef NO_CHARSET_viscii*/
#ifndef NO_CHARSET_viscii
#if ALL_CHARSETS
#define NO_CHARSET_viscii 0
#else
#define NO_CHARSET_viscii 1
#endif
#endif /* ndef(NO_CHARSET_viscii) */
#if NO_CHARSET_viscii
#define UC_CHARSET_SETUP_viscii /*nothing*/
#else
/*
* uni_hash.tbl
*
* Do not edit this file; it was automatically generated by
*
* ./makeuctb ./viscii_uni.tbl
*
*/
static const u8 dfont_unicount_viscii[256] =
{
0, 0, 1, 0, 0, 1, 1, 0,
0, 1, 1, 0, 1, 1, 0, 0,
0, 0, 0, 0, 1, 0, 0, 1,
1, 1, 1, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1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 0x1eb5, 0x00c8, 0x00c9, 0x00ca,
0x1eba, 0x00cc, 0x00cd, 0x0128, 0x1ef3, 0x0110, 0x1ee9, 0x00d2,
0x00d3, 0x00d4, 0x1ea1, 0x1ef7, 0x1eeb, 0x1eed, 0x00d9, 0x00da,
0x1ef9, 0x1ef5, 0x00dd, 0x1ee1, 0x01b0, 0x00e0, 0x00e1, 0x00e2,
0x00e3, 0x1ea3, 0x0103, 0x1eef, 0x1eab, 0x00e8, 0x00e9, 0x00ea,
0x1ebb, 0x00ec, 0x00ed, 0x0129, 0x1ec9, 0x0111, 0x00f0, 0x1ef1,
0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x1ecf, 0x1ecd, 0x1ee5, 0x00f9,
0x00fa, 0x0169, 0x1ee7, 0x00fd, 0x1ee3, 0x1eee
};
static struct unipair_str repl_map_viscii[8] =
{
{0xc," "}, {0x1a,"^Z"}, {0x1eaa,"\302~"}, {0x1eb2,"A(?"},
{0x1eb4,"A(~"}, {0x1ef4,"Y."}, {0x1ef6,"Y?"}, {0x1ef8,"Y~"}
};
static const struct unimapdesc_str dfont_replacedesc_viscii = {8,repl_map_viscii,0,1};
#define UC_CHARSET_SETUP_viscii UC_Charset_Setup("viscii",\
"Vietnamese (VISCII)",\
dfont_unicount_viscii,dfont_unitable_viscii,142,\
dfont_replacedesc_viscii,128,3,0)
#endif /* NO_CHARSET_viscii */
#endif /* INCL_CHARSET_viscii */
|