acidportal

- 😈 Worlds smallest Evil Portal on a LilyGo T-QT
git clone git://git.acid.vegas/acidportal.git
Log | Files | Refs | Archive | README | LICENSE

Font7srle.c (11087B)

      1 // Font 7
      2 //
      3 // This font has been 8 bit Run Length Encoded to save FLASH space
      4 //
      5 // This is a 7 segment font intended to display numbers and time
      6 // This font only contains characters [space] 0 1 2 3 4 5 6 7 8 9 : . -
      7 // All other characters print as a space
      8 
      9 
     10 PROGMEM const unsigned char widtbl_f7s[96] =          // character width table
     11 {
     12         12, 12, 12, 12, 12, 12, 12, 12,     // char 32 - 39
     13         12, 12, 12, 12, 12, 32, 12, 12,     // char 40 - 47
     14         32, 32, 32, 32, 32, 32, 32, 32,     // char 48 - 55
     15         32, 32, 12, 12, 12, 12, 12, 12,     // char 56 - 63
     16         12, 12, 12, 12, 12, 12, 12, 12,     // char 64 - 71
     17         12, 12, 12, 12, 12, 12, 12, 12,     // char 72 - 79
     18         12, 12, 12, 12, 12, 12, 12, 12,     // char 80 - 87
     19         12, 12, 12, 12, 12, 12, 12, 12,     // char 88 - 95
     20         12, 12, 12, 12, 12, 12, 12, 12,     // char 96 - 103
     21         12, 12, 12, 12, 12, 12, 12, 12,     // char 104 - 111
     22         12, 12, 12, 12, 12, 12, 12, 12,     // char 112 - 119
     23         12, 12, 12, 12, 12, 12, 12, 12      // char 120 - 127
     24 };
     25 
     26 // Row format, MSB left
     27 
     28 PROGMEM const unsigned char chr_f7s_20[] = 
     29 {
     30 0x7F, 0x7F, 0x7F, 0x7F, 0x3F
     31 };
     32 
     33 // Make - sign look like a segment
     34 PROGMEM const unsigned char chr_f7s_2D[] = 
     35 {
     36 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x27, 0x8E, 0x0E, 
     37 0x92, 0x0A, 0x96, 0x09, 0x94, 0x0C, 0x90, 0x7F, 
     38 0x7F, 0x7F, 0x7F, 0x7F, 0x47
     39 };
     40 
     41 PROGMEM const unsigned char chr_f7s_2E[] = 
     42 {
     43 0x7F, 0x7F, 0x7F, 0x7B, 0x82, 0x07, 0x84, 0x06, 
     44 0x84, 0x06, 0x84, 0x07, 0x82, 0x10
     45 };
     46 
     47 PROGMEM const unsigned char chr_f7s_30[] = 
     48 {
     49 0x27, 0x8E, 0x0F, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
     50 0x01, 0x80, 0x08, 0x81, 0x01, 0x8E, 0x01, 0x82, 
     51 0x06, 0x83, 0x10, 0x84, 0x04, 0x85, 0x0E, 0x85, 
     52 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
     53 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
     54 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
     55 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
     56 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
     57 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
     58 0x04, 0x84, 0x10, 0x84, 0x04, 0x82, 0x14, 0x82, 
     59 0x04, 0x80, 0x18, 0x80, 0x24, 0x80, 0x1E, 0x82, 
     60 0x15, 0x81, 0x04, 0x84, 0x11, 0x83, 0x04, 0x85, 
     61 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
     62 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
     63 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
     64 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
     65 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
     66 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
     67 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x05, 0x83, 
     68 0x10, 0x83, 0x07, 0x81, 0x01, 0x8E, 0x01, 0x81, 
     69 0x0B, 0x90, 0x0D, 0x92, 0x0D, 0x90, 0x0F, 0x8E, 
     70 0x28
     71 };
     72 
     73 PROGMEM const unsigned char chr_f7s_31[] = 
     74 {
     75 0x7F, 0x19, 0x80, 0x1D, 0x82, 0x1B, 0x84, 0x19, 
     76 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 
     77 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 
     78 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 
     79 0x85, 0x1A, 0x84, 0x1C, 0x82, 0x1E, 0x80, 0x5D, 
     80 0x81, 0x1B, 0x83, 0x19, 0x85, 0x19, 0x85, 0x19, 
     81 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 
     82 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 
     83 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x1A, 
     84 0x83, 0x1C, 0x81, 0x7F, 0x24
     85 };
     86 
     87 PROGMEM const unsigned char chr_f7s_32[] = 
     88 {
     89 0x27, 0x8E, 0x0F, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
     90 0x01, 0x80, 0x0C, 0x8E, 0x01, 0x82, 0x1B, 0x84, 
     91 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
     92 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
     93 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
     94 0x19, 0x85, 0x1A, 0x84, 0x0A, 0x8E, 0x02, 0x82, 
     95 0x08, 0x92, 0x02, 0x80, 0x06, 0x96, 0x06, 0x80, 
     96 0x01, 0x94, 0x07, 0x82, 0x01, 0x90, 0x09, 0x84, 
     97 0x1A, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
     98 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
     99 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    100 0x19, 0x85, 0x19, 0x85, 0x1A, 0x83, 0x1C, 0x81, 
    101 0x01, 0x8E, 0x0F, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
    102 0x0F, 0x8E, 0x28
    103 };
    104 
    105 PROGMEM const unsigned char chr_f7s_33[] = 
    106 {
    107 0x27, 0x8E, 0x0F, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
    108 0x01, 0x80, 0x0C, 0x8E, 0x01, 0x82, 0x1B, 0x84, 
    109 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    110 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    111 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    112 0x19, 0x85, 0x1A, 0x84, 0x0A, 0x8E, 0x02, 0x82, 
    113 0x08, 0x92, 0x02, 0x80, 0x06, 0x96, 0x09, 0x94, 
    114 0x0C, 0x90, 0x02, 0x81, 0x1B, 0x83, 0x19, 0x85, 
    115 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    116 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    117 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    118 0x19, 0x85, 0x1A, 0x83, 0x0B, 0x8E, 0x01, 0x81, 
    119 0x0B, 0x90, 0x0D, 0x92, 0x0D, 0x90, 0x0F, 0x8E, 
    120 0x28
    121 };
    122 
    123 PROGMEM const unsigned char chr_f7s_34[] = 
    124 {
    125 0x7F, 0x19, 0x80, 0x08, 0x81, 0x12, 0x82, 0x06, 
    126 0x83, 0x10, 0x84, 0x04, 0x85, 0x0E, 0x85, 0x04, 
    127 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 
    128 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 
    129 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 
    130 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 
    131 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 
    132 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 
    133 0x84, 0x10, 0x84, 0x04, 0x82, 0x02, 0x8E, 0x02, 
    134 0x82, 0x04, 0x80, 0x02, 0x92, 0x02, 0x80, 0x06, 
    135 0x96, 0x09, 0x94, 0x0C, 0x90, 0x02, 0x81, 0x1B, 
    136 0x83, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 
    137 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 
    138 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 
    139 0x85, 0x19, 0x85, 0x19, 0x85, 0x1A, 0x83, 0x1C, 
    140 0x81, 0x7F, 0x24
    141 };
    142 
    143 PROGMEM const unsigned char chr_f7s_35[] = 
    144 {
    145 0x27, 0x8E, 0x0F, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
    146 0x0B, 0x81, 0x01, 0x8E, 0x0B, 0x83, 0x1A, 0x85, 
    147 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    148 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    149 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    150 0x19, 0x84, 0x1A, 0x82, 0x02, 0x8E, 0x0A, 0x80, 
    151 0x02, 0x92, 0x0A, 0x96, 0x09, 0x94, 0x0C, 0x90, 
    152 0x02, 0x81, 0x1B, 0x83, 0x19, 0x85, 0x19, 0x85, 
    153 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    154 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    155 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    156 0x1A, 0x83, 0x0B, 0x8E, 0x01, 0x81, 0x0B, 0x90, 
    157 0x0D, 0x92, 0x0D, 0x90, 0x0F, 0x8E, 0x28
    158 };
    159 
    160 PROGMEM const unsigned char chr_f7s_36[] = 
    161 {
    162 0x27, 0x8E, 0x0F, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
    163 0x0B, 0x81, 0x01, 0x8E, 0x0B, 0x83, 0x1A, 0x85, 
    164 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    165 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    166 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    167 0x19, 0x84, 0x1A, 0x82, 0x02, 0x8E, 0x0A, 0x80, 
    168 0x02, 0x92, 0x0A, 0x96, 0x06, 0x80, 0x01, 0x94, 
    169 0x07, 0x82, 0x01, 0x90, 0x02, 0x81, 0x04, 0x84, 
    170 0x11, 0x83, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
    171 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
    172 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
    173 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
    174 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
    175 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
    176 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 
    177 0x0E, 0x85, 0x05, 0x83, 0x10, 0x83, 0x07, 0x81, 
    178 0x01, 0x8E, 0x01, 0x81, 0x0B, 0x90, 0x0D, 0x92, 
    179 0x0D, 0x90, 0x0F, 0x8E, 0x28
    180 };
    181 
    182 PROGMEM const unsigned char chr_f7s_37[] = 
    183 {
    184 0x27, 0x8E, 0x0F, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
    185 0x01, 0x80, 0x0C, 0x8E, 0x01, 0x82, 0x1B, 0x84, 
    186 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    187 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    188 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    189 0x19, 0x85, 0x1A, 0x84, 0x1C, 0x82, 0x1E, 0x80, 
    190 0x5D, 0x81, 0x1B, 0x83, 0x19, 0x85, 0x19, 0x85, 
    191 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    192 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    193 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    194 0x1A, 0x83, 0x1C, 0x81, 0x7F, 0x24
    195 };
    196 
    197 PROGMEM const unsigned char chr_f7s_38[] = 
    198 {
    199 0x27, 0x8E, 0x0F, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
    200 0x01, 0x80, 0x08, 0x81, 0x01, 0x8E, 0x01, 0x82, 
    201 0x06, 0x83, 0x10, 0x84, 0x04, 0x85, 0x0E, 0x85, 
    202 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    203 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    204 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    205 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    206 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    207 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    208 0x04, 0x84, 0x10, 0x84, 0x04, 0x82, 0x02, 0x8E, 
    209 0x02, 0x82, 0x04, 0x80, 0x02, 0x92, 0x02, 0x80, 
    210 0x06, 0x96, 0x06, 0x80, 0x01, 0x94, 0x07, 0x82, 
    211 0x01, 0x90, 0x02, 0x81, 0x04, 0x84, 0x11, 0x83, 
    212 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    213 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    214 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    215 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    216 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    217 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    218 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    219 0x05, 0x83, 0x10, 0x83, 0x07, 0x81, 0x01, 0x8E, 
    220 0x01, 0x81, 0x0B, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
    221 0x0F, 0x8E, 0x28
    222 };
    223 
    224 PROGMEM const unsigned char chr_f7s_39[] = 
    225 {
    226 0x27, 0x8E, 0x0F, 0x90, 0x0D, 0x92, 0x0D, 0x90, 
    227 0x01, 0x80, 0x08, 0x81, 0x01, 0x8E, 0x01, 0x82, 
    228 0x06, 0x83, 0x10, 0x84, 0x04, 0x85, 0x0E, 0x85, 
    229 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    230 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    231 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    232 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    233 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    234 0x04, 0x85, 0x0E, 0x85, 0x04, 0x85, 0x0E, 0x85, 
    235 0x04, 0x84, 0x10, 0x84, 0x04, 0x82, 0x02, 0x8E, 
    236 0x02, 0x82, 0x04, 0x80, 0x02, 0x92, 0x02, 0x80, 
    237 0x06, 0x96, 0x09, 0x94, 0x0C, 0x90, 0x02, 0x81, 
    238 0x1B, 0x83, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    239 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    240 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 
    241 0x19, 0x85, 0x19, 0x85, 0x19, 0x85, 0x1A, 0x83, 
    242 0x0B, 0x8E, 0x01, 0x81, 0x0B, 0x90, 0x0D, 0x92, 
    243 0x0D, 0x90, 0x0F, 0x8E, 0x28
    244 };
    245 
    246 PROGMEM const unsigned char chr_f7s_3A[] = 
    247 {
    248 0x7F, 0x1F, 0x82, 0x07, 0x84, 0x06, 0x84, 0x06, 
    249 0x84, 0x07, 0x82, 0x7F, 0x18, 0x82, 0x07, 0x84, 
    250 0x06, 0x84, 0x06, 0x84, 0x07, 0x82, 0x7F, 0x20
    251 };
    252 PROGMEM const unsigned char* const chrtbl_f7s[96] =        // character pointer table
    253 {
    254         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, 
    255         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_2D, chr_f7s_2E, chr_f7s_20, 
    256         chr_f7s_30, chr_f7s_31, chr_f7s_32, chr_f7s_33, chr_f7s_34, chr_f7s_35, chr_f7s_36, chr_f7s_37, 
    257         chr_f7s_38, chr_f7s_39, chr_f7s_3A, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20,
    258         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20,
    259         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20,
    260         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20,
    261         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20,
    262         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, 
    263         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, 
    264         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20,
    265         chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20, chr_f7s_20
    266 };