ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
glyph_masks.h
Go to the documentation of this file.
1/* 4x4 coverage masks generated from DejaVu Sans Mono 2.37 at 24 px.
2 * See DEJAVU-LICENSE for the font license. */
3#pragma once
4#include <stdint.h>
5// clang-format off
6static const uint8_t glyph_masks[95][16] = {
7 {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
8 {0,29,39,0,0,89,118,0,0,48,63,0,0,16,21,0},
9 {7,52,49,16,12,90,86,27,0,0,0,0,0,2,2,1},
10 {0,25,32,37,55,155,155,139,116,145,146,57,18,15,16,0},
11 {0,15,35,5,51,144,119,26,31,105,149,105,11,57,82,21},
12 {54,61,7,0,104,134,66,37,23,47,131,124,0,0,37,40},
13 {8,57,47,1,65,156,38,12,135,87,124,155,13,41,37,41},
14 {0,31,40,0,0,54,69,0,0,0,0,0,0,1,1,0},
15 {0,0,48,3,0,94,88,1,0,122,72,0,0,16,80,3},
16 {1,46,4,0,0,66,112,0,0,46,140,0,1,74,27,0},
17 {7,29,32,9,28,116,125,36,0,3,3,0,0,0,0,0},
18 {0,0,0,0,27,83,95,31,36,101,115,42,0,0,0,0},
19 {0,2,2,0,0,0,0,0,0,46,59,0,0,83,58,0},
20 {0,0,0,0,0,18,21,1,0,48,54,2,0,0,0,0},
21 {0,2,2,0,0,0,0,0,0,43,54,0,0,30,38,0},
22 {2,0,25,45,0,22,133,37,30,133,33,0,60,38,0,3},
23 {6,59,62,12,127,96,76,147,111,100,83,130,0,41,45,0},
24 {9,64,52,1,6,65,148,0,4,66,161,28,7,48,51,35},
25 {27,62,56,21,12,22,124,99,37,123,98,26,34,58,38,28},
26 {23,54,53,20,12,53,141,96,25,59,124,108,23,43,37,12},
27 {0,2,76,16,33,84,173,60,94,87,157,104,0,0,30,12},
28 {35,71,51,8,79,130,96,44,28,43,111,123,22,48,38,1},
29 {0,49,53,7,120,136,92,60,119,108,77,146,0,38,46,6},
30 {36,61,63,57,17,24,153,70,0,94,94,0,1,41,0,2},
31 {20,55,55,26,88,129,113,113,105,118,103,126,12,39,40,16},
32 {18,58,57,10,134,94,89,158,33,97,128,121,3,36,34,0},
33 {0,0,0,0,0,41,52,0,0,63,79,0,0,25,32,0},
34 {0,0,0,0,0,40,51,0,0,66,84,0,0,78,51,0},
35 {0,0,0,0,28,52,59,54,69,114,97,62,0,0,6,22},
36 {0,0,0,0,45,60,60,52,69,92,92,79,0,0,0,0},
37 {0,0,0,0,48,61,53,33,54,94,113,81,21,9,0,0},
38 {10,49,60,27,13,45,138,82,0,67,74,0,1,21,14,1},
39 {0,19,26,2,87,97,107,139,131,101,85,152,51,89,101,48},
40 {0,45,58,0,18,148,157,34,133,116,96,157,41,0,0,40},
41 {41,61,52,28,133,119,106,131,126,122,85,144,25,44,38,20},
42 {0,53,65,35,119,104,20,18,101,107,36,26,0,34,51,26},
43 {49,68,58,5,156,63,61,152,149,74,72,131,30,51,41,0},
44 {33,65,52,37,110,144,66,41,104,141,68,48,20,46,41,32},
45 {24,67,51,42,82,166,74,49,81,136,29,18,18,21,0,0},
46 {1,59,58,23,140,80,44,46,121,81,76,156,0,41,44,20},
47 {50,8,0,54,156,91,68,175,148,78,55,166,31,3,0,33},
48 {22,71,73,30,6,102,129,8,12,108,132,16,18,51,51,24},
49 {2,46,74,20,0,9,141,84,45,40,136,58,31,52,34,0},
50 {51,3,19,61,147,150,116,26,148,92,100,80,31,0,0,53},
51 {33,38,2,3,103,112,0,0,95,133,39,36,17,51,49,42},
52 {73,25,10,81,176,132,118,189,145,55,46,145,34,0,0,35},
53 {57,47,0,56,147,163,63,155,139,56,139,170,32,3,16,44},
54 {7,63,67,14,142,74,49,161,124,83,63,142,0,45,50,1},
55 {34,63,52,40,110,143,91,159,106,117,27,7,23,16,0,0},
56 {7,63,68,14,142,74,46,160,124,83,74,147,0,45,101,36},
57 {48,57,51,28,152,110,135,104,145,76,74,119,30,7,0,45},
58 {22,54,49,17,98,130,75,32,24,66,116,129,19,40,38,12},
59 {53,69,72,60,23,107,134,25,0,81,111,0,1,18,24,1},
60 {47,20,11,53,156,51,20,172,117,91,69,135,2,44,48,6},
61 {61,6,0,63,117,79,52,140,6,137,151,17,0,26,35,0},
62 {56,0,0,48,149,85,89,146,120,150,131,148,22,19,12,29},
63 {51,24,0,66,25,135,148,46,64,108,106,80,47,1,0,49},
64 {61,11,0,67,57,119,120,72,0,95,127,0,2,16,21,2},
65 {29,57,63,81,5,42,137,76,45,146,69,24,34,50,42,49},
66 {0,40,65,3,0,119,84,1,0,120,66,0,0,74,94,4},
67 {48,21,0,2,42,133,18,0,0,38,132,26,3,0,43,55},
68 {0,58,50,0,0,60,140,0,0,41,140,0,0,80,91,0},
69 {4,56,64,7,52,70,64,64,0,0,0,0,0,2,2,1},
70 {0,0,0,0,2,2,2,2,0,0,0,0,59,59,59,59},
71 {4,55,20,0,0,19,15,0,0,0,0,0,0,1,1,0},
72 {0,0,0,0,17,77,96,53,95,126,138,155,19,40,31,26},
73 {36,26,0,0,111,127,68,70,109,122,63,153,19,43,46,5},
74 {0,0,0,0,29,82,63,34,79,137,45,32,0,28,49,22},
75 {0,0,18,44,57,75,105,140,133,86,95,139,1,44,44,25},
76 {0,0,0,0,51,93,91,70,125,145,107,102,0,30,37,10},
77 {0,13,67,37,26,137,154,57,1,102,81,0,0,20,18,0},
78 {0,0,0,0,56,77,80,81,132,80,96,156,16,113,138,75},
79 {35,26,0,0,110,127,84,59,109,79,43,148,22,13,5,26},
80 {1,18,29,1,7,99,85,0,17,100,138,27,21,49,50,34},
81 {0,8,35,0,8,87,115,0,0,28,149,0,28,96,101,0},
82 {29,32,0,3,81,139,68,36,75,152,114,69,19,13,0,47},
83 {31,72,17,1,13,141,54,0,0,100,96,20,0,6,50,25},
84 {0,0,0,0,88,99,95,85,133,105,107,137,23,17,17,24},
85 {0,0,0,0,63,91,84,58,118,86,43,149,20,12,5,26},
86 {0,0,0,0,51,79,73,62,124,99,76,145,0,42,47,3},
87 {0,0,0,0,65,89,69,67,122,129,65,152,93,98,46,7},
88 {0,0,0,0,51,77,77,86,125,94,92,160,2,42,78,120},
89 {0,0,0,0,1,100,74,61,3,161,19,3,1,25,0,0},
90 {0,0,0,0,30,102,70,15,37,111,134,71,7,32,43,14},
91 {0,26,10,0,41,167,95,29,1,122,85,20,0,12,51,24},
92 {0,0,0,0,70,38,14,85,101,110,80,152,1,44,42,24},
93 {0,0,0,0,77,37,18,91,33,133,138,48,0,28,38,0},
94 {0,0,0,0,91,12,13,84,119,137,128,138,12,29,23,20},
95 {0,0,0,0,35,69,68,45,39,134,143,52,34,9,0,39},
96 {0,0,0,0,72,45,13,94,20,126,147,47,26,127,71,0},
97 {1,1,0,0,15,61,109,52,26,121,102,29,22,57,38,23},
98 {0,3,69,27,7,93,119,12,18,136,83,0,0,29,127,33},
99 {0,25,33,0,0,78,101,0,0,74,96,0,0,75,97,0},
100 {19,69,10,0,8,98,112,10,0,57,150,27,23,119,46,0},
101 {0,0,0,0,23,36,26,24,40,51,58,48,0,0,0,0},
102};
103// clang-format on
104#define GLYPH_MASK_MAX_SUM 1287
unsigned char uint8_t
Definition common.h:60