summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/ekhtml/include/ekhtml_tables.h
blob: 58f89a2219ac5da016f341739465509e3ee7a6a9 (plain)
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
146
#ifndef EKHTML_MKTABLES_DOT_H
#define EKHTML_MKTABLES_DOT_H
#ifdef EKHTML_USE_TABLES
const unsigned int EKCMap_CharMap[256] = {
0x00000000 /* 0x00 */,  0x00000000 /* 0x01 */,  0x00000000 /* 0x02 */,  0x00000000 /* 0x03 */,  
0x00000000 /* 0x04 */,  0x00000000 /* 0x05 */,  0x00000000 /* 0x06 */,  0x00000000 /* 0x07 */,  
0x00000000 /* 0x08 */,  0x00000002 /* 0x09 */,  0x00000002 /* 0x0a */,  0x00000002 /* 0x0b */,  
0x00000002 /* 0x0c */,  0x00000002 /* 0x0d */,  0x00000000 /* 0x0e */,  0x00000000 /* 0x0f */,  
0x00000000 /* 0x10 */,  0x00000000 /* 0x11 */,  0x00000000 /* 0x12 */,  0x00000000 /* 0x13 */,  
0x00000000 /* 0x14 */,  0x00000000 /* 0x15 */,  0x00000000 /* 0x16 */,  0x00000000 /* 0x17 */,  
0x00000000 /* 0x18 */,  0x00000000 /* 0x19 */,  0x00000000 /* 0x1a */,  0x00000000 /* 0x1b */,  
0x00000000 /* 0x1c */,  0x00000000 /* 0x1d */,  0x00000000 /* 0x1e */,  0x00000000 /* 0x1f */,  
0x00000002 /* 0x20 */,  0x00000010 /*  '!' */,  0x00000000 /*  '"' */,  0x00000010 /*  '#' */,  
0x00000010 /*  '$' */,  0x00000010 /*  '%' */,  0x00000010 /*  '&' */,  0x00000000 /*  ''' */,  
0x00000010 /*  '(' */,  0x00000010 /*  ')' */,  0x00000010 /*  '*' */,  0x00000010 /*  '+' */,  
0x00000000 /*  ',' */,  0x00000019 /*  '-' */,  0x00000019 /*  '.' */,  0x00000010 /*  '/' */,  
0x00000019 /*  '0' */,  0x00000019 /*  '1' */,  0x00000019 /*  '2' */,  0x00000019 /*  '3' */,  
0x00000019 /*  '4' */,  0x00000019 /*  '5' */,  0x00000019 /*  '6' */,  0x00000019 /*  '7' */,  
0x00000019 /*  '8' */,  0x00000019 /*  '9' */,  0x00000010 /*  ':' */,  0x00000000 /*  ';' */,  
0x00000000 /*  '<' */,  0x00000010 /*  '=' */,  0x00000000 /*  '>' */,  0x00000010 /*  '?' */,  
0x00000010 /*  '@' */,  0x0000001d /*  'A' */,  0x0000001d /*  'B' */,  0x0000001d /*  'C' */,  
0x0000001d /*  'D' */,  0x0000001d /*  'E' */,  0x0000001d /*  'F' */,  0x0000001d /*  'G' */,  
0x0000001d /*  'H' */,  0x0000001d /*  'I' */,  0x0000001d /*  'J' */,  0x0000001d /*  'K' */,  
0x0000001d /*  'L' */,  0x0000001d /*  'M' */,  0x0000001d /*  'N' */,  0x0000001d /*  'O' */,  
0x0000001d /*  'P' */,  0x0000001d /*  'Q' */,  0x0000001d /*  'R' */,  0x0000001d /*  'S' */,  
0x0000001d /*  'T' */,  0x0000001d /*  'U' */,  0x0000001d /*  'V' */,  0x0000001d /*  'W' */,  
0x0000001d /*  'X' */,  0x0000001d /*  'Y' */,  0x0000001d /*  'Z' */,  0x00000000 /*  '[' */,  
0x00000000 /*  '\' */,  0x00000010 /*  ']' */,  0x00000000 /*  '^' */,  0x0000001c /*  '_' */,  
0x00000000 /*  '`' */,  0x0000001d /*  'a' */,  0x0000001d /*  'b' */,  0x0000001d /*  'c' */,  
0x0000001d /*  'd' */,  0x0000001d /*  'e' */,  0x0000001d /*  'f' */,  0x0000001d /*  'g' */,  
0x0000001d /*  'h' */,  0x0000001d /*  'i' */,  0x0000001d /*  'j' */,  0x0000001d /*  'k' */,  
0x0000001d /*  'l' */,  0x0000001d /*  'm' */,  0x0000001d /*  'n' */,  0x0000001d /*  'o' */,  
0x0000001d /*  'p' */,  0x0000001d /*  'q' */,  0x0000001d /*  'r' */,  0x0000001d /*  's' */,  
0x0000001d /*  't' */,  0x0000001d /*  'u' */,  0x0000001d /*  'v' */,  0x0000001d /*  'w' */,  
0x0000001d /*  'x' */,  0x0000001d /*  'y' */,  0x0000001d /*  'z' */,  0x00000000 /*  '{' */,  
0x00000000 /*  '|' */,  0x00000000 /*  '}' */,  0x00000010 /*  '~' */,  0x00000000 /* 0x7f */,  
0x00000000 /* 0x80 */,  0x00000000 /* 0x81 */,  0x00000000 /* 0x82 */,  0x0000001f /* 0x83 */,  
0x0000001f /* 0x84 */,  0x00000000 /* 0x85 */,  0x00000000 /* 0x86 */,  0x0000001f /* 0x87 */,  
0x0000001d /* 0x88 */,  0x00000000 /* 0x89 */,  0x00000000 /* 0x8a */,  0x0000001f /* 0x8b */,  
0x0000001f /* 0x8c */,  0x0000001f /* 0x8d */,  0x0000001d /* 0x8e */,  0x0000001d /* 0x8f */,  
0x0000001d /* 0x90 */,  0x0000001f /* 0x91 */,  0x0000001f /* 0x92 */,  0x0000001f /* 0x93 */,  
0x0000001d /* 0x94 */,  0x0000001f /* 0x95 */,  0x0000001d /* 0x96 */,  0x0000001f /* 0x97 */,  
0x0000001f /* 0x98 */,  0x0000001f /* 0x99 */,  0x0000001d /* 0x9a */,  0x0000001d /* 0x9b */,  
0x0000001d /* 0x9c */,  0x0000001f /* 0x9d */,  0x0000001f /* 0x9e */,  0x0000001f /* 0x9f */,  
0x0000001d /* 0xa0 */,  0x0000001f /* 0xa1 */,  0x0000001d /* 0xa2 */,  0x0000001f /* 0xa3 */,  
0x0000001f /* 0xa4 */,  0x0000001d /* 0xa5 */,  0x0000001d /* 0xa6 */,  0x0000001f /* 0xa7 */,  
0x0000001d /* 0xa8 */,  0x00000000 /* 0xa9 */,  0x00000000 /* 0xaa */,  0x0000001f /* 0xab */,  
0x0000001f /* 0xac */,  0x0000001d /* 0xad */,  0x0000001d /* 0xae */,  0x0000001d /* 0xaf */,  
0x0000001d /* 0xb0 */,  0x0000001f /* 0xb1 */,  0x0000001f /* 0xb2 */,  0x0000001d /* 0xb3 */,  
0x0000001d /* 0xb4 */,  0x0000001f /* 0xb5 */,  0x0000001d /* 0xb6 */,  0x0000001f /* 0xb7 */,  
0x0000001f /* 0xb8 */,  0x0000001f /* 0xb9 */,  0x0000001d /* 0xba */,  0x0000001f /* 0xbb */,  
0x0000001d /* 0xbc */,  0x0000001f /* 0xbd */,  0x0000001f /* 0xbe */,  0x0000001b /* 0xbf */,  
0x0000001d /* 0xc0 */,  0x00000000 /* 0xc1 */,  0x0000001d /* 0xc2 */,  0x0000001f /* 0xc3 */,  
0x0000001f /* 0xc4 */,  0x0000001f /* 0xc5 */,  0x0000001d /* 0xc6 */,  0x0000001f /* 0xc7 */,  
0x0000001d /* 0xc8 */,  0x00000000 /* 0xc9 */,  0x00000000 /* 0xca */,  0x0000001f /* 0xcb */,  
0x0000001f /* 0xcc */,  0x0000001f /* 0xcd */,  0x0000001d /* 0xce */,  0x00000000 /* 0xcf */,  
0x0000001d /* 0xd0 */,  0x0000001f /* 0xd1 */,  0x0000001f /* 0xd2 */,  0x0000001f /* 0xd3 */,  
0x0000001d /* 0xd4 */,  0x0000001f /* 0xd5 */,  0x0000001d /* 0xd6 */,  0x0000001f /* 0xd7 */,  
0x0000001f /* 0xd8 */,  0x00000000 /* 0xd9 */,  0x00000000 /* 0xda */,  0x0000001f /* 0xdb */,  
0x0000001d /* 0xdc */,  0x00000000 /* 0xdd */,  0x00000000 /* 0xde */,  0x0000001f /* 0xdf */,  
0x0000001f /* 0xe0 */,  0x00000000 /* 0xe1 */,  0x00000000 /* 0xe2 */,  0x0000001d /* 0xe3 */,  
0x0000001d /* 0xe4 */,  0x00000000 /* 0xe5 */,  0x00000000 /* 0xe6 */,  0x0000001f /* 0xe7 */,  
0x0000001f /* 0xe8 */,  0x00000000 /* 0xe9 */,  0x00000000 /* 0xea */,  0x0000001f /* 0xeb */,  
0x0000001d /* 0xec */,  0x00000000 /* 0xed */,  0x00000000 /* 0xee */,  0x0000001f /* 0xef */,  
0x0000001f /* 0xf0 */,  0x00000000 /* 0xf1 */,  0x00000000 /* 0xf2 */,  0x0000001f /* 0xf3 */,  
0x0000001d /* 0xf4 */,  0x00000000 /* 0xf5 */,  0x00000000 /* 0xf6 */,  0x0000001f /* 0xf7 */,  
0x0000001f /* 0xf8 */,  0x00000000 /* 0xf9 */,  0x00000000 /* 0xfa */,  0x00000000 /* 0xfb */,  
0x0000001d /* 0xfc */,  0x00000000 /* 0xfd */,  0x00000000 /* 0xfe */,  0x00000000 /* 0xff */,  
};

