unleashed-firmware/applications/external/totp/ui/fonts/dpcomic/dpcomic.c

1114 lines
12 KiB
C

#include "dpcomic.h"
/* GENERATED BY https://github.com/pavius/the-dot-factory */
/*
** Font data for DPComic 18pt
*/
/* Character bitmaps for DPComic 18pt */
const uint8_t dPComic_18ptBitmaps[] = {
/* @0 '-' (15 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0xE0,
0x3F,
0xF8,
0x0F,
0xF8,
0x0F,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @34 '0' (15 pixels wide) */
0x00,
0x00,
0xC0,
0x01,
0xC0,
0x01,
0xE0,
0x07,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0xE0,
0x07,
0xC0,
0x01,
0xC0,
0x01,
0x00,
0x00,
0x00,
0x00,
/* @68 '1' (15 pixels wide) */
0x00,
0x00,
0xC0,
0x01,
0xC0,
0x01,
0xE0,
0x01,
0xF8,
0x01,
0xF8,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0xE0,
0x0F,
0xF8,
0x07,
0xF8,
0x07,
0x00,
0x00,
0x00,
0x00,
/* @102 '2' (15 pixels wide) */
0x00,
0x00,
0xC0,
0x07,
0xC0,
0x07,
0xE0,
0x0F,
0x38,
0x0E,
0x38,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x07,
0xC0,
0x01,
0xC0,
0x01,
0xE0,
0x3F,
0xF8,
0x0F,
0xF8,
0x0F,
0x00,
0x00,
0x00,
0x00,
/* @136 '3' (15 pixels wide) */
0x00,
0x00,
0xC0,
0x3F,
0xC0,
0x3F,
0xE0,
0x3F,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x07,
0xC0,
0x07,
0xC0,
0x07,
0x00,
0x0F,
0x00,
0x0E,
0x00,
0x0E,
0xE0,
0x0F,
0xF8,
0x07,
0xF8,
0x07,
0x00,
0x00,
0x00,
0x00,
/* @170 '4' (15 pixels wide) */
0x00,
0x00,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0F,
0xC0,
0x0F,
0xC0,
0x0F,
0xE0,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0xF8,
0x0F,
0xF8,
0x0F,
0xF8,
0x0F,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x00,
0x00,
0x00,
/* @204 '5' (15 pixels wide) */
0x00,
0x00,
0xC0,
0x3F,
0xC0,
0x3F,
0xC0,
0x0F,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x07,
0xE0,
0x0F,
0xE0,
0x0F,
0x00,
0x0E,
0x00,
0x0F,
0x00,
0x0F,
0xE0,
0x07,
0xF8,
0x01,
0xF8,
0x01,
0x00,
0x00,
0x00,
0x00,
/* @238 '6' (15 pixels wide) */
0x00,
0x00,
0x00,
0x0F,
0x00,
0x0F,
0xC0,
0x07,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x07,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0F,
0x38,
0x0F,
0xF8,
0x07,
0xE0,
0x01,
0xE0,
0x01,
0x00,
0x00,
0x00,
0x00,
/* @272 '7' (15 pixels wide) */
0x00,
0x00,
0xE0,
0x0F,
0xE0,
0x0F,
0xF8,
0x0F,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x07,
0xC0,
0x01,
0xC0,
0x01,
0xE0,
0x00,
0xF8,
0x00,
0xF8,
0x00,
0x38,
0x00,
0x38,
0x00,
0x38,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @306 '8' (15 pixels wide) */
0x00,
0x00,
0xC0,
0x0F,
0xC0,
0x0F,
0xE0,
0x38,
0xE0,
0x3E,
0xE0,
0x3E,
0xC0,
0x0F,
0xE0,
0x07,
0xE0,
0x07,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0F,
0xE0,
0x07,
0xE0,
0x07,
0x00,
0x00,
0x00,
0x00,
/* @340 '9' (15 pixels wide) */
0x00,
0x00,
0xC0,
0x07,
0xC0,
0x07,
0xE0,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0xF8,
0x0F,
0xF8,
0x0F,
0xE0,
0x07,
0x00,
0x07,
0x00,
0x07,
0xE0,
0x01,
0xF8,
0x00,
0xF8,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @374 'B' (15 pixels wide) */
0xC0,
0x0F,
0xE0,
0x3F,
0xE0,
0x3F,
0xF8,
0x38,
0x38,
0x3E,
0x38,
0x3E,
0xF8,
0x0F,
0xF8,
0x3F,
0xF8,
0x3F,
0x38,
0x38,
0x38,
0x3E,
0x38,
0x3E,
0xF8,
0x0F,
0xF8,
0x07,
0xF8,
0x07,
0x00,
0x00,
0x00,
0x00,
/* @408 'C' (15 pixels wide) */
0x00,
0x0F,
0xC0,
0x3F,
0xC0,
0x3F,
0xE0,
0x39,
0xE0,
0x00,
0xE0,
0x00,
0xF8,
0x00,
0x38,
0x00,
0x38,
0x00,
0x38,
0x38,
0x38,
0x3E,
0x38,
0x3E,
0xF8,
0x0F,
0xE0,
0x07,
0xE0,
0x07,
0x00,
0x00,
0x00,
0x00,
/* @442 'D' (15 pixels wide) */
0xC0,
0x07,
0xE0,
0x0F,
0xE0,
0x0F,
0xF8,
0x3E,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x3E,
0x38,
0x0F,
0x38,
0x0F,
0xF8,
0x07,
0xF8,
0x01,
0xF8,
0x01,
0x00,
0x00,
0x00,
0x00,
/* @476 'F' (15 pixels wide) */
0x80,
0x1F,
0xC0,
0x0F,
0xC0,
0x0F,
0xF0,
0x01,
0x70,
0x00,
0x70,
0x00,
0xF0,
0x0F,
0xF0,
0x03,
0xF0,
0x03,
0x70,
0x00,
0x70,
0x00,
0x70,
0x00,
0x70,
0x00,
0x70,
0x00,
0x70,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @510 'G' (15 pixels wide) */
0x00,
0x0F,
0xC0,
0x3F,
0xC0,
0x3F,
0xE0,
0x39,
0xE0,
0x00,
0xE0,
0x00,
0xF8,
0x00,
0x38,
0x3E,
0x38,
0x3E,
0x38,
0x38,
0x38,
0x3E,
0x38,
0x3E,
0xF8,
0x0F,
0xE0,
0x07,
0xE0,
0x07,
0x00,
0x00,
0x00,
0x00,
/* @544 'H' (15 pixels wide) */
0x00,
0x30,
0x20,
0x38,
0x20,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0xF8,
0x3F,
0xF8,
0x3F,
0xF8,
0x3F,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x00,
0x00,
0x00,
0x00,
/* @578 'J' (15 pixels wide) */
0x00,
0x08,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x00,
0x0E,
0x18,
0x0F,
0xF8,
0x07,
0xF8,
0x07,
0xE0,
0x01,
0xE0,
0x01,
/* @612 'K' (15 pixels wide) */
0x20,
0x30,
0x38,
0x38,
0x38,
0x38,
0x38,
0x3E,
0x38,
0x0F,
0x38,
0x0F,
0xF8,
0x07,
0xF8,
0x07,
0xF8,
0x07,
0x38,
0x0F,
0x38,
0x3E,
0x38,
0x3E,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x00,
0x00,
0x00,
0x00,
/* @646 'M' (15 pixels wide) */
0x08,
0x10,
0x3E,
0x1C,
0x3E,
0x1C,
0x7E,
0x1E,
0xFE,
0x1F,
0xFE,
0x1F,
0xCE,
0x1D,
0x0E,
0x1C,
0x0E,
0x1C,
0x0E,
0x1C,
0x0E,
0x1C,
0x0E,
0x1C,
0x0E,
0x1C,
0x0E,
0x1C,
0x0E,
0x1C,
0x00,
0x00,
0x00,
0x00,
/* @680 'N' (15 pixels wide) */
0x20,
0x30,
0xF8,
0x38,
0xF8,
0x38,
0xF8,
0x38,
0xF8,
0x39,
0xF8,
0x39,
0xF8,
0x39,
0x38,
0x3F,
0x38,
0x3F,
0x38,
0x3F,
0x38,
0x3E,
0x38,
0x3E,
0x38,
0x3E,
0x38,
0x38,
0x38,
0x38,
0x00,
0x00,
0x00,
0x00,
/* @714 'P' (15 pixels wide) */
0xC0,
0x07,
0xE0,
0x0F,
0xE0,
0x0F,
0xF8,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0F,
0xF8,
0x07,
0xF8,
0x07,
0xF8,
0x01,
0x38,
0x00,
0x38,
0x00,
0x38,
0x00,
0x38,
0x00,
0x38,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @748 'Q' (15 pixels wide) */
0x00,
0x0F,
0xC0,
0x3F,
0xC0,
0x3F,
0xE0,
0x39,
0xE0,
0x38,
0xE0,
0x38,
0xF8,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x3E,
0x38,
0x3E,
0xF8,
0x0F,
0xE0,
0x3F,
0xE0,
0x3F,
0x00,
0x38,
0x00,
0x38,
/* @782 'R' (15 pixels wide) */
0xC0,
0x07,
0xE0,
0x0F,
0xE0,
0x0F,
0xF8,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0F,
0xF8,
0x07,
0xF8,
0x07,
0xF8,
0x01,
0x38,
0x07,
0x38,
0x07,
0x38,
0x0F,
0x38,
0x0E,
0x38,
0x0E,
0x00,
0x00,
0x00,
0x00,
/* @816 'T' (15 pixels wide) */
0x00,
0x7E,
0xE0,
0x3F,
0xE0,
0x3F,
0xF8,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x00,
0x00,
0x00,
/* @850 'V' (15 pixels wide) */
0x20,
0x30,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x07,
0x38,
0x07,
0xE0,
0x07,
0xC0,
0x01,
0xC0,
0x01,
0x00,
0x00,
0x00,
0x00,
/* @884 'W' (15 pixels wide) */
0x04,
0x40,
0x07,
0x70,
0x07,
0x70,
0x07,
0x71,
0xC7,
0x71,
0xC7,
0x71,
0xC7,
0x71,
0xC7,
0x71,
0xC7,
0x71,
0xC7,
0x71,
0xE7,
0x39,
0xE7,
0x39,
0x3C,
0x0F,
0x1C,
0x07,
0x1C,
0x07,
0x00,
0x00,
0x00,
0x00,
/* @918 'X' (15 pixels wide) */
0x18,
0x30,
0x38,
0x38,
0x38,
0x38,
0xF8,
0x3E,
0xE0,
0x0F,
0xE0,
0x0F,
0xC0,
0x07,
0xC0,
0x01,
0xC0,
0x01,
0xE0,
0x07,
0x38,
0x0F,
0x38,
0x0F,
0x38,
0x3E,
0x18,
0x38,
0x18,
0x38,
0x00,
0x00,
0x00,
0x00,
/* @952 'Y' (15 pixels wide) */
0x18,
0x08,
0x38,
0x0E,
0x38,
0x0E,
0x38,
0x0E,
0xF8,
0x0F,
0xF8,
0x0F,
0xE0,
0x07,
0xE0,
0x01,
0xE0,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0xC0,
0x01,
0x00,
0x00,
0x00,
0x00,
};
/* Character descriptors for DPComic 18pt */
/* { [Char width in bits], [Offset into dPComic_18ptCharBitmaps in bytes] } */
const FONT_CHAR_INFO dPComic_18ptDescriptors[] = {
{15, 0}, /* - */
{0, 0}, /* . */
{0, 0}, /* / */
{15, 34}, /* 0 */
{15, 68}, /* 1 */
{15, 102}, /* 2 */
{15, 136}, /* 3 */
{15, 170}, /* 4 */
{15, 204}, /* 5 */
{15, 238}, /* 6 */
{15, 272}, /* 7 */
{15, 306}, /* 8 */
{15, 340}, /* 9 */
{0, 0}, /* : */
{0, 0}, /* ; */
{0, 0}, /* < */
{0, 0}, /* = */
{0, 0}, /* > */
{0, 0}, /* ? */
{0, 0}, /* @ */
{0, 0}, /* A */
{15, 374}, /* B */
{15, 408}, /* C */
{15, 442}, /* D */
{0, 0}, /* E */
{15, 476}, /* F */
{15, 510}, /* G */
{15, 544}, /* H */
{0, 0}, /* I */
{15, 578}, /* J */
{15, 612}, /* K */
{0, 0}, /* L */
{15, 646}, /* M */
{15, 680}, /* N */
{0, 0}, /* O */
{15, 714}, /* P */
{15, 748}, /* Q */
{15, 782}, /* R */
{0, 0}, /* S */
{15, 816}, /* T */
{0, 0}, /* U */
{15, 850}, /* V */
{15, 884}, /* W */
{15, 918}, /* X */
{15, 952}, /* Y */
};
/* Font information for DPComic 18pt */
const FONT_INFO dPComic_18ptFontInfo = {
17, /* Character height */
'-', /* Start character */
'Y', /* End character */
2, /* Width, in pixels, of space character */
dPComic_18ptDescriptors, /* Character descriptor array */
dPComic_18ptBitmaps, /* Character bitmap array */
};