Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / examples / common / m5stack-tft / repo / tools / dejavuY.c
1 // This comes with no warranty, implied or otherwise\r
2 \r
3 // This data structure was designed to support Proportional fonts\r
4 // on Arduinos. It can however handle any ttf font that has been converted\r
5 // using the conversion program. These could be fixed width or proportional \r
6 // fonts. Individual characters do not have to be multiples of 8 bits wide. \r
7 // Any width is fine and does not need to be fixed.\r
8 \r
9 // The data bits are packed to minimize data requirements, but the tradeoff\r
10 // is that a header is required per character.\r
11 \r
12 // dejavuY.c\r
13 // Point Size   : 18\r
14 // Memory usage : 5 bytes\r
15 // # characters : 256\r
16 \r
17 // Header Format (to make Arduino UTFT Compatible):\r
18 // ------------------------------------------------\r
19 // Character Width (Used as a marker to indicate use this format. i.e.: = 0x00)\r
20 // Character Height\r
21 // First Character (Reserved. 0x00)\r
22 // Number Of Characters (Reserved. 0x00)\r
23 \r
24 #include <avr/pgmspace.h>\r
25 \r
26 uint8_t dejavuY18[] PROGMEM = \r
27 {\r
28 0x00, 0x00, 0x00, 0x00,\r
29 \r
30 // Individual Character Format:\r
31 // ----------------------------\r
32 // Character Code\r
33 // Adjusted Y Offset\r
34 // Width\r
35 // Height\r
36 // xOffset\r
37 // xDelta (the distance to move the cursor. Effective width of the character.)\r
38 // Data[n]\r
39 \r
40 // NOTE: You can remove any of these characters if they are not needed in\r
41 // your application. The first character number in each Glyph indicates\r
42 // the ASCII character code. Therefore, these do not have to be sequential.\r
43 // Just remove all the content for a particular character to save space.\r
44 \r
45 \r
46 // Terminator\r
47 0xFF\r
48 };