1 /******************************************************************************* 2 * Size: 16 px 3 * Bpp: 1 4 * Opts: --no-compress --no-prefilter --bpp 1 --size 16 --font unscii-8.ttf -r 0x20-0x7F --format lvgl -o lv_font_unscii_16.c --force-fast-kern-format 5 ******************************************************************************/ 6 7 #ifdef LV_LVGL_H_INCLUDE_SIMPLE 8 #include "lvgl.h" 9 #else 10 #include "../../lvgl.h" 11 #endif 12 13 #ifndef LV_FONT_UNSCII_16 14 #define LV_FONT_UNSCII_16 1 15 #endif 16 17 #if LV_FONT_UNSCII_16 18 19 /*----------------- 20 * BITMAPS 21 *----------------*/ 22 23 /*Store the image of the glyphs*/ 24 static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = { 25 /* U+0020 " " */ 26 0x0, 27 28 /* U+0021 "!" */ 29 0xff, 0xff, 0xff, 0xff, 0xff, 0x0, 0xff, 30 31 /* U+0022 "\"" */ 32 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 33 0xf, 34 35 /* U+0023 "#" */ 36 0x3c, 0xf0, 0xf3, 0xc3, 0xcf, 0xf, 0x3c, 0xff, 37 0xff, 0xff, 0xf3, 0xcf, 0xf, 0x3c, 0xff, 0xff, 38 0xff, 0xf3, 0xcf, 0xf, 0x3c, 0x3c, 0xf0, 0xf3, 39 0xc0, 40 41 /* U+0024 "$" */ 42 0xf, 0x0, 0xf0, 0x3f, 0xf3, 0xff, 0xf0, 0xf, 43 0x0, 0x3f, 0xc3, 0xfc, 0x0, 0xf0, 0xf, 0xff, 44 0xcf, 0xfc, 0xf, 0x0, 0xf0, 45 46 /* U+0025 "%" */ 47 0xf0, 0x3f, 0xc0, 0xff, 0xf, 0x3c, 0x3c, 0x3, 48 0xc0, 0xf, 0x0, 0xf0, 0x3, 0xc0, 0x3c, 0x3c, 49 0xf0, 0xff, 0x3, 0xfc, 0xf, 50 51 /* U+0026 "&" */ 52 0xf, 0xc0, 0x3f, 0x3, 0xcf, 0xf, 0x3c, 0xf, 53 0xc0, 0x3f, 0x3, 0xf3, 0xcf, 0xcf, 0xf3, 0xf3, 54 0xcf, 0xcf, 0xf, 0x3c, 0x3c, 0x3f, 0x3c, 0xfc, 55 0xf0, 56 57 /* U+0027 "'" */ 58 0x3c, 0xf3, 0xcf, 0xf3, 0xc0, 59 60 /* U+0028 "(" */ 61 0xf, 0xf, 0x3c, 0x3c, 0xf0, 0xf0, 0xf0, 0xf0, 62 0xf0, 0xf0, 0x3c, 0x3c, 0xf, 0xf, 63 64 /* U+0029 ")" */ 65 0xf0, 0xf0, 0x3c, 0x3c, 0xf, 0xf, 0xf, 0xf, 66 0xf, 0xf, 0x3c, 0x3c, 0xf0, 0xf0, 67 68 /* U+002A "*" */ 69 0x3c, 0x3c, 0x3c, 0x3c, 0xf, 0xf0, 0xf, 0xf0, 70 0xff, 0xff, 0xff, 0xff, 0xf, 0xf0, 0xf, 0xf0, 71 0x3c, 0x3c, 0x3c, 0x3c, 72 73 /* U+002B "+" */ 74 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xff, 0xff, 75 0xff, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 76 77 /* U+002C "," */ 78 0x3c, 0xf3, 0xcf, 0xf3, 0xc0, 79 80 /* U+002D "-" */ 81 0xff, 0xff, 0xff, 82 83 /* U+002E "." */ 84 0xff, 0xff, 85 86 /* U+002F "/" */ 87 0x0, 0xf, 0x0, 0xf, 0x0, 0x3c, 0x0, 0x3c, 88 0x0, 0xf0, 0x0, 0xf0, 0x3, 0xc0, 0x3, 0xc0, 89 0xf, 0x0, 0xf, 0x0, 0x3c, 0x0, 0x3c, 0x0, 90 0xf0, 0x0, 0xf0, 0x0, 91 92 /* U+0030 "0" */ 93 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf3, 0xff, 94 0x3f, 0xfc, 0xff, 0xcf, 0xf0, 0xff, 0xf, 0xf0, 95 0xff, 0xf, 0x3f, 0xc3, 0xfc, 96 97 /* U+0031 "1" */ 98 0xf, 0x0, 0xf0, 0x3f, 0x3, 0xf0, 0xf, 0x0, 99 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 100 0x0, 0xf0, 0xff, 0xff, 0xff, 101 102 /* U+0032 "2" */ 103 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0x3, 0xc0, 104 0x3c, 0xf, 0x0, 0xf0, 0x3c, 0x3, 0xc0, 0xf0, 105 0xf, 0x0, 0xff, 0xff, 0xff, 106 107 /* U+0033 "3" */ 108 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0x0, 0xf0, 109 0xf, 0xf, 0xc0, 0xfc, 0x0, 0xf0, 0xf, 0xf0, 110 0xff, 0xf, 0x3f, 0xc3, 0xfc, 111 112 /* U+0034 "4" */ 113 0x3, 0xf0, 0xf, 0xc0, 0xff, 0x3, 0xfc, 0x3c, 114 0xf0, 0xf3, 0xcf, 0xf, 0x3c, 0x3c, 0xff, 0xff, 115 0xff, 0xf0, 0xf, 0x0, 0x3c, 0x0, 0xf0, 0x3, 116 0xc0, 117 118 /* U+0035 "5" */ 119 0xff, 0xff, 0xff, 0xf0, 0xf, 0x0, 0xff, 0xcf, 120 0xfc, 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 0xf0, 121 0xff, 0xf, 0x3f, 0xc3, 0xfc, 122 123 /* U+0036 "6" */ 124 0xf, 0xc0, 0xfc, 0x3c, 0x3, 0xc0, 0xf0, 0xf, 125 0x0, 0xff, 0xcf, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 126 0xff, 0xf, 0x3f, 0xc3, 0xfc, 127 128 /* U+0037 "7" */ 129 0xff, 0xff, 0xff, 0x0, 0xf0, 0xf, 0x0, 0xf0, 130 0xf, 0x3, 0xc0, 0x3c, 0xf, 0x0, 0xf0, 0xf, 131 0x0, 0xf0, 0xf, 0x0, 0xf0, 132 133 /* U+0038 "8" */ 134 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 135 0xf, 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 136 0xff, 0xf, 0x3f, 0xc3, 0xfc, 137 138 /* U+0039 "9" */ 139 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 140 0xf, 0x3f, 0xf3, 0xff, 0x0, 0xf0, 0xf, 0x3, 141 0xc0, 0x3c, 0x3f, 0x3, 0xf0, 142 143 /* U+003A ":" */ 144 0xff, 0xff, 0x0, 0x0, 0xff, 0xff, 145 146 /* U+003B ";" */ 147 0x3c, 0xf3, 0xcf, 0x0, 0x0, 0x0, 0x3c, 0xf3, 148 0xcf, 0xf3, 0xc0, 149 150 /* U+003C "<" */ 151 0x3, 0xc0, 0xf0, 0xf0, 0x3c, 0x3c, 0xf, 0xf, 152 0x3, 0xc0, 0x3c, 0xf, 0x0, 0xf0, 0x3c, 0x3, 153 0xc0, 0xf0, 154 155 /* U+003D "=" */ 156 0xff, 0xff, 0xff, 0x0, 0x0, 0x0, 0xff, 0xff, 157 0xff, 158 159 /* U+003E ">" */ 160 0xf0, 0x3c, 0x3, 0xc0, 0xf0, 0xf, 0x3, 0xc0, 161 0x3c, 0xf, 0xf, 0x3, 0xc3, 0xc0, 0xf0, 0xf0, 162 0x3c, 0x0, 163 164 /* U+003F "?" */ 165 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0x0, 0xf0, 166 0xf, 0x3, 0xc0, 0x3c, 0xf, 0x0, 0xf0, 0x0, 167 0x0, 0x0, 0xf, 0x0, 0xf0, 168 169 /* U+0040 "@" */ 170 0x3f, 0xf0, 0xff, 0xcf, 0x3, 0xfc, 0xf, 0xf3, 171 0xff, 0xcf, 0xff, 0x3f, 0xfc, 0xff, 0xf3, 0xff, 172 0xcf, 0xff, 0x0, 0x3c, 0x0, 0x3f, 0xf0, 0xff, 173 0xc0, 174 175 /* U+0041 "A" */ 176 0xf, 0x0, 0xf0, 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 177 0xf, 0xf0, 0xff, 0xf, 0xff, 0xff, 0xff, 0xf0, 178 0xff, 0xf, 0xf0, 0xff, 0xf, 179 180 /* U+0042 "B" */ 181 0xff, 0xcf, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 182 0xf, 0xff, 0xcf, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 183 0xff, 0xf, 0xff, 0xcf, 0xfc, 184 185 /* U+0043 "C" */ 186 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xf, 187 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 188 0xff, 0xf, 0x3f, 0xc3, 0xfc, 189 190 /* U+0044 "D" */ 191 0xff, 0xf, 0xf0, 0xf3, 0xcf, 0x3c, 0xf0, 0xff, 192 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf3, 193 0xcf, 0x3c, 0xff, 0xf, 0xf0, 194 195 /* U+0045 "E" */ 196 0xff, 0xff, 0xff, 0xf0, 0xf, 0x0, 0xf0, 0xf, 197 0x0, 0xff, 0xcf, 0xfc, 0xf0, 0xf, 0x0, 0xf0, 198 0xf, 0x0, 0xff, 0xff, 0xff, 199 200 /* U+0046 "F" */ 201 0xff, 0xff, 0xff, 0xf0, 0xf, 0x0, 0xf0, 0xf, 202 0x0, 0xff, 0xcf, 0xfc, 0xf0, 0xf, 0x0, 0xf0, 203 0xf, 0x0, 0xf0, 0xf, 0x0, 204 205 /* U+0047 "G" */ 206 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xf, 207 0x0, 0xf3, 0xff, 0x3f, 0xf0, 0xff, 0xf, 0xf0, 208 0xff, 0xf, 0x3f, 0xf3, 0xff, 209 210 /* U+0048 "H" */ 211 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 212 0xf, 0xff, 0xff, 0xff, 0xf0, 0xff, 0xf, 0xf0, 213 0xff, 0xf, 0xf0, 0xff, 0xf, 214 215 /* U+0049 "I" */ 216 0xff, 0xff, 0xff, 0xf, 0x0, 0xf0, 0xf, 0x0, 217 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 218 0x0, 0xf0, 0xff, 0xff, 0xff, 219 220 /* U+004A "J" */ 221 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 222 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 0xf0, 223 0xff, 0xf, 0x3f, 0xc3, 0xfc, 224 225 /* U+004B "K" */ 226 0xf0, 0x3f, 0xc0, 0xff, 0xf, 0x3c, 0x3c, 0xf3, 227 0xc3, 0xcf, 0xf, 0xf0, 0x3f, 0xc0, 0xf3, 0xc3, 228 0xcf, 0xf, 0xf, 0x3c, 0x3c, 0xf0, 0x3f, 0xc0, 229 0xf0, 230 231 /* U+004C "L" */ 232 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 233 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 234 0xf, 0x0, 0xff, 0xff, 0xff, 235 236 /* U+004D "M" */ 237 0xf0, 0x3f, 0xc0, 0xff, 0xcf, 0xff, 0x3f, 0xff, 238 0xff, 0xff, 0xff, 0x33, 0xfc, 0xcf, 0xf0, 0x3f, 239 0xc0, 0xff, 0x3, 0xfc, 0xf, 0xf0, 0x3f, 0xc0, 240 0xf0, 241 242 /* U+004E "N" */ 243 0xf0, 0x3f, 0xc0, 0xff, 0xc3, 0xff, 0xf, 0xff, 244 0x3f, 0xfc, 0xff, 0x3f, 0xfc, 0xff, 0xf0, 0xff, 245 0xc3, 0xff, 0x3, 0xfc, 0xf, 0xf0, 0x3f, 0xc0, 246 0xf0, 247 248 /* U+004F "O" */ 249 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 250 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 251 0xff, 0xf, 0x3f, 0xc3, 0xfc, 252 253 /* U+0050 "P" */ 254 0xff, 0xcf, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 255 0xf, 0xff, 0xcf, 0xfc, 0xf0, 0xf, 0x0, 0xf0, 256 0xf, 0x0, 0xf0, 0xf, 0x0, 257 258 /* U+0051 "Q" */ 259 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 260 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf3, 261 0xcf, 0x3c, 0x3c, 0xf3, 0xcf, 262 263 /* U+0052 "R" */ 264 0xff, 0xcf, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 265 0xf, 0xff, 0xcf, 0xfc, 0xf3, 0xcf, 0x3c, 0xf0, 266 0xff, 0xf, 0xf0, 0xff, 0xf, 267 268 /* U+0053 "S" */ 269 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xf, 270 0x0, 0x3f, 0xc3, 0xfc, 0x0, 0xf0, 0xf, 0xf0, 271 0xff, 0xf, 0x3f, 0xc3, 0xfc, 272 273 /* U+0054 "T" */ 274 0xff, 0xff, 0xff, 0xf, 0x0, 0xf0, 0xf, 0x0, 275 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 276 0x0, 0xf0, 0xf, 0x0, 0xf0, 277 278 /* U+0055 "U" */ 279 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 280 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 281 0xff, 0xf, 0x3f, 0xc3, 0xfc, 282 283 /* U+0056 "V" */ 284 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 285 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0x3f, 286 0xc3, 0xfc, 0xf, 0x0, 0xf0, 287 288 /* U+0057 "W" */ 289 0xf0, 0x3f, 0xc0, 0xff, 0x3, 0xfc, 0xf, 0xf0, 290 0x3f, 0xc0, 0xff, 0x33, 0xfc, 0xcf, 0xff, 0xff, 291 0xff, 0xff, 0xcf, 0xff, 0x3f, 0xf0, 0x3f, 0xc0, 292 0xf0, 293 294 /* U+0058 "X" */ 295 0xf0, 0xf, 0xf0, 0xf, 0x3c, 0x3c, 0x3c, 0x3c, 296 0xf, 0xf0, 0xf, 0xf0, 0x3, 0xc0, 0x3, 0xc0, 297 0xf, 0xf0, 0xf, 0xf0, 0x3c, 0x3c, 0x3c, 0x3c, 298 0xf0, 0xf, 0xf0, 0xf, 299 300 /* U+0059 "Y" */ 301 0xf0, 0xf, 0xf0, 0xf, 0x3c, 0x3c, 0x3c, 0x3c, 302 0xf, 0xf0, 0xf, 0xf0, 0x3, 0xc0, 0x3, 0xc0, 303 0x3, 0xc0, 0x3, 0xc0, 0x3, 0xc0, 0x3, 0xc0, 304 0x3, 0xc0, 0x3, 0xc0, 305 306 /* U+005A "Z" */ 307 0xff, 0xff, 0xff, 0x0, 0xf0, 0xf, 0x3, 0xc0, 308 0x3c, 0xf, 0x0, 0xf0, 0x3c, 0x3, 0xc0, 0xf0, 309 0xf, 0x0, 0xff, 0xff, 0xff, 310 311 /* U+005B "[" */ 312 0xff, 0xff, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 313 0xf0, 0xf0, 0xf0, 0xf0, 0xff, 0xff, 314 315 /* U+005C "\\" */ 316 0xf0, 0x0, 0xf0, 0x0, 0x3c, 0x0, 0x3c, 0x0, 317 0xf, 0x0, 0xf, 0x0, 0x3, 0xc0, 0x3, 0xc0, 318 0x0, 0xf0, 0x0, 0xf0, 0x0, 0x3c, 0x0, 0x3c, 319 0x0, 0xf, 0x0, 0xf, 320 321 /* U+005D "]" */ 322 0xff, 0xff, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 323 0xf, 0xf, 0xf, 0xf, 0xff, 0xff, 324 325 /* U+005E "^" */ 326 0x3, 0x0, 0xc, 0x0, 0xfc, 0x3, 0xf0, 0x3c, 327 0xf0, 0xf3, 0xcf, 0x3, 0xfc, 0xf, 328 329 /* U+005F "_" */ 330 0xff, 0xff, 0xff, 0xff, 331 332 /* U+0060 "`" */ 333 0xf0, 0xf0, 0x3c, 0x3c, 0xf, 0xf, 334 335 /* U+0061 "a" */ 336 0x3f, 0xc3, 0xfc, 0x0, 0xf0, 0xf, 0x3f, 0xf3, 337 0xff, 0xf0, 0xff, 0xf, 0x3f, 0xf3, 0xff, 338 339 /* U+0062 "b" */ 340 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xff, 0xcf, 341 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 342 0xff, 0xf, 0xff, 0xcf, 0xfc, 343 344 /* U+0063 "c" */ 345 0x3f, 0xcf, 0xff, 0x3, 0xc0, 0xf0, 0x3c, 0xf, 346 0x3, 0xc0, 0x3f, 0xcf, 0xf0, 347 348 /* U+0064 "d" */ 349 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x3f, 0xf3, 350 0xff, 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 351 0xff, 0xf, 0x3f, 0xf3, 0xff, 352 353 /* U+0065 "e" */ 354 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xff, 0xff, 355 0xff, 0xf0, 0xf, 0x0, 0x3f, 0xc3, 0xfc, 356 357 /* U+0066 "f" */ 358 0xf, 0xc3, 0xf3, 0xc0, 0xf0, 0xff, 0xff, 0xf3, 359 0xc0, 0xf0, 0x3c, 0xf, 0x3, 0xc0, 0xf0, 0x3c, 360 0xf, 0x0, 361 362 /* U+0067 "g" */ 363 0x3f, 0xf3, 0xff, 0xf0, 0xff, 0xf, 0xf0, 0xff, 364 0xf, 0x3f, 0xf3, 0xff, 0x0, 0xf0, 0xf, 0xff, 365 0xcf, 0xfc, 366 367 /* U+0068 "h" */ 368 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xff, 0xcf, 369 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 370 0xff, 0xf, 0xf0, 0xff, 0xf, 371 372 /* U+0069 "i" */ 373 0x3c, 0xf, 0x0, 0x0, 0x0, 0xfc, 0x3f, 0x3, 374 0xc0, 0xf0, 0x3c, 0xf, 0x3, 0xc0, 0xf0, 0x3f, 375 0xcf, 0xf0, 376 377 /* U+006A "j" */ 378 0x3, 0xc0, 0xf0, 0x0, 0x0, 0x3, 0xc0, 0xf0, 379 0x3c, 0xf, 0x3, 0xc0, 0xf0, 0x3c, 0xf, 0x3, 380 0xc0, 0xff, 0xf3, 0xfc, 381 382 /* U+006B "k" */ 383 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xff, 384 0xf, 0xf3, 0xcf, 0x3c, 0xff, 0xf, 0xf0, 0xf3, 385 0xcf, 0x3c, 0xf0, 0xff, 0xf, 386 387 /* U+006C "l" */ 388 0xfc, 0x3f, 0x3, 0xc0, 0xf0, 0x3c, 0xf, 0x3, 389 0xc0, 0xf0, 0x3c, 0xf, 0x3, 0xc0, 0xf0, 0x3f, 390 0xcf, 0xf0, 391 392 /* U+006D "m" */ 393 0xf0, 0xf3, 0xc3, 0xcf, 0xff, 0xff, 0xff, 0xf3, 394 0x3f, 0xcc, 0xff, 0x33, 0xfc, 0xcf, 0xf0, 0x3f, 395 0xc0, 0xf0, 396 397 /* U+006E "n" */ 398 0xff, 0xcf, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 399 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 400 401 /* U+006F "o" */ 402 0x3f, 0xc3, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 403 0xf, 0xf0, 0xff, 0xf, 0x3f, 0xc3, 0xfc, 404 405 /* U+0070 "p" */ 406 0xff, 0xcf, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xff, 407 0xf, 0xff, 0xcf, 0xfc, 0xf0, 0xf, 0x0, 0xf0, 408 0xf, 0x0, 409 410 /* U+0071 "q" */ 411 0x3f, 0xf3, 0xff, 0xf0, 0xff, 0xf, 0xf0, 0xff, 412 0xf, 0x3f, 0xf3, 0xff, 0x0, 0xf0, 0xf, 0x0, 413 0xf0, 0xf, 414 415 /* U+0072 "r" */ 416 0xff, 0xcf, 0xfc, 0xf0, 0xff, 0xf, 0xf0, 0xf, 417 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0, 418 419 /* U+0073 "s" */ 420 0x3f, 0xf3, 0xff, 0xf0, 0xf, 0x0, 0x3f, 0xc3, 421 0xfc, 0x0, 0xf0, 0xf, 0xff, 0xcf, 0xfc, 422 423 /* U+0074 "t" */ 424 0x3c, 0x3, 0xc0, 0x3c, 0x3, 0xc0, 0xff, 0xff, 425 0xff, 0x3c, 0x3, 0xc0, 0x3c, 0x3, 0xc0, 0x3c, 426 0x3, 0xc0, 0xf, 0xf0, 0xff, 427 428 /* U+0075 "u" */ 429 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 430 0xf, 0xf0, 0xff, 0xf, 0x3f, 0xf3, 0xff, 431 432 /* U+0076 "v" */ 433 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 434 0xf, 0x3f, 0xc3, 0xfc, 0xf, 0x0, 0xf0, 435 436 /* U+0077 "w" */ 437 0xf0, 0x3f, 0xc0, 0xff, 0x3, 0xfc, 0xf, 0xf3, 438 0x3f, 0xcc, 0xf3, 0xff, 0xf, 0xfc, 0x3c, 0xf0, 439 0xf3, 0xc0, 440 441 /* U+0078 "x" */ 442 0xf0, 0x3f, 0xc0, 0xf3, 0xcf, 0xf, 0x3c, 0xf, 443 0xc0, 0x3f, 0x3, 0xcf, 0xf, 0x3c, 0xf0, 0x3f, 444 0xc0, 0xf0, 445 446 /* U+0079 "y" */ 447 0xf0, 0xff, 0xf, 0xf0, 0xff, 0xf, 0xf0, 0xff, 448 0xf, 0x3f, 0xf3, 0xff, 0x0, 0xf0, 0xf, 0x3f, 449 0xc3, 0xfc, 450 451 /* U+007A "z" */ 452 0xff, 0xff, 0xff, 0x3, 0xc0, 0x3c, 0xf, 0x0, 453 0xf0, 0x3c, 0x3, 0xc0, 0xff, 0xff, 0xff, 454 455 /* U+007B "{" */ 456 0x3, 0xf0, 0x3f, 0xf, 0x0, 0xf0, 0xf, 0x0, 457 0xf0, 0xfc, 0xf, 0xc0, 0xf, 0x0, 0xf0, 0xf, 458 0x0, 0xf0, 0x3, 0xf0, 0x3f, 459 460 /* U+007C "|" */ 461 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 462 463 /* U+007D "}" */ 464 0xfc, 0xf, 0xc0, 0xf, 0x0, 0xf0, 0xf, 0x0, 465 0xf0, 0x3, 0xf0, 0x3f, 0xf, 0x0, 0xf0, 0xf, 466 0x0, 0xf0, 0xfc, 0xf, 0xc0, 467 468 /* U+007E "~" */ 469 0x3f, 0x3c, 0xfc, 0xff, 0x3f, 0x3c, 0xfc, 470 471 /* U+007F "" */ 472 0xf0, 0x3, 0xc0, 0xc, 0xc0, 0x33, 0x0, 0xcc, 473 0xff, 0x33, 0xfc, 0xc3, 0x33, 0xc, 0xf0, 0x33, 474 0xc0, 0xc0, 0x3, 0x0, 0xc, 0x0, 0x30, 0x0, 475 0xc0 476 }; 477 478 479 /*--------------------- 480 * GLYPH DESCRIPTION 481 *--------------------*/ 482 483 static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = { 484 {.bitmap_index = 0, .adv_w = 0, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0} /* id = 0 reserved */, 485 {.bitmap_index = 0, .adv_w = 256, .box_w = 1, .box_h = 1, .ofs_x = 0, .ofs_y = 16}, 486 {.bitmap_index = 1, .adv_w = 256, .box_w = 4, .box_h = 14, .ofs_x = 6, .ofs_y = 2}, 487 {.bitmap_index = 8, .adv_w = 256, .box_w = 12, .box_h = 6, .ofs_x = 2, .ofs_y = 10}, 488 {.bitmap_index = 17, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 489 {.bitmap_index = 42, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 490 {.bitmap_index = 63, .adv_w = 256, .box_w = 14, .box_h = 12, .ofs_x = 0, .ofs_y = 2}, 491 {.bitmap_index = 84, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 492 {.bitmap_index = 109, .adv_w = 256, .box_w = 6, .box_h = 6, .ofs_x = 4, .ofs_y = 10}, 493 {.bitmap_index = 114, .adv_w = 256, .box_w = 8, .box_h = 14, .ofs_x = 4, .ofs_y = 2}, 494 {.bitmap_index = 128, .adv_w = 256, .box_w = 8, .box_h = 14, .ofs_x = 4, .ofs_y = 2}, 495 {.bitmap_index = 142, .adv_w = 256, .box_w = 16, .box_h = 10, .ofs_x = 0, .ofs_y = 4}, 496 {.bitmap_index = 162, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 4}, 497 {.bitmap_index = 177, .adv_w = 256, .box_w = 6, .box_h = 6, .ofs_x = 4, .ofs_y = 0}, 498 {.bitmap_index = 182, .adv_w = 256, .box_w = 12, .box_h = 2, .ofs_x = 2, .ofs_y = 8}, 499 {.bitmap_index = 185, .adv_w = 256, .box_w = 4, .box_h = 4, .ofs_x = 6, .ofs_y = 2}, 500 {.bitmap_index = 187, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 501 {.bitmap_index = 215, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 502 {.bitmap_index = 236, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 503 {.bitmap_index = 257, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 504 {.bitmap_index = 278, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 505 {.bitmap_index = 299, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 506 {.bitmap_index = 324, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 507 {.bitmap_index = 345, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 508 {.bitmap_index = 366, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 509 {.bitmap_index = 387, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 510 {.bitmap_index = 408, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 511 {.bitmap_index = 429, .adv_w = 256, .box_w = 4, .box_h = 12, .ofs_x = 6, .ofs_y = 2}, 512 {.bitmap_index = 435, .adv_w = 256, .box_w = 6, .box_h = 14, .ofs_x = 4, .ofs_y = 0}, 513 {.bitmap_index = 446, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 514 {.bitmap_index = 464, .adv_w = 256, .box_w = 12, .box_h = 6, .ofs_x = 2, .ofs_y = 6}, 515 {.bitmap_index = 473, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 516 {.bitmap_index = 491, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 517 {.bitmap_index = 512, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 518 {.bitmap_index = 537, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 519 {.bitmap_index = 558, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 520 {.bitmap_index = 579, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 521 {.bitmap_index = 600, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 522 {.bitmap_index = 621, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 523 {.bitmap_index = 642, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 524 {.bitmap_index = 663, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 525 {.bitmap_index = 684, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 526 {.bitmap_index = 705, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 527 {.bitmap_index = 726, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 528 {.bitmap_index = 747, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 529 {.bitmap_index = 772, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 530 {.bitmap_index = 793, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 531 {.bitmap_index = 818, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 532 {.bitmap_index = 843, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 533 {.bitmap_index = 864, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 534 {.bitmap_index = 885, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 535 {.bitmap_index = 906, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 536 {.bitmap_index = 927, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 537 {.bitmap_index = 948, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 538 {.bitmap_index = 969, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 539 {.bitmap_index = 990, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 540 {.bitmap_index = 1011, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 541 {.bitmap_index = 1036, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 542 {.bitmap_index = 1064, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 543 {.bitmap_index = 1092, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 544 {.bitmap_index = 1113, .adv_w = 256, .box_w = 8, .box_h = 14, .ofs_x = 4, .ofs_y = 2}, 545 {.bitmap_index = 1127, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = 2}, 546 {.bitmap_index = 1155, .adv_w = 256, .box_w = 8, .box_h = 14, .ofs_x = 4, .ofs_y = 2}, 547 {.bitmap_index = 1169, .adv_w = 256, .box_w = 14, .box_h = 8, .ofs_x = 0, .ofs_y = 8}, 548 {.bitmap_index = 1183, .adv_w = 256, .box_w = 16, .box_h = 2, .ofs_x = 0, .ofs_y = 0}, 549 {.bitmap_index = 1187, .adv_w = 256, .box_w = 8, .box_h = 6, .ofs_x = 6, .ofs_y = 10}, 550 {.bitmap_index = 1193, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 551 {.bitmap_index = 1208, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 552 {.bitmap_index = 1229, .adv_w = 256, .box_w = 10, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 553 {.bitmap_index = 1242, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 554 {.bitmap_index = 1263, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 555 {.bitmap_index = 1278, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 556 {.bitmap_index = 1296, .adv_w = 256, .box_w = 12, .box_h = 12, .ofs_x = 2, .ofs_y = 0}, 557 {.bitmap_index = 1314, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 558 {.bitmap_index = 1335, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 4, .ofs_y = 2}, 559 {.bitmap_index = 1353, .adv_w = 256, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = 0}, 560 {.bitmap_index = 1373, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 561 {.bitmap_index = 1394, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 4, .ofs_y = 2}, 562 {.bitmap_index = 1412, .adv_w = 256, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 2}, 563 {.bitmap_index = 1430, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 564 {.bitmap_index = 1445, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 565 {.bitmap_index = 1460, .adv_w = 256, .box_w = 12, .box_h = 12, .ofs_x = 2, .ofs_y = 0}, 566 {.bitmap_index = 1478, .adv_w = 256, .box_w = 12, .box_h = 12, .ofs_x = 2, .ofs_y = 0}, 567 {.bitmap_index = 1496, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 568 {.bitmap_index = 1511, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 569 {.bitmap_index = 1526, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 570 {.bitmap_index = 1547, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 571 {.bitmap_index = 1562, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 572 {.bitmap_index = 1577, .adv_w = 256, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 2}, 573 {.bitmap_index = 1595, .adv_w = 256, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 2}, 574 {.bitmap_index = 1613, .adv_w = 256, .box_w = 12, .box_h = 12, .ofs_x = 2, .ofs_y = 0}, 575 {.bitmap_index = 1631, .adv_w = 256, .box_w = 12, .box_h = 10, .ofs_x = 2, .ofs_y = 2}, 576 {.bitmap_index = 1646, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 577 {.bitmap_index = 1667, .adv_w = 256, .box_w = 4, .box_h = 14, .ofs_x = 6, .ofs_y = 2}, 578 {.bitmap_index = 1674, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = 2}, 579 {.bitmap_index = 1695, .adv_w = 256, .box_w = 14, .box_h = 4, .ofs_x = 0, .ofs_y = 12}, 580 {.bitmap_index = 1702, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = 2} 581 }; 582 583 /*--------------------- 584 * CHARACTER MAPPING 585 *--------------------*/ 586 587 588 589 /*Collect the unicode lists and glyph_id offsets*/ 590 static const lv_font_fmt_txt_cmap_t cmaps[] = { 591 { 592 .range_start = 32, .range_length = 96, .glyph_id_start = 1, 593 .unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY 594 } 595 }; 596 597 598 599 /*-------------------- 600 * ALL CUSTOM DATA 601 *--------------------*/ 602 603 #if LV_VERSION_CHECK(8, 0, 0) 604 /*Store all the custom data of the font*/ 605 static lv_font_fmt_txt_glyph_cache_t cache; 606 static const lv_font_fmt_txt_dsc_t font_dsc = { 607 #else 608 static lv_font_fmt_txt_dsc_t font_dsc = { 609 #endif 610 .glyph_bitmap = glyph_bitmap, 611 .glyph_dsc = glyph_dsc, 612 .cmaps = cmaps, 613 .kern_dsc = NULL, 614 .kern_scale = 0, 615 .cmap_num = 1, 616 .bpp = 1, 617 .kern_classes = 0, 618 .bitmap_format = 0, 619 #if LV_VERSION_CHECK(8, 0, 0) 620 .cache = &cache 621 #endif 622 }; 623 624 625 /*----------------- 626 * PUBLIC FONT 627 *----------------*/ 628 629 /*Initialize a public general font descriptor*/ 630 #if LV_VERSION_CHECK(8, 0, 0) 631 const lv_font_t lv_font_unscii_16 = { 632 #else 633 lv_font_t lv_font_unscii_16 = { 634 #endif 635 .get_glyph_dsc = lv_font_get_glyph_dsc_fmt_txt, /*Function pointer to get glyph's data*/ 636 .get_glyph_bitmap = lv_font_get_bitmap_fmt_txt, /*Function pointer to get glyph's bitmap*/ 637 .line_height = 17, /*The maximum line height required by the font*/ 638 .base_line = 0, /*Baseline measured from the bottom of the line*/ 639 #if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0) 640 .subpx = LV_FONT_SUBPX_NONE, 641 #endif 642 #if LV_VERSION_CHECK(7, 4, 0) || LVGL_VERSION_MAJOR >= 8 643 .underline_position = 0, 644 .underline_thickness = 0, 645 #endif 646 .dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */ 647 }; 648 649 650 651 #endif /*#if LV_FONT_UNSCII_16*/ 652 653