#else
extern const unsigned int EKCMap_CharMap[256];
#endif
#ifdef EKHTML_USE_TABLES
const unsigned int EKCMap_EKState[256] = {
0x00000002 /* 0x00 */,  0x00000002 /* 0x01 */,  0x00000002 /* 0x02 */,  0x00000002 /* 0x03 */,  
0x00000002 /* 0x04 */,  0x00000002 /* 0x05 */,  0x00000002 /* 0x06 */,  0x00000002 /* 0x07 */,  
0x00000002 /* 0x08 */,  0x00000002 /* 0x09 */,  0x00000002 /* 0x0a */,  0x00000002 /* 0x0b */,  
0x00000002 /* 0x0c */,  0x00000002 /* 0x0d */,  0x00000002 /* 0x0e */,  0x00000002 /* 0x0f */,  
0x00000002 /* 0x10 */,  0x00000002 /* 0x11 */,  0x00000002 /* 0x12 */,  0x00000002 /* 0x13 */,  
0x00000002 /* 0x14 */,  0x00000002 /* 0x15 */,  0x00000002 /* 0x16 */,  0x00000002 /* 0x17 */,  
0x00000002 /* 0x18 */,  0x00000002 /* 0x19 */,  0x00000002 /* 0x1a */,  0x00000002 /* 0x1b */,  
0x00000002 /* 0x1c */,  0x00000002 /* 0x1d */,  0x00000002 /* 0x1e */,  0x00000002 /* 0x1f */,  
0x00000002 /* 0x20 */,  0x00000000 /*  '!' */,  0x00000002 /*  '"' */,  0x00000002 /*  '#' */,  
0x00000002 /*  '$' */,  0x00000002 /*  '%' */,  0x00000002 /*  '&' */,  0x00000002 /*  ''' */,  
0x00000002 /*  '(' */,  0x00000002 /*  ')' */,  0x00000002 /*  '*' */,  0x00000002 /*  '+' */,  
0x00000002 /*  ',' */,  0x00000002 /*  '-' */,  0x00000002 /*  '.' */,  0x00000004 /*  '/' */,  
0x00000002 /*  '0' */,  0x00000002 /*  '1' */,  0x00000002 /*  '2' */,  0x00000002 /*  '3' */,  
0x00000002 /*  '4' */,  0x00000002 /*  '5' */,  0x00000002 /*  '6' */,  0x00000002 /*  '7' */,  
0x00000002 /*  '8' */,  0x00000002 /*  '9' */,  0x00000002 /*  ':' */,  0x00000002 /*  ';' */,  
0x00000002 /*  '<' */,  0x00000002 /*  '=' */,  0x00000002 /*  '>' */,  0x00000002 /*  '?' */,  
0x00000002 /*  '@' */,  0x00000003 /*  'A' */,  0x00000003 /*  'B' */,  0x00000003 /*  'C' */,  
0x00000003 /*  'D' */,  0x00000003 /*  'E' */,  0x00000003 /*  'F' */,  0x00000003 /*  'G' */,  
0x00000003 /*  'H' */,  0x00000003 /*  'I' */,  0x00000003 /*  'J' */,  0x00000003 /*  'K' */,  
0x00000003 /*  'L' */,  0x00000003 /*  'M' */,  0x00000003 /*  'N' */,  0x00000003 /*  'O' */,  
0x00000003 /*  'P' */,  0x00000003 /*  'Q' */,  0x00000003 /*  'R' */,  0x00000003 /*  'S' */,  
0x00000003 /*  'T' */,  0x00000003 /*  'U' */,  0x00000003 /*  'V' */,  0x00000003 /*  'W' */,  
0x00000003 /*  'X' */,  0x00000003 /*  'Y' */,  0x00000003 /*  'Z' */,  0x00000002 /*  '[' */,  
0x00000002 /*  '\' */,  0x00000002 /*  ']' */,  0x00000002 /*  '^' */,  0x00000002 /*  '_' */,  
0x00000002 /*  '`' */,  0x00000003 /*  'a' */,  0x00000003 /*  'b' */,  0x00000003 /*  'c' */,  
0x00000003 /*  'd' */,  0x00000003 /*  'e' */,  0x00000003 /*  'f' */,  0x00000003 /*  'g' */,  
0x00000003 /*  'h' */,  0x00000003 /*  'i' */,  0x00000003 /*  'j' */,  0x00000003 /*  'k' */,  
0x00000003 /*  'l' */,  0x00000003 /*  'm' */,  0x00000003 /*  'n' */,  0x00000003 /*  'o' */,  
0x00000003 /*  'p' */,  0x00000003 /*  'q' */,  0x00000003 /*  'r' */,  0x00000003 /*  's' */,  
0x00000003 /*  't' */,  0x00000003 /*  'u' */,  0x00000003 /*  'v' */,  0x00000003 /*  'w' */,  
0x00000003 /*  'x' */,  0x00000003 /*  'y' */,  0x00000003 /*  'z' */,  0x00000002 /*  '{' */,  
0x00000002 /*  '|' */,  0x00000002 /*  '}' */,  0x00000002 /*  '~' */,  0x00000002 /* 0x7f */,  
0x00000002 /* 0x80 */,  0x00000002 /* 0x81 */,  0x00000002 /* 0x82 */,  0x00000003 /* 0x83 */,  
0x00000003 /* 0x84 */,  0x00000002 /* 0x85 */,  0x00000002 /* 0x86 */,  0x00000003 /* 0x87 */,  
0x00000003 /* 0x88 */,  0x00000002 /* 0x89 */,  0x00000002 /* 0x8a */,  0x00000003 /* 0x8b */,  
0x00000003 /* 0x8c */,  0x00000003 /* 0x8d */,  0x00000003 /* 0x8e */,  0x00000003 /* 0x8f */,  
0x00000003 /* 0x90 */,  0x00000003 /* 0x91 */,  0x00000003 /* 0x92 */,  0x00000003 /* 0x93 */,  
0x00000003 /* 0x94 */,  0x00000003 /* 0x95 */,  0x00000003 /* 0x96 */,  0x00000003 /* 0x97 */,  
0x00000003 /* 0x98 */,  0x00000003 /* 0x99 */,  0x00000003 /* 0x9a */,  0x00000003 /* 0x9b */,  
0x00000003 /* 0x9c */,  0x00000003 /* 0x9d */,  0x00000003 /* 0x9e */,  0x00000003 /* 0x9f */,  
0x00000003 /* 0xa0 */,  0x00000003 /* 0xa1 */,  0x00000003 /* 0xa2 */,  0x00000003 /* 0xa3 */,  
0x00000003 /* 0xa4 */,  0x00000003 /* 0xa5 */,  0x00000003 /* 0xa6 */,  0x00000003 /* 0xa7 */,  
0x00000003 /* 0xa8 */,  0x00000002 /* 0xa9 */,  0x00000002 /* 0xaa */,  0x00000003 /* 0xab */,  
0x00000003 /* 0xac */,  0x00000003 /* 0xad */,  0x00000003 /* 0xae */,  0x00000003 /* 0xaf */,  
0x00000003 /* 0xb0 */,  0x00000003 /* 0xb1 */,  0x00000003 /* 0xb2 */,  0x00000003 /* 0xb3 */,  
0x00000003 /* 0xb4 */,  0x00000003 /* 0xb5 */,  0x00000003 /* 0xb6 */,  0x00000003 /* 0xb7 */,  
0x00000003 /* 0xb8 */,  0x00000003 /* 0xb9 */,  0x00000003 /* 0xba */,  0x00000003 /* 0xbb */,  
0x00000003 /* 0xbc */,  0x00000003 /* 0xbd */,  0x00000003 /* 0xbe */,  0x00000002 /* 0xbf */,  
0x00000003 /* 0xc0 */,  0x00000002 /* 0xc1 */,  0x00000003 /* 0xc2 */,  0x00000003 /* 0xc3 */,  
0x00000003 /* 0xc4 */,  0x00000003 /* 0xc5 */,  0x00000003 /* 0xc6 */,  0x00000003 /* 0xc7 */,  
0x00000003 /* 0xc8 */,  0x00000002 /* 0xc9 */,  0x00000002 /* 0xca */,  0x00000003 /* 0xcb */,  
0x00000003 /* 0xcc */,  0x00000003 /* 0xcd */,  0x00000003 /* 0xce */,  0x00000002 /* 0xcf */,  
0x00000003 /* 0xd0 */,  0x00000003 /* 0xd1 */,  0x00000003 /* 0xd2 */,  0x00000003 /* 0xd3 */,  
0x00000003 /* 0xd4 */,  0x00000003 /* 0xd5 */,  0x00000003 /* 0xd6 */,  0x00000003 /* 0xd7 */,  
0x00000003 /* 0xd8 */,  0x00000002 /* 0xd9 */,  0x00000002 /* 0xda */,  0x00000003 /* 0xdb */,  
0x00000003 /* 0xdc */,  0x00000002 /* 0xdd */,  0x00000002 /* 0xde */,  0x00000003 /* 0xdf */,  
0x00000003 /* 0xe0 */,  0x00000002 /* 0xe1 */,  0x00000002 /* 0xe2 */,  0x00000003 /* 0xe3 */,  
0x00000003 /* 0xe4 */,  0x00000002 /* 0xe5 */,  0x00000002 /* 0xe6 */,  0x00000003 /* 0xe7 */,  
0x00000003 /* 0xe8 */,  0x00000002 /* 0xe9 */,  0x00000002 /* 0xea */,  0x00000003 /* 0xeb */,  
0x00000003 /* 0xec */,  0x00000002 /* 0xed */,  0x00000002 /* 0xee */,  0x00000003 /* 0xef */,  
0x00000003 /* 0xf0 */,  0x00000002 /* 0xf1 */,  0x00000002 /* 0xf2 */,  0x00000003 /* 0xf3 */,  
0x00000003 /* 0xf4 */,  0x00000002 /* 0xf5 */,  0x00000002 /* 0xf6 */,  0x00000003 /* 0xf7 */,  
0x00000003 /* 0xf8 */,  0x00000002 /* 0xf9 */,  0x00000002 /* 0xfa */,  0x00000002 /* 0xfb */,  
0x00000003 /* 0xfc */,  0x00000002 /* 0xfd */,  0x00000002 /* 0xfe */,  0x00000002 /* 0xff */,  
};

#else
extern const unsigned int EKCMap_EKState[256];
#endif

#endif