root/trunk/orca/charset.c

Revision 1, 1.3 kB (checked in by krobillard, 3 years ago)

Import orca & thune.

Line 
1 /*
2 */
3
4
5 #include <stdint.h>
6
7
8 /* Blanks: null space tab cr lf */
9 uint8_t charset_white[32] = {
10         0x01,0x26,0x00,0x00,0x01,0x00,0x00,0x00,
11         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
12         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
13         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
14 };
15
16
17 /* Delimiters: [](){}"; null space tab cr lf */
18 uint8_t charset_delimiters[32] = {
19         0x01,0x26,0x00,0x00,0x05,0x03,0x00,0x08,
20         0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x28,
21         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
22         0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
23 };
24
25
26 /* Strict Word: a-z A-Z ?!.*&|=_~ and all ascii >= 127  */
27 uint8_t charset_sword[32] = {
28         0x00,0x00,0x00,0x00,0x42,0x44,0x00,0xF0,
29         0xFE,0xFF,0xFF,0x97,0xFF,0xFF,0xFF,0x57,
30         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
31         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
32 };
33
34
35 /* Word: 0-9 a-z A-Z ?!.'+-*&|=_~ and all ascii >= 127 */
36 uint8_t charset_word[32] = {
37         0x00,0x00,0x00,0x00,0xC2,0x6C,0xFF,0xF3,
38         0xFE,0xFF,0xFF,0x97,0xFF,0xFF,0xFF,0x57,
39         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
40         0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
41 };
42
43
44 /* Binary: 0-9 a-z A-Z space tab lf */
45 uint8_t charset_binary[32] = {
46     0x00,0x06,0x00,0x00,0x01,0x00,0xFF,0x03,
47     0x7E,0x00,0x00,0x00,0x7E,0x00,0x00,0x00,
48     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
49     0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
50 };
51
52
53 //EOF
54
Note: See TracBrowser for help on using the browser.