unleashed-firmware/applications/external/totp/ui/fonts/bedstead/bedstead.c
2023-05-26 13:22:06 +03:00

1056 lines
12 KiB
C

#include "bedstead.h"
/* GENERATED BY https://github.com/pavius/the-dot-factory */
/*
** Font data for Bedstead 17pt
*/
/* Character bitmaps for Bedstead 17pt */
const uint8_t bedstead_17ptBitmaps[] = {
/* @0 '-' (13 pixels wide) */
0x00,
0x00,
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,
0x00,
0x00,
0x00,
0x00,
/* @32 '0' (13 pixels wide) */
0xE0,
0x00,
0xF0,
0x01,
0xF8,
0x03,
0xBC,
0x07,
0x1E,
0x0F,
0x0F,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x0F,
0x1E,
0x1E,
0x0F,
0xBC,
0x07,
0xF8,
0x03,
0xF0,
0x01,
0xE0,
0x00,
/* @64 '1' (13 pixels wide) */
0xE0,
0x00,
0xE0,
0x00,
0xF8,
0x00,
0xF8,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xF8,
0x03,
0xF8,
0x03,
/* @96 '2' (13 pixels wide) */
0xF0,
0x07,
0xFC,
0x0F,
0x1E,
0x1E,
0x1E,
0x1C,
0x0E,
0x1C,
0x00,
0x1C,
0x00,
0x1E,
0xC0,
0x0F,
0xE0,
0x07,
0xF0,
0x00,
0x7C,
0x00,
0x3E,
0x00,
0x1E,
0x00,
0x0E,
0x00,
0xFE,
0x1F,
0xFE,
0x1F,
/* @128 '3' (13 pixels wide) */
0xFE,
0x1F,
0xFE,
0x1F,
0x00,
0x1C,
0x00,
0x1E,
0x00,
0x0F,
0x00,
0x0F,
0x00,
0x07,
0xE0,
0x07,
0xE0,
0x0F,
0x00,
0x1E,
0x00,
0x1C,
0x0E,
0x1C,
0x1E,
0x1C,
0x3E,
0x0E,
0xFC,
0x0F,
0xF8,
0x07,
/* @160 '4' (13 pixels wide) */
0x80,
0x03,
0x80,
0x03,
0xE0,
0x03,
0xF0,
0x03,
0xF8,
0x03,
0xBC,
0x03,
0x9E,
0x03,
0x8F,
0x03,
0x87,
0x03,
0xFF,
0x0F,
0xFF,
0x0F,
0x80,
0x03,
0x80,
0x03,
0x80,
0x03,
0x80,
0x03,
0x80,
0x03,
/* @192 '5' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0x07,
0x00,
0x07,
0x00,
0xFF,
0x07,
0xFF,
0x0F,
0x00,
0x1E,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x07,
0x1C,
0x0F,
0x1E,
0xFE,
0x0F,
0xFC,
0x07,
0xFC,
0x07,
/* @224 '6' (13 pixels wide) */
0xE0,
0x07,
0xF0,
0x07,
0x78,
0x00,
0x3C,
0x00,
0x1E,
0x00,
0x0F,
0x00,
0x07,
0x00,
0xFF,
0x07,
0xFF,
0x0F,
0x07,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x0F,
0x1E,
0x1E,
0x0F,
0xFE,
0x0F,
0xFC,
0x07,
/* @256 '7' (13 pixels wide) */
0xFE,
0x1F,
0xFE,
0x1F,
0x00,
0x1C,
0x00,
0x1E,
0x00,
0x0F,
0x80,
0x07,
0xC0,
0x03,
0xE0,
0x01,
0xF0,
0x00,
0x78,
0x00,
0x38,
0x00,
0x38,
0x00,
0x38,
0x00,
0x38,
0x00,
0x38,
0x00,
0x38,
0x00,
/* @288 '8' (13 pixels wide) */
0xFC,
0x07,
0xFE,
0x0F,
0x0F,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x0F,
0x1E,
0xFE,
0x0F,
0xFE,
0x0F,
0x0F,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x0F,
0x1E,
0x1E,
0x0F,
0xFE,
0x0F,
0xFC,
0x07,
/* @320 '9' (13 pixels wide) */
0xFC,
0x07,
0xFE,
0x0F,
0x0F,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x0F,
0x1C,
0xFE,
0x1F,
0xFC,
0x1F,
0x00,
0x1C,
0x00,
0x1E,
0x00,
0x0F,
0x80,
0x07,
0xC0,
0x03,
0xFC,
0x01,
0xFC,
0x00,
/* @352 'B' (13 pixels wide) */
0xFF,
0x07,
0xFF,
0x0F,
0x07,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1E,
0xFF,
0x0F,
0xFF,
0x0F,
0x07,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1E,
0x07,
0x0F,
0xFF,
0x0F,
0xFF,
0x07,
/* @384 'C' (13 pixels wide) */
0xFC,
0x01,
0xFE,
0x07,
0x0F,
0x0F,
0x07,
0x0F,
0x07,
0x0E,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x0F,
0x8F,
0x0F,
0xFE,
0x07,
0xFC,
0x03,
/* @416 'D' (13 pixels wide) */
0xFF,
0x07,
0xFF,
0x0F,
0x07,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1E,
0x07,
0x0F,
0xFF,
0x0F,
0xFF,
0x07,
/* @448 'F' (13 pixels wide) */
0xFF,
0x0F,
0xFF,
0x0F,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0xFF,
0x03,
0xFF,
0x03,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
/* @480 'G' (13 pixels wide) */
0xFC,
0x07,
0xFE,
0x0F,
0x0F,
0x1F,
0x0F,
0x1E,
0x07,
0x1C,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x87,
0x1F,
0x87,
0x1F,
0x07,
0x1C,
0x0F,
0x1C,
0xFE,
0x1F,
0xFC,
0x1F,
0xFC,
0x1F,
/* @512 'H' (13 pixels wide) */
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0xFF,
0x1F,
0xFF,
0x1F,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
/* @544 'J' (13 pixels wide) */
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x00,
0x1C,
0x0E,
0x1C,
0x1E,
0x1C,
0x3E,
0x1E,
0xFC,
0x0F,
0xF8,
0x07,
/* @576 'K' (13 pixels wide) */
0x07,
0x0E,
0x07,
0x0F,
0x87,
0x07,
0xC7,
0x03,
0xE7,
0x01,
0xF7,
0x00,
0x7F,
0x00,
0x3F,
0x00,
0x3F,
0x00,
0x7F,
0x00,
0xF7,
0x00,
0xE7,
0x01,
0xC7,
0x03,
0x87,
0x07,
0x07,
0x0F,
0x07,
0x0E,
/* @608 'M' (13 pixels wide) */
0x07,
0x1C,
0x07,
0x1C,
0xBF,
0x1F,
0xFF,
0x1F,
0xFF,
0x1F,
0xE7,
0x1C,
0xE7,
0x1C,
0xE7,
0x1C,
0xE7,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
/* @640 'N' (13 pixels wide) */
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x3F,
0x1C,
0x7F,
0x1C,
0xFF,
0x1C,
0xE7,
0x1F,
0xC7,
0x1F,
0x87,
0x1F,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
/* @672 'P' (13 pixels wide) */
0xFF,
0x07,
0xFF,
0x0F,
0x07,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1E,
0xFF,
0x0F,
0xFF,
0x07,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
0x07,
0x00,
/* @704 'Q' (13 pixels wide) */
0xFC,
0x07,
0xFE,
0x0F,
0x0F,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0xE7,
0x1C,
0xE7,
0x1F,
0xC7,
0x0F,
0x8F,
0x07,
0xDE,
0x0F,
0xFE,
0x1F,
0xFC,
0x1C,
/* @736 'R' (13 pixels wide) */
0xFF,
0x07,
0xFF,
0x0F,
0x07,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1E,
0xFF,
0x0F,
0xFF,
0x07,
0xE7,
0x00,
0xE7,
0x01,
0xC7,
0x03,
0x87,
0x07,
0x07,
0x0F,
0x07,
0x1E,
0x07,
0x1C,
/* @768 'T' (13 pixels wide) */
0xFF,
0x1F,
0xFF,
0x1F,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
/* @800 'V' (13 pixels wide) */
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x1F,
0x1F,
0xBC,
0x07,
0xB8,
0x03,
0xB8,
0x03,
0xF8,
0x07,
0xF0,
0x03,
0xE0,
0x01,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
/* @832 'W' (13 pixels wide) */
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0xE7,
0x1C,
0xE7,
0x1C,
0xE7,
0x1C,
0xE7,
0x1C,
0xE7,
0x1C,
0xFF,
0x1F,
0xFE,
0x0F,
0xFE,
0x0F,
0xBC,
0x07,
/* @864 'X' (13 pixels wide) */
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x0F,
0x1E,
0x1E,
0x0F,
0xBC,
0x07,
0xF8,
0x03,
0xF0,
0x01,
0xF0,
0x01,
0xF8,
0x03,
0xBC,
0x07,
0x1E,
0x0F,
0x0F,
0x1E,
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
/* @896 'Y' (13 pixels wide) */
0x07,
0x1C,
0x07,
0x1C,
0x07,
0x1C,
0x0F,
0x1E,
0x1E,
0x0F,
0xBC,
0x07,
0xF8,
0x03,
0xF0,
0x01,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
0xE0,
0x00,
};
/* Character descriptors for Bedstead 17pt */
/* { [Char width in bits], [Offset into bedstead_17ptCharBitmaps in bytes] } */
const FONT_CHAR_INFO bedstead_17ptDescriptors[] = {
{13, 0}, /* - */
{0, 0}, /* . */
{0, 0}, /* / */
{13, 32}, /* 0 */
{13, 64}, /* 1 */
{13, 96}, /* 2 */
{13, 128}, /* 3 */
{13, 160}, /* 4 */
{13, 192}, /* 5 */
{13, 224}, /* 6 */
{13, 256}, /* 7 */
{13, 288}, /* 8 */
{13, 320}, /* 9 */
{0, 0}, /* : */
{0, 0}, /* ; */
{0, 0}, /* < */
{0, 0}, /* = */
{0, 0}, /* > */
{0, 0}, /* ? */
{0, 0}, /* @ */
{0, 0}, /* A */
{13, 352}, /* B */
{13, 384}, /* C */
{13, 416}, /* D */
{0, 0}, /* E */
{13, 448}, /* F */
{13, 480}, /* G */
{13, 512}, /* H */
{0, 0}, /* I */
{13, 544}, /* J */
{13, 576}, /* K */
{0, 0}, /* L */
{13, 608}, /* M */
{13, 640}, /* N */
{0, 0}, /* O */
{13, 672}, /* P */
{13, 704}, /* Q */
{13, 736}, /* R */
{0, 0}, /* S */
{13, 768}, /* T */
{0, 0}, /* U */
{13, 800}, /* V */
{13, 832}, /* W */
{13, 864}, /* X */
{13, 896}, /* Y */
};
/* Font information for Bedstead 17pt */
const FONT_INFO bedstead_17ptFontInfo = {
16, /* Character height */
'-', /* Start character */
'Y', /* End character */
2, /* Width, in pixels, of space character */
bedstead_17ptDescriptors, /* Character descriptor array */
bedstead_17ptBitmaps, /* Character bitmap array */
};