unleashed-firmware/applications/external/totp/lib/fonts/graph35pix/graph35pix.c
2023-07-24 13:47:44 +03:00

941 lines
11 KiB
C

#include "graph35pix.h"
/* GENERATED BY https://github.com/pavius/the-dot-factory */
/*
** Font data for Graph 35+ pix 12pt
*/
/* Character bitmaps for Graph 35+ pix 12pt */
const uint8_t graph35pix_12ptBitmaps[] = {
/* @0 '-' (10 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0xFF,
0x03,
0xFF,
0x03,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @28 '0' (10 pixels wide) */
0xFC,
0x00,
0xFC,
0x00,
0x03,
0x03,
0x03,
0x03,
0xC3,
0x03,
0xC3,
0x03,
0x33,
0x03,
0x33,
0x03,
0x0F,
0x03,
0x0F,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFC,
0x00,
0xFC,
0x00,
/* @56 '1' (10 pixels wide) */
0x30,
0x00,
0x30,
0x00,
0x3C,
0x00,
0x3C,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0xFC,
0x00,
0xFC,
0x00,
/* @84 '2' (10 pixels wide) */
0xFC,
0x00,
0xFC,
0x00,
0x03,
0x03,
0x03,
0x03,
0x00,
0x03,
0x00,
0x03,
0xC0,
0x00,
0xC0,
0x00,
0x30,
0x00,
0x30,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0xFF,
0x03,
0xFF,
0x03,
/* @112 '3' (10 pixels wide) */
0xFF,
0x03,
0xFF,
0x03,
0xC0,
0x00,
0xC0,
0x00,
0x30,
0x00,
0x30,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0x00,
0x03,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFC,
0x00,
0xFC,
0x00,
/* @140 '4' (10 pixels wide) */
0xC0,
0x00,
0xC0,
0x00,
0xF0,
0x00,
0xF0,
0x00,
0xCC,
0x00,
0xCC,
0x00,
0xC3,
0x00,
0xC3,
0x00,
0xFF,
0x03,
0xFF,
0x03,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
/* @168 '5' (10 pixels wide) */
0xFF,
0x03,
0xFF,
0x03,
0x03,
0x00,
0x03,
0x00,
0xFF,
0x00,
0xFF,
0x00,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFC,
0x00,
0xFC,
0x00,
/* @196 '6' (10 pixels wide) */
0xF0,
0x00,
0xF0,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0x03,
0x00,
0x03,
0x00,
0xFF,
0x00,
0xFF,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFC,
0x00,
0xFC,
0x00,
/* @224 '7' (10 pixels wide) */
0xFF,
0x03,
0xFF,
0x03,
0x00,
0x03,
0x00,
0x03,
0xC0,
0x00,
0xC0,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
/* @252 '8' (10 pixels wide) */
0xFC,
0x00,
0xFC,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFC,
0x00,
0xFC,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFC,
0x00,
0xFC,
0x00,
/* @280 '9' (10 pixels wide) */
0xFC,
0x00,
0xFC,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFC,
0x03,
0xFC,
0x03,
0x00,
0x03,
0x00,
0x03,
0xC0,
0x00,
0xC0,
0x00,
0x3C,
0x00,
0x3C,
0x00,
/* @308 'B' (10 pixels wide) */
0xFF,
0x00,
0xFF,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFF,
0x00,
0xFF,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFF,
0x00,
0xFF,
0x00,
/* @336 'C' (10 pixels wide) */
0xFC,
0x00,
0xFC,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x03,
0x03,
0x03,
0xFC,
0x00,
0xFC,
0x00,
/* @364 'D' (10 pixels wide) */
0x3F,
0x00,
0x3F,
0x00,
0xC3,
0x00,
0xC3,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xC3,
0x00,
0xC3,
0x00,
0x3F,
0x00,
0x3F,
0x00,
/* @392 'F' (10 pixels wide) */
0xFF,
0x03,
0xFF,
0x03,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0xFF,
0x00,
0xFF,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
/* @420 'G' (10 pixels wide) */
0xFC,
0x00,
0xFC,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x00,
0x03,
0x00,
0xF3,
0x03,
0xF3,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFC,
0x03,
0xFC,
0x03,
/* @448 'H' (10 pixels wide) */
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFF,
0x03,
0xFF,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
/* @476 'J' (10 pixels wide) */
0xF0,
0x03,
0xF0,
0x03,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC3,
0x00,
0xC3,
0x00,
0x3C,
0x00,
0x3C,
0x00,
/* @504 'K' (10 pixels wide) */
0x03,
0x03,
0x03,
0x03,
0xC3,
0x00,
0xC3,
0x00,
0x33,
0x00,
0x33,
0x00,
0x0F,
0x00,
0x0F,
0x00,
0x33,
0x00,
0x33,
0x00,
0xC3,
0x00,
0xC3,
0x00,
0x03,
0x03,
0x03,
0x03,
/* @532 'M' (10 pixels wide) */
0x03,
0x03,
0x03,
0x03,
0xCF,
0x03,
0xCF,
0x03,
0x33,
0x03,
0x33,
0x03,
0x33,
0x03,
0x33,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
/* @560 'N' (10 pixels wide) */
0x03,
0x03,
0x03,
0x03,
0x0F,
0x03,
0x0F,
0x03,
0x0F,
0x03,
0x0F,
0x03,
0x33,
0x03,
0x33,
0x03,
0xC3,
0x03,
0xC3,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
/* @588 'P' (10 pixels wide) */
0xFF,
0x00,
0xFF,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFF,
0x00,
0xFF,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
0x03,
0x00,
/* @616 'Q' (10 pixels wide) */
0xFC,
0x00,
0xFC,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x33,
0x03,
0x33,
0x03,
0xC3,
0x00,
0xC3,
0x00,
0x3C,
0x03,
0x3C,
0x03,
/* @644 'R' (10 pixels wide) */
0xFF,
0x00,
0xFF,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xFF,
0x00,
0xFF,
0x00,
0x33,
0x00,
0x33,
0x00,
0xC3,
0x00,
0xC3,
0x00,
0x03,
0x03,
0x03,
0x03,
/* @672 'T' (10 pixels wide) */
0xFF,
0x03,
0xFF,
0x03,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
/* @700 'V' (10 pixels wide) */
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xCC,
0x00,
0xCC,
0x00,
0x30,
0x00,
0x30,
0x00,
/* @728 'W' (10 pixels wide) */
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x33,
0x03,
0x33,
0x03,
0x33,
0x03,
0x33,
0x03,
0x33,
0x03,
0x33,
0x03,
0xCC,
0x00,
0xCC,
0x00,
/* @756 'X' (10 pixels wide) */
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xCC,
0x00,
0xCC,
0x00,
0x30,
0x00,
0x30,
0x00,
0xCC,
0x00,
0xCC,
0x00,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
/* @784 'Y' (10 pixels wide) */
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0x03,
0xCC,
0x00,
0xCC,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
0x30,
0x00,
};
/* Character descriptors for Graph 35+ pix 12pt */
/* { [Char width in bits], [Offset into graph35pix_12ptCharBitmaps in bytes] } */
const FONT_CHAR_INFO graph35pix_12ptDescriptors[] = {
{10, 0}, /* - */
{0, 0}, /* . */
{0, 0}, /* / */
{10, 28}, /* 0 */
{10, 56}, /* 1 */
{10, 84}, /* 2 */
{10, 112}, /* 3 */
{10, 140}, /* 4 */
{10, 168}, /* 5 */
{10, 196}, /* 6 */
{10, 224}, /* 7 */
{10, 252}, /* 8 */
{10, 280}, /* 9 */
{0, 0}, /* : */
{0, 0}, /* ; */
{0, 0}, /* < */
{0, 0}, /* = */
{0, 0}, /* > */
{0, 0}, /* ? */
{0, 0}, /* @ */
{0, 0}, /* A */
{10, 308}, /* B */
{10, 336}, /* C */
{10, 364}, /* D */
{0, 0}, /* E */
{10, 392}, /* F */
{10, 420}, /* G */
{10, 448}, /* H */
{0, 0}, /* I */
{10, 476}, /* J */
{10, 504}, /* K */
{0, 0}, /* L */
{10, 532}, /* M */
{10, 560}, /* N */
{0, 0}, /* O */
{10, 588}, /* P */
{10, 616}, /* Q */
{10, 644}, /* R */
{0, 0}, /* S */
{10, 672}, /* T */
{0, 0}, /* U */
{10, 700}, /* V */
{10, 728}, /* W */
{10, 756}, /* X */
{10, 784}, /* Y */
};
/* Font information for Graph 35+ pix 12pt */
const FONT_INFO graph35pix_12ptFontInfo = {
"Graph 35pix",
14, /* Character height */
'-', /* Start character */
'Y', /* End character */
2, /* Width, in pixels, of space character */
graph35pix_12ptDescriptors, /* Character descriptor array */
graph35pix_12ptBitmaps, /* Character bitmap array */
};