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

1114 lines
12 KiB
C

#include "pixelflag.h"
/* GENERATED BY https://github.com/pavius/the-dot-factory */
/*
** Font data for {PixelFlag} 18pt
*/
/* Character bitmaps for {PixelFlag} 18pt */
const uint8_t pixelFlag_18ptBitmaps[] = {
/* @0 '-' (13 pixels wide) */
0xFE,
0x07,
0xFE,
0x07,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0xF8,
0x07,
0xF8,
0x07,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0xFE,
0x07,
0xFE,
0x07,
/* @34 '0' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xF8,
0x07,
0xF8,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x1F,
0xF8,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @68 '1' (13 pixels wide) */
0xff,
0xff,
0xff,
0xff,
0x00,
0xe0,
0xc0,
0xe0,
0xc0,
0xe0,
0xe0,
0xe0,
0xe0,
0xe0,
0xc0,
0xe0,
0xc0,
0xe0,
0xc0,
0xe0,
0xc0,
0xe0,
0xc0,
0xe0,
0xe0,
0xe3,
0xe0,
0xe3,
0x00,
0xe0,
0xff,
0xff,
0xff,
0xff,
/* @102 '2' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x07,
0xFC,
0x07,
0x00,
0x18,
0x00,
0x18,
0x00,
0x18,
0xF8,
0x07,
0xFC,
0x07,
0x0C,
0x00,
0x0C,
0x00,
0xFC,
0x1F,
0xFC,
0x1F,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @136 '3' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x07,
0xFC,
0x07,
0x00,
0x18,
0x00,
0x18,
0x00,
0x18,
0xE0,
0x07,
0xE0,
0x1F,
0x00,
0x18,
0x00,
0x18,
0xFC,
0x1F,
0xFC,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @170 '4' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x00,
0x06,
0x00,
0x06,
0x00,
0x07,
0xC0,
0x07,
0xC0,
0x06,
0x60,
0x06,
0x78,
0x06,
0x18,
0x06,
0xFC,
0x1F,
0xFC,
0x1F,
0x00,
0x06,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @204 '5' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x1F,
0xFC,
0x1F,
0x0C,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0xFC,
0x07,
0xFC,
0x1F,
0x00,
0x18,
0x00,
0x18,
0xFC,
0x1F,
0xFC,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @238 '6' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xF8,
0x07,
0xF8,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x00,
0xFC,
0x07,
0xFC,
0x1F,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x1F,
0xF8,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @272 '7' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x1F,
0xFC,
0x1F,
0x00,
0x06,
0x00,
0x07,
0x00,
0x03,
0xC0,
0x00,
0xE0,
0x00,
0x60,
0x00,
0x18,
0x00,
0x1C,
0x00,
0x0C,
0x00,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @306 '8' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xF8,
0x07,
0xF8,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xF8,
0x07,
0xFC,
0x1F,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x1F,
0xF8,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @340 '9' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xF8,
0x07,
0xF8,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xF8,
0x1F,
0xF8,
0x1F,
0x00,
0x18,
0x0C,
0x18,
0xFC,
0x1F,
0xF8,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @374 'B' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x07,
0xFC,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x07,
0xFC,
0x1F,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x1F,
0xFC,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @408 'C' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xF8,
0x07,
0xF8,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0x0C,
0x18,
0xFC,
0x1F,
0xF8,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @442 'D' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x07,
0xFC,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x1F,
0xFC,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @476 'F' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x1F,
0xFC,
0x1F,
0x0C,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0xFC,
0x03,
0xFC,
0x03,
0x0C,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @510 'G' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xF8,
0x07,
0xF8,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x00,
0xCC,
0x1F,
0xCC,
0x1F,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x1F,
0xF8,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @544 'H' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x1F,
0xFC,
0x1F,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @578 'J' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x00,
0x18,
0x00,
0x18,
0x00,
0x18,
0x00,
0x18,
0x00,
0x18,
0x00,
0x18,
0x00,
0x18,
0x00,
0x18,
0x0C,
0x18,
0xFC,
0x1F,
0xF8,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @612 'K' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x06,
0x0C,
0x07,
0x0C,
0x03,
0xFC,
0x00,
0xFC,
0x03,
0x0C,
0x03,
0x0C,
0x06,
0x0C,
0x1E,
0x0C,
0x18,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @646 'M' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x0C,
0x18,
0x0C,
0x18,
0x1C,
0x1E,
0x7C,
0x1F,
0x6C,
0x1B,
0xCC,
0x18,
0xCC,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @680 'N' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x0C,
0x18,
0x0C,
0x18,
0x1C,
0x18,
0x7C,
0x18,
0x6C,
0x18,
0xCC,
0x18,
0xCC,
0x1B,
0x0C,
0x1B,
0x0C,
0x1E,
0x0C,
0x1E,
0x0C,
0x18,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @714 'P' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x07,
0xFC,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x07,
0xFC,
0x07,
0x0C,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0x0C,
0x00,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @748 'Q' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xF8,
0x07,
0xF8,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xCC,
0x18,
0xCC,
0x1B,
0x0C,
0x1B,
0x0C,
0x1E,
0xFC,
0x1F,
0xF8,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @782 'R' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x07,
0xFC,
0x07,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xFC,
0x07,
0xFC,
0x1F,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @816 'T' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0xFC,
0x1F,
0xFC,
0x1F,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @850 'V' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0x1C,
0x1E,
0x18,
0x06,
0x60,
0x03,
0xE0,
0x03,
0xC0,
0x00,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @884 'W' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x0C,
0x18,
0x0C,
0x18,
0x0C,
0x18,
0xCC,
0x18,
0xCC,
0x18,
0xCC,
0x18,
0xCC,
0x18,
0xCC,
0x18,
0xCC,
0x18,
0xFC,
0x1F,
0x78,
0x07,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @918 'X' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x0C,
0x18,
0x0C,
0x18,
0x18,
0x06,
0x78,
0x07,
0x60,
0x03,
0xC0,
0x00,
0xE0,
0x03,
0x60,
0x03,
0x18,
0x06,
0x1C,
0x1E,
0x0C,
0x18,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
/* @952 'Y' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x00,
0x00,
0x0C,
0x18,
0x0C,
0x18,
0x18,
0x06,
0x78,
0x07,
0x60,
0x03,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0xC0,
0x00,
0x00,
0x00,
0xFF,
0x1F,
0xFF,
0x1F,
};
/* Character descriptors for {PixelFlag} 18pt */
/* { [Char width in bits], [Offset into pixelFlag_18ptCharBitmaps in bytes] } */
const FONT_CHAR_INFO pixelFlag_18ptDescriptors[] = {
{13, 0}, /* - */
{0, 0}, /* . */
{0, 0}, /* / */
{13, 34}, /* 0 */
{13, 68}, /* 1 */
{13, 102}, /* 2 */
{13, 136}, /* 3 */
{13, 170}, /* 4 */
{13, 204}, /* 5 */
{13, 238}, /* 6 */
{13, 272}, /* 7 */
{13, 306}, /* 8 */
{13, 340}, /* 9 */
{0, 0}, /* : */
{0, 0}, /* ; */
{0, 0}, /* < */
{0, 0}, /* = */
{0, 0}, /* > */
{0, 0}, /* ? */
{0, 0}, /* @ */
{0, 0}, /* A */
{13, 374}, /* B */
{13, 408}, /* C */
{13, 442}, /* D */
{0, 0}, /* E */
{13, 476}, /* F */
{13, 510}, /* G */
{13, 544}, /* H */
{0, 0}, /* I */
{13, 578}, /* J */
{13, 612}, /* K */
{0, 0}, /* L */
{13, 646}, /* M */
{13, 680}, /* N */
{0, 0}, /* O */
{13, 714}, /* P */
{13, 748}, /* Q */
{13, 782}, /* R */
{0, 0}, /* S */
{13, 816}, /* T */
{0, 0}, /* U */
{13, 850}, /* V */
{13, 884}, /* W */
{13, 918}, /* X */
{13, 952}, /* Y */
};
/* Font information for {PixelFlag} 18pt */
const FONT_INFO pixelFlag_18ptFontInfo = {
17, /* Character height */
'-', /* Start character */
'Y', /* End character */
0, /* Width, in pixels, of space character */
pixelFlag_18ptDescriptors, /* Character descriptor array */
pixelFlag_18ptBitmaps, /* Character bitmap array */
};