687f8a8bfbb363cf891c00351df020658d4fd947
[hackover2013-badge-firmware.git] / lcd / fonts / invaders.c
1 #include "invaders.h"
2
3 /* Font data for Invaders */
4
5 /* Space Invaders Pixel Art
6 */
7
8 /* This file created by makefont.pl by Sec <sec@42.org> */
9
10 /* Bitmaps */
11 const uint8_t InvadersBitmaps[] = {
12 /* Char 65 is 11px wide @ 0 */
13 0x70, /* *** */
14 0x18, /* ** */
15 0x7d, /* ***** * */
16 0xb6, /* * ** ** */
17 0xbc, /* * **** */
18 0x3c, /* **** */
19 0xbc, /* * **** */
20 0xb6, /* * ** ** */
21 0x7d, /* ***** * */
22 0x18, /* ** */
23 0x70, /* *** */
24
25
26 /* Char 66 is 12px wide @ 11 */
27 0x9c, /* * *** */
28 0x9e, /* * **** */
29 0x5e, /* * **** */
30 0x76, /* *** ** */
31 0x37, /* ** *** */
32 0x5f, /* * ***** */
33 0x5f, /* * ***** */
34 0x37, /* ** *** */
35 0x76, /* *** ** */
36 0x5e, /* * **** */
37 0x9e, /* * **** */
38 0x9c, /* * *** */
39
40
41 /* Char 67 is 8px wide @ 23 */
42 0x58, /* * ** */
43 0xbc, /* * **** */
44 0x16, /* * ** */
45 0x3f, /* ****** */
46 0x3f, /* ****** */
47 0x16, /* * ** */
48 0xbc, /* * **** */
49 0x58, /* * ** */
50
51
52 /* Char 80 is 7px wide @ 31 */
53 0xc0, /* ** */
54 0xec, /* *** ** */
55 0x7e, /* ****** */
56 0x3f, /* ****** */
57 0x7e, /* ****** */
58 0xec, /* *** ** */
59 0xc0, /* ** */
60
61
62 /* Char 85 is 16px wide @ 38 */
63 0x20, /* * */
64 0x30, /* ** */
65 0x78, /* **** */
66 0xec, /* *** ** */
67 0x7c, /* ***** */
68 0x3c, /* **** */
69 0x2e, /* * *** */
70 0x7e, /* ****** */
71 0x7e, /* ****** */
72 0x2e, /* * *** */
73 0x3c, /* **** */
74 0x7c, /* ***** */
75 0xec, /* *** ** */
76 0x78, /* **** */
77 0x30, /* ** */
78 0x20, /* * */
79
80
81 /* Char 97 is 11px wide @ 54 */
82 0x9e, /* * **** */
83 0x38, /* *** */
84 0x7d, /* ***** * */
85 0x36, /* ** ** */
86 0x3c, /* **** */
87 0x3c, /* **** */
88 0x3c, /* **** */
89 0x36, /* ** ** */
90 0x7d, /* ***** * */
91 0x38, /* *** */
92 0x9e, /* * **** */
93
94
95 /* Char 98 is 12px wide @ 65 */
96 0x1c, /* *** */
97 0x5e, /* * **** */
98 0xfe, /* ******* */
99 0xb6, /* * ** ** */
100 0x37, /* ** *** */
101 0x5f, /* * ***** */
102 0x5f, /* * ***** */
103 0x37, /* ** *** */
104 0xb6, /* * ** ** */
105 0xfe, /* ******* */
106 0x5e, /* * **** */
107 0x1c, /* *** */
108
109
110 /* Char 99 is 8px wide @ 77 */
111 0x98, /* * ** */
112 0x5c, /* * *** */
113 0xb6, /* * ** ** */
114 0x5f, /* * ***** */
115 0x5f, /* * ***** */
116 0xb6, /* * ** ** */
117 0x5c, /* * *** */
118 0x98, /* * ** */
119
120
121 };
122
123 /* Character descriptors */
124 const FONT_CHAR_INFO InvadersLengths[] = {
125 {11}, /* A */
126 {12}, /* B */
127 { 8}, /* C */
128 { 7}, /* P */
129 {16}, /* U */
130 {11}, /* a */
131 {12}, /* b */
132 { 8}, /* c */
133 };
134
135 const uint16_t InvadersExtra[] = {
136 80,85,97,98,99,65535
137 };
138
139 /* Font info */
140 const struct FONT_DEF Font_Invaders = {
141 0, /* width (1 == compressed) */
142 8, /* character height */
143 65, /* first char */
144 67, /* last char */
145 InvadersBitmaps, InvadersLengths, InvadersExtra
146 };
147
148 /* Font metadata:
149 * Name: Invaders
150 * Height: 8 px (1 bytes)
151 * Maximum width: 16 px
152 * Storage size: 93 bytes (uncompressed)
153 */
This page took 0.055495 seconds and 3 git commands to generate.