Fork of the latest Adafruit GFX Library as of 2017-12-13 to make it compatible with Mbed
Fonts/Tiny3x3a2pt7b@0:cc4253367fc7, 2017-12-13 (annotated)
- Committer:
- mjromeijn
- Date:
- Wed Dec 13 20:24:59 2017 +0000
- Revision:
- 0:cc4253367fc7
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mjromeijn | 0:cc4253367fc7 | 1 | /** |
mjromeijn | 0:cc4253367fc7 | 2 | ** The FontStruction “Tiny3x3a” |
mjromeijn | 0:cc4253367fc7 | 3 | ** (https://fontstruct.com/fontstructions/show/670512) by “Michaelangel007” is |
mjromeijn | 0:cc4253367fc7 | 4 | ** licensed under a Creative Commons Attribution Non-commercial Share Alike license |
mjromeijn | 0:cc4253367fc7 | 5 | ** (http://creativecommons.org/licenses/by-nc-sa/3.0/). |
mjromeijn | 0:cc4253367fc7 | 6 | ** “Tiny3x3a” was originally cloned (copied) from the FontStruction |
mjromeijn | 0:cc4253367fc7 | 7 | ** “CHECKER” (https://fontstruct.com/fontstructions/show/2391) by Wolf grant |
mjromeijn | 0:cc4253367fc7 | 8 | ** Grant, which is licensed under a Creative Commons Attribution Non-commercial |
mjromeijn | 0:cc4253367fc7 | 9 | ** Share Alike license (http://creativecommons.org/licenses/by-nc-sa/3.0/). |
mjromeijn | 0:cc4253367fc7 | 10 | * |
mjromeijn | 0:cc4253367fc7 | 11 | * Converted by eadmaster with fontconvert |
mjromeijn | 0:cc4253367fc7 | 12 | **/ |
mjromeijn | 0:cc4253367fc7 | 13 | |
mjromeijn | 0:cc4253367fc7 | 14 | const uint8_t Tiny3x3a2pt7bBitmaps[] PROGMEM = { |
mjromeijn | 0:cc4253367fc7 | 15 | 0xC0, 0xB4, 0xBF, 0x80, 0x6B, 0x00, 0xDD, 0x80, 0x59, 0x80, 0x80, 0x64, |
mjromeijn | 0:cc4253367fc7 | 16 | 0x98, 0xF0, 0x5D, 0x00, 0xC0, 0xE0, 0x80, 0x2A, 0x00, 0x55, 0x00, 0x94, |
mjromeijn | 0:cc4253367fc7 | 17 | 0xC9, 0x80, 0xEF, 0x80, 0xBC, 0x80, 0x6B, 0x00, 0x9F, 0x80, 0xE4, 0x80, |
mjromeijn | 0:cc4253367fc7 | 18 | 0x7F, 0x00, 0xFC, 0x80, 0xA0, 0x58, 0x64, 0xE3, 0x80, 0x98, 0xD8, 0xD8, |
mjromeijn | 0:cc4253367fc7 | 19 | 0x80, 0x5E, 0x80, 0xDF, 0x80, 0x71, 0x80, 0xD7, 0x00, 0xFB, 0x80, 0xFA, |
mjromeijn | 0:cc4253367fc7 | 20 | 0x00, 0xD7, 0x80, 0xBE, 0x80, 0xE0, 0x27, 0x00, 0xBA, 0x80, 0x93, 0x80, |
mjromeijn | 0:cc4253367fc7 | 21 | 0xFE, 0x80, 0xF6, 0x80, 0xF7, 0x80, 0xFE, 0x00, 0xF7, 0x00, 0xDE, 0x80, |
mjromeijn | 0:cc4253367fc7 | 22 | 0x6B, 0x00, 0xE9, 0x00, 0xB7, 0x80, 0xB5, 0x00, 0xBF, 0x80, 0xAA, 0x80, |
mjromeijn | 0:cc4253367fc7 | 23 | 0xA9, 0x00, 0xEB, 0x80, 0xEC, 0x88, 0x80, 0xDC, 0x54, 0xE0, 0x90, 0x70, |
mjromeijn | 0:cc4253367fc7 | 24 | 0xBC, 0xF0, 0x7C, 0xB0, 0x68, 0xFC, 0xBC, 0xC0, 0x58, 0x9A, 0x80, 0xA4, |
mjromeijn | 0:cc4253367fc7 | 25 | 0xDC, 0xD4, 0xF0, 0xF8, 0xF4, 0xE0, 0x60, 0x59, 0x80, 0xBC, 0xA8, 0xEC, |
mjromeijn | 0:cc4253367fc7 | 26 | 0xF0, 0xAC, 0x80, 0x90, 0x79, 0x80, 0xF0, 0xCF, 0x00, 0x78 }; |
mjromeijn | 0:cc4253367fc7 | 27 | |
mjromeijn | 0:cc4253367fc7 | 28 | const GFXglyph Tiny3x3a2pt7bGlyphs[] PROGMEM = { |
mjromeijn | 0:cc4253367fc7 | 29 | { 0, 0, 0, 4, 0, 1 }, // 0x20 ' ' |
mjromeijn | 0:cc4253367fc7 | 30 | { 0, 1, 2, 3, 1, -2 }, // 0x21 '!' |
mjromeijn | 0:cc4253367fc7 | 31 | { 1, 3, 2, 4, 0, -2 }, // 0x22 '"' |
mjromeijn | 0:cc4253367fc7 | 32 | { 2, 3, 3, 4, 0, -2 }, // 0x23 '#' |
mjromeijn | 0:cc4253367fc7 | 33 | { 4, 3, 3, 4, 0, -2 }, // 0x24 '$' |
mjromeijn | 0:cc4253367fc7 | 34 | { 6, 3, 3, 4, 0, -2 }, // 0x25 '%' |
mjromeijn | 0:cc4253367fc7 | 35 | { 8, 3, 3, 4, 0, -2 }, // 0x26 '&' |
mjromeijn | 0:cc4253367fc7 | 36 | { 10, 1, 1, 3, 1, -2 }, // 0x27 ''' |
mjromeijn | 0:cc4253367fc7 | 37 | { 11, 2, 3, 3, 0, -2 }, // 0x28 '(' |
mjromeijn | 0:cc4253367fc7 | 38 | { 12, 2, 3, 4, 1, -2 }, // 0x29 ')' |
mjromeijn | 0:cc4253367fc7 | 39 | { 13, 2, 2, 4, 1, -2 }, // 0x2A '*' |
mjromeijn | 0:cc4253367fc7 | 40 | { 14, 3, 3, 4, 0, -2 }, // 0x2B '+' |
mjromeijn | 0:cc4253367fc7 | 41 | { 16, 1, 2, 2, 0, 0 }, // 0x2C ',' |
mjromeijn | 0:cc4253367fc7 | 42 | { 17, 3, 1, 4, 0, -1 }, // 0x2D '-' |
mjromeijn | 0:cc4253367fc7 | 43 | { 18, 1, 1, 2, 0, 0 }, // 0x2E '.' |
mjromeijn | 0:cc4253367fc7 | 44 | { 19, 3, 3, 4, 0, -2 }, // 0x2F '/' |
mjromeijn | 0:cc4253367fc7 | 45 | { 21, 3, 3, 4, 0, -2 }, // 0x30 '0' |
mjromeijn | 0:cc4253367fc7 | 46 | { 23, 2, 3, 3, 0, -2 }, // 0x31 '1' |
mjromeijn | 0:cc4253367fc7 | 47 | { 24, 3, 3, 4, 0, -2 }, // 0x32 '2' |
mjromeijn | 0:cc4253367fc7 | 48 | { 26, 3, 3, 4, 0, -2 }, // 0x33 '3' |
mjromeijn | 0:cc4253367fc7 | 49 | { 28, 3, 3, 4, 0, -2 }, // 0x34 '4' |
mjromeijn | 0:cc4253367fc7 | 50 | { 30, 3, 3, 4, 0, -2 }, // 0x35 '5' |
mjromeijn | 0:cc4253367fc7 | 51 | { 32, 3, 3, 4, 0, -2 }, // 0x36 '6' |
mjromeijn | 0:cc4253367fc7 | 52 | { 34, 3, 3, 4, 0, -2 }, // 0x37 '7' |
mjromeijn | 0:cc4253367fc7 | 53 | { 36, 3, 3, 4, 0, -2 }, // 0x38 '8' |
mjromeijn | 0:cc4253367fc7 | 54 | { 38, 3, 3, 4, 0, -2 }, // 0x39 '9' |
mjromeijn | 0:cc4253367fc7 | 55 | { 40, 1, 3, 3, 1, -2 }, // 0x3A ':' |
mjromeijn | 0:cc4253367fc7 | 56 | { 41, 2, 3, 3, 0, -1 }, // 0x3B ';' |
mjromeijn | 0:cc4253367fc7 | 57 | { 42, 2, 3, 3, 0, -2 }, // 0x3C '<' |
mjromeijn | 0:cc4253367fc7 | 58 | { 43, 3, 3, 4, 0, -2 }, // 0x3D '=' |
mjromeijn | 0:cc4253367fc7 | 59 | { 45, 2, 3, 4, 1, -2 }, // 0x3E '>' |
mjromeijn | 0:cc4253367fc7 | 60 | { 46, 2, 3, 4, 1, -2 }, // 0x3F '?' |
mjromeijn | 0:cc4253367fc7 | 61 | { 47, 3, 3, 4, 0, -2 }, // 0x40 '@' |
mjromeijn | 0:cc4253367fc7 | 62 | { 49, 3, 3, 4, 0, -2 }, // 0x41 'A' |
mjromeijn | 0:cc4253367fc7 | 63 | { 51, 3, 3, 4, 0, -2 }, // 0x42 'B' |
mjromeijn | 0:cc4253367fc7 | 64 | { 53, 3, 3, 4, 0, -2 }, // 0x43 'C' |
mjromeijn | 0:cc4253367fc7 | 65 | { 55, 3, 3, 4, 0, -2 }, // 0x44 'D' |
mjromeijn | 0:cc4253367fc7 | 66 | { 57, 3, 3, 4, 0, -2 }, // 0x45 'E' |
mjromeijn | 0:cc4253367fc7 | 67 | { 59, 3, 3, 4, 0, -2 }, // 0x46 'F' |
mjromeijn | 0:cc4253367fc7 | 68 | { 61, 3, 3, 4, 0, -2 }, // 0x47 'G' |
mjromeijn | 0:cc4253367fc7 | 69 | { 63, 3, 3, 4, 0, -2 }, // 0x48 'H' |
mjromeijn | 0:cc4253367fc7 | 70 | { 65, 1, 3, 3, 1, -2 }, // 0x49 'I' |
mjromeijn | 0:cc4253367fc7 | 71 | { 66, 3, 3, 4, 0, -2 }, // 0x4A 'J' |
mjromeijn | 0:cc4253367fc7 | 72 | { 68, 3, 3, 4, 0, -2 }, // 0x4B 'K' |
mjromeijn | 0:cc4253367fc7 | 73 | { 70, 3, 3, 4, 0, -2 }, // 0x4C 'L' |
mjromeijn | 0:cc4253367fc7 | 74 | { 72, 3, 3, 4, 0, -2 }, // 0x4D 'M' |
mjromeijn | 0:cc4253367fc7 | 75 | { 74, 3, 3, 4, 0, -2 }, // 0x4E 'N' |
mjromeijn | 0:cc4253367fc7 | 76 | { 76, 3, 3, 4, 0, -2 }, // 0x4F 'O' |
mjromeijn | 0:cc4253367fc7 | 77 | { 78, 3, 3, 4, 0, -2 }, // 0x50 'P' |
mjromeijn | 0:cc4253367fc7 | 78 | { 80, 3, 3, 4, 0, -2 }, // 0x51 'Q' |
mjromeijn | 0:cc4253367fc7 | 79 | { 82, 3, 3, 4, 0, -2 }, // 0x52 'R' |
mjromeijn | 0:cc4253367fc7 | 80 | { 84, 3, 3, 4, 0, -2 }, // 0x53 'S' |
mjromeijn | 0:cc4253367fc7 | 81 | { 86, 3, 3, 4, 0, -2 }, // 0x54 'T' |
mjromeijn | 0:cc4253367fc7 | 82 | { 88, 3, 3, 4, 0, -2 }, // 0x55 'U' |
mjromeijn | 0:cc4253367fc7 | 83 | { 90, 3, 3, 4, 0, -2 }, // 0x56 'V' |
mjromeijn | 0:cc4253367fc7 | 84 | { 92, 3, 3, 4, 0, -2 }, // 0x57 'W' |
mjromeijn | 0:cc4253367fc7 | 85 | { 94, 3, 3, 4, 0, -2 }, // 0x58 'X' |
mjromeijn | 0:cc4253367fc7 | 86 | { 96, 3, 3, 4, 0, -2 }, // 0x59 'Y' |
mjromeijn | 0:cc4253367fc7 | 87 | { 98, 3, 3, 4, 0, -2 }, // 0x5A 'Z' |
mjromeijn | 0:cc4253367fc7 | 88 | { 100, 2, 3, 3, 0, -2 }, // 0x5B '[' |
mjromeijn | 0:cc4253367fc7 | 89 | { 101, 3, 3, 4, 0, -2 }, // 0x5C '\' |
mjromeijn | 0:cc4253367fc7 | 90 | { 103, 2, 3, 4, 1, -2 }, // 0x5D ']' |
mjromeijn | 0:cc4253367fc7 | 91 | { 104, 3, 2, 4, 0, -2 }, // 0x5E '^' |
mjromeijn | 0:cc4253367fc7 | 92 | { 105, 3, 1, 4, 0, 0 }, // 0x5F '_' |
mjromeijn | 0:cc4253367fc7 | 93 | { 106, 2, 2, 3, 0, -2 }, // 0x60 '`' |
mjromeijn | 0:cc4253367fc7 | 94 | { 107, 2, 2, 3, 0, -1 }, // 0x61 'a' |
mjromeijn | 0:cc4253367fc7 | 95 | { 108, 2, 3, 3, 0, -2 }, // 0x62 'b' |
mjromeijn | 0:cc4253367fc7 | 96 | { 109, 2, 2, 3, 0, -1 }, // 0x63 'c' |
mjromeijn | 0:cc4253367fc7 | 97 | { 110, 2, 3, 3, 0, -2 }, // 0x64 'd' |
mjromeijn | 0:cc4253367fc7 | 98 | { 111, 2, 2, 3, 0, -1 }, // 0x65 'e' |
mjromeijn | 0:cc4253367fc7 | 99 | { 112, 2, 3, 3, 0, -2 }, // 0x66 'f' |
mjromeijn | 0:cc4253367fc7 | 100 | { 113, 2, 3, 3, 0, -1 }, // 0x67 'g' |
mjromeijn | 0:cc4253367fc7 | 101 | { 114, 2, 3, 3, 0, -2 }, // 0x68 'h' |
mjromeijn | 0:cc4253367fc7 | 102 | { 115, 1, 2, 2, 0, -1 }, // 0x69 'i' |
mjromeijn | 0:cc4253367fc7 | 103 | { 116, 2, 3, 3, 0, -1 }, // 0x6A 'j' |
mjromeijn | 0:cc4253367fc7 | 104 | { 117, 3, 3, 4, 0, -2 }, // 0x6B 'k' |
mjromeijn | 0:cc4253367fc7 | 105 | { 119, 2, 3, 3, 0, -2 }, // 0x6C 'l' |
mjromeijn | 0:cc4253367fc7 | 106 | { 120, 3, 2, 4, 0, -1 }, // 0x6D 'm' |
mjromeijn | 0:cc4253367fc7 | 107 | { 121, 3, 2, 4, 0, -1 }, // 0x6E 'n' |
mjromeijn | 0:cc4253367fc7 | 108 | { 122, 2, 2, 3, 0, -1 }, // 0x6F 'o' |
mjromeijn | 0:cc4253367fc7 | 109 | { 123, 2, 3, 3, 0, -1 }, // 0x70 'p' |
mjromeijn | 0:cc4253367fc7 | 110 | { 124, 2, 3, 3, 0, -1 }, // 0x71 'q' |
mjromeijn | 0:cc4253367fc7 | 111 | { 125, 2, 2, 3, 0, -1 }, // 0x72 'r' |
mjromeijn | 0:cc4253367fc7 | 112 | { 126, 2, 2, 3, 0, -1 }, // 0x73 's' |
mjromeijn | 0:cc4253367fc7 | 113 | { 127, 3, 3, 4, 0, -2 }, // 0x74 't' |
mjromeijn | 0:cc4253367fc7 | 114 | { 129, 3, 2, 4, 0, -1 }, // 0x75 'u' |
mjromeijn | 0:cc4253367fc7 | 115 | { 130, 3, 2, 4, 0, -1 }, // 0x76 'v' |
mjromeijn | 0:cc4253367fc7 | 116 | { 131, 3, 2, 4, 0, -1 }, // 0x77 'w' |
mjromeijn | 0:cc4253367fc7 | 117 | { 132, 2, 2, 3, 0, -1 }, // 0x78 'x' |
mjromeijn | 0:cc4253367fc7 | 118 | { 133, 3, 3, 4, 0, -1 }, // 0x79 'y' |
mjromeijn | 0:cc4253367fc7 | 119 | { 135, 2, 2, 3, 0, -1 }, // 0x7A 'z' |
mjromeijn | 0:cc4253367fc7 | 120 | { 136, 3, 3, 4, 0, -2 }, // 0x7B '{' |
mjromeijn | 0:cc4253367fc7 | 121 | { 138, 1, 4, 3, 1, -2 }, // 0x7C '|' |
mjromeijn | 0:cc4253367fc7 | 122 | { 139, 3, 3, 4, 0, -2 }, // 0x7D '}' |
mjromeijn | 0:cc4253367fc7 | 123 | { 141, 3, 2, 4, 0, -2 } }; // 0x7E '~' |
mjromeijn | 0:cc4253367fc7 | 124 | |
mjromeijn | 0:cc4253367fc7 | 125 | const GFXfont Tiny3x3a2pt7b PROGMEM = { |
mjromeijn | 0:cc4253367fc7 | 126 | (uint8_t *)Tiny3x3a2pt7bBitmaps, |
mjromeijn | 0:cc4253367fc7 | 127 | (GFXglyph *)Tiny3x3a2pt7bGlyphs, |
mjromeijn | 0:cc4253367fc7 | 128 | 0x20, 0x7E, 4 }; |
mjromeijn | 0:cc4253367fc7 | 129 | |
mjromeijn | 0:cc4253367fc7 | 130 | // Approx. 814 bytes |