-
Notifications
You must be signed in to change notification settings - Fork 0
/
charset7.h
146 lines (144 loc) · 9.49 KB
/
charset7.h
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/* This file is part of 34S.
*
* 34S is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* 34S is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with 34S. If not, see <http://www.gnu.org/licenses/>.
*
*
* This file is automatically generated.
* Changes will not be preserved.
*/
static const unsigned char digtbl[122] = {
0 /* 0000 */,
D_TOP /* 0001 */,
D_MIDDLE /* 0002 */,
D_TOP | D_MIDDLE /* 0003 */,
D_BOTTOM /* 0004 */,
D_TOP | D_BOTTOM /* 0005 */,
D_MIDDLE | D_BOTTOM /* 0006 */,
D_TOP | D_MIDDLE | D_BOTTOM /* 0007 */,
D_TL | D_TR | D_BL | D_BR /* 0010 */,
0 /* 0011 */,
0 /* 0012 */,
0 /* 0013 */,
0 /* 0014 */,
0 /* 0015 */,
0 /* 0016 */,
0 /* 0017 */,
0 /* 0020 */,
0 /* 0021 */,
0 /* 0022 */,
0 /* 0023 */,
0 /* 0024 */,
0 /* 0025 */,
0 /* 0026 */,
0 /* 0027 */,
D_MIDDLE | D_BL | D_BR | D_BOTTOM /* 0030 */,
D_BR /* 0031 */,
0 /* 0032 */,
0 /* 0033 */,
0 /* 0034 */,
0 /* 0035 */,
0 /* 0036 */,
0 /* 0037 */,
0 /* */,
0 /* ! */,
D_TL | D_TR /* " */,
0 /* # */,
0 /* $ */,
0 /* % */,
0 /* & */,
D_TL /* ' */,
D_TOP | D_TL | D_BL | D_BOTTOM /* ( */,
D_TOP | D_TR | D_BR | D_BOTTOM /* ) */,
0 /* * */,
0 /* + */,
0 /* , */,
D_MIDDLE /* - */,
0 /* . */,
D_BOTTOM | D_BR /* / */,
D_TOP | D_TL | D_TR | D_BL | D_BR | D_BOTTOM /* 0 */,
D_TR | D_BR /* 1 */,
D_TOP | D_TR | D_MIDDLE | D_BL | D_BOTTOM /* 2 */,
D_TOP | D_TR | D_MIDDLE | D_BR | D_BOTTOM /* 3 */,
D_TL | D_TR | D_MIDDLE | D_BR /* 4 */,
D_TOP | D_TL | D_MIDDLE | D_BR | D_BOTTOM /* 5 */,
D_TOP | D_TL | D_MIDDLE | D_BL | D_BR | D_BOTTOM /* 6 */,
D_TOP | D_TR | D_BR /* 7 */,
D_TOP | D_TL | D_TR | D_MIDDLE | D_BL | D_BR | D_BOTTOM /* 8 */,
D_TOP | D_TL | D_TR | D_MIDDLE | D_BR | D_BOTTOM /* 9 */,
0 /* : */,
0 /* ; */,
D_BL | D_BOTTOM /* < */,
D_MIDDLE | D_BOTTOM /* = */,
D_BR | D_BOTTOM /* > */,
0 /* ? */,
D_TOP | D_TL | D_TR | D_MIDDLE /* @ */,
D_TOP | D_TL | D_TR | D_MIDDLE | D_BL | D_BR /* A */,
D_TL | D_MIDDLE | D_BL | D_BR | D_BOTTOM /* B */,
D_TOP | D_TL | D_BL | D_BOTTOM /* C */,
D_TR | D_MIDDLE | D_BL | D_BR | D_BOTTOM /* D */,
D_TOP | D_TL | D_MIDDLE | D_BL | D_BOTTOM /* E */,
D_TOP | D_TL | D_MIDDLE | D_BL /* F */,
D_TOP | D_TL | D_BL | D_BR | D_BOTTOM /* G */,
D_TL | D_TR | D_MIDDLE | D_BL | D_BR /* H */,
D_TL | D_BL /* I */,
D_TR | D_BL | D_BR | D_BOTTOM /* J */,
0 /* K */,
D_TL | D_BL | D_BOTTOM /* L */,
D_TOP | D_TL | D_TR | D_BL /* M */,
D_TOP | D_TL | D_TR | D_BL | D_BR /* N */,
D_TOP | D_TL | D_TR | D_BL | D_BR | D_BOTTOM /* O */,
D_TOP | D_TL | D_TR | D_MIDDLE | D_BL /* P */,
D_TOP | D_TL | D_TR | D_MIDDLE | D_BR /* Q */,
D_MIDDLE | D_BL /* R */,
D_TOP | D_TL | D_MIDDLE | D_BR | D_BOTTOM /* S */,
D_TL | D_MIDDLE | D_BL | D_BOTTOM /* T */,
D_TL | D_TR | D_BL | D_BR | D_BOTTOM /* U */,
0 /* V */,
D_TL | D_BL | D_BR | D_BOTTOM /* W */,
0 /* X */,
D_TL | D_TR | D_MIDDLE | D_BR | D_BOTTOM /* Y */,
0 /* Z */,
D_TOP | D_TL | D_BL | D_BOTTOM /* [ */,
0 /* \ */,
D_TOP | D_TR | D_BR | D_BOTTOM /* ] */,
0 /* ^ */,
D_BOTTOM /* _ */,
0 /* ` */,
D_TOP | D_TL | D_TR | D_MIDDLE | D_BL | D_BR /* a */,
D_TL | D_MIDDLE | D_BL | D_BR | D_BOTTOM /* b */,
D_MIDDLE | D_BL | D_BOTTOM /* c */,
D_TR | D_MIDDLE | D_BL | D_BR | D_BOTTOM /* d */,
D_TOP | D_TL | D_MIDDLE | D_BL | D_BOTTOM /* e */,
D_TOP | D_TL | D_MIDDLE | D_BL /* f */,
D_TOP | D_TL | D_BL | D_BR | D_BOTTOM /* g */,
D_TL | D_MIDDLE | D_BL | D_BR /* h */,
D_BL /* i */,
D_TR | D_BL | D_BR | D_BOTTOM /* j */,
0 /* k */,
D_TL | D_BL | D_BOTTOM /* l */,
D_TOP | D_TL | D_TR | D_BR /* m */,
D_MIDDLE | D_BL | D_BR /* n */,
D_MIDDLE | D_BL | D_BR | D_BOTTOM /* o */,
D_TOP | D_TL | D_TR | D_MIDDLE | D_BL /* p */,
D_TOP | D_TL | D_TR | D_MIDDLE | D_BR /* q */,
D_MIDDLE | D_BL /* r */,
D_TOP | D_TL | D_MIDDLE | D_BR | D_BOTTOM /* s */,
D_TL | D_MIDDLE | D_BL | D_BOTTOM /* t */,
D_BL | D_BR | D_BOTTOM /* u */,
0 /* v */,
D_TR | D_BL | D_BR | D_BOTTOM /* w */,
0 /* x */,
D_TL | D_TR | D_MIDDLE | D_BR | D_BOTTOM /* y */,
};
#define N_DIGTBL (122)