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

1173 lines
13 KiB
C
Raw Normal View History

#include "funclimbing.h"
/* GENERATED BY https://github.com/pavius/the-dot-factory */
/*
** Font data for fun climbing (Demo) 18pt
*/
/* Character bitmaps for fun climbing (Demo) 18pt */
const uint8_t funclimbingDemo_18ptBitmaps[] = {
/* @0 '-' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0xE0,
0x03,
0xE0,
0x03,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @36 '0' (16 pixels wide) */
0x00,
0x00,
0x80,
0x00,
0xE0,
0x03,
0x20,
0x02,
0x10,
0x04,
0x10,
0x04,
0x10,
0x04,
0x08,
0x04,
0x08,
0x08,
0x08,
0x08,
0x08,
0x04,
0x10,
0x04,
0x10,
0x04,
0x10,
0x04,
0x20,
0x02,
0xE0,
0x01,
0x00,
0x00,
0x00,
0x00,
/* @72 '1' (16 pixels wide) */
0x00,
0x02,
0x00,
0x03,
0x80,
0x03,
0xC0,
0x02,
0x60,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x00,
/* @108 '2' (16 pixels wide) */
0x00,
0x00,
0xC0,
0x07,
0x60,
0x04,
0x20,
0x04,
0x10,
0x04,
0x10,
0x04,
0x10,
0x04,
0x08,
0x02,
0x08,
0x02,
0x00,
0x01,
0x00,
0x01,
0x80,
0x00,
0x80,
0x00,
0x40,
0x00,
0x60,
0x00,
0xC0,
0x03,
0x00,
0x1C,
0x00,
0x00,
/* @144 '3' (16 pixels wide) */
0x00,
0x02,
0x80,
0x05,
0x40,
0x08,
0x40,
0x08,
0x40,
0x10,
0x40,
0x10,
0x00,
0x10,
0x00,
0x08,
0x00,
0x08,
0x00,
0x0C,
0x00,
0x06,
0x00,
0x03,
0x80,
0x0F,
0x00,
0x10,
0x00,
0x10,
0x30,
0x08,
0xC0,
0x07,
0x00,
0x00,
/* @180 '4' (16 pixels wide) */
0x00,
0x10,
0x00,
0x10,
0x40,
0x10,
0x40,
0x10,
0x40,
0x10,
0x40,
0x10,
0x40,
0x10,
0x20,
0x10,
0x20,
0x10,
0x20,
0x10,
0x20,
0x10,
0x30,
0x10,
0xF0,
0x1F,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
/* @216 '5' (16 pixels wide) */
0x00,
0x00,
0x60,
0x00,
0xA0,
0x03,
0x20,
0x04,
0x20,
0x00,
0x30,
0x00,
0x10,
0x00,
0x10,
0x00,
0xF0,
0x00,
0x80,
0x03,
0x00,
0x04,
0x00,
0x08,
0x00,
0x08,
0x00,
0x08,
0x00,
0x04,
0x80,
0x03,
0xF0,
0x00,
0x00,
0x00,
/* @252 '6' (16 pixels wide) */
0x00,
0x00,
0x40,
0x00,
0x20,
0x00,
0x20,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x18,
0x03,
0xC8,
0x06,
0x28,
0x0C,
0x18,
0x08,
0x18,
0x08,
0x08,
0x08,
0x08,
0x08,
0x10,
0x08,
0x30,
0x0C,
0xC0,
0x07,
0x00,
0x00,
/* @288 '7' (16 pixels wide) */
0x00,
0x00,
0x00,
0x0F,
0xF0,
0x09,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x06,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x02,
0x00,
0x03,
0x00,
0x01,
0x00,
0x01,
0x00,
0x01,
0x00,
0x00,
/* @324 '8' (16 pixels wide) */
0x80,
0x01,
0x60,
0x02,
0x30,
0x04,
0x10,
0x08,
0x10,
0x08,
0x08,
0x08,
0x08,
0x08,
0x10,
0x0C,
0x10,
0x04,
0x60,
0x03,
0xC0,
0x01,
0x40,
0x03,
0x20,
0x04,
0x20,
0x04,
0x20,
0x04,
0x20,
0x04,
0xC0,
0x03,
0x00,
0x00,
/* @360 '9' (16 pixels wide) */
0x00,
0x00,
0xC0,
0x01,
0x20,
0x02,
0x10,
0x04,
0x10,
0x04,
0x10,
0x04,
0x10,
0x04,
0x10,
0x04,
0x10,
0x04,
0xE0,
0x03,
0x00,
0x02,
0x00,
0x02,
0x00,
0x01,
0x00,
0x01,
0x80,
0x00,
0x80,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @396 'B' (16 pixels wide) */
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x18,
0x00,
0x18,
0x00,
0x08,
0x00,
0x08,
0x00,
0xE8,
0x0F,
0x38,
0x10,
0x10,
0x10,
0x10,
0x30,
0x10,
0x10,
0x10,
0x18,
0xF0,
0x07,
0x20,
0x00,
/* @432 'C' (16 pixels wide) */
0x00,
0x03,
0x80,
0x06,
0x40,
0x04,
0x40,
0x04,
0x40,
0x08,
0x40,
0x00,
0x20,
0x00,
0x20,
0x00,
0x20,
0x00,
0x20,
0x00,
0x40,
0x00,
0x40,
0x08,
0x40,
0x08,
0x40,
0x08,
0xC0,
0x08,
0x80,
0x04,
0x80,
0x05,
0x00,
0x02,
/* @468 'D' (16 pixels wide) */
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x80,
0x07,
0x40,
0x04,
0x20,
0x04,
0x20,
0x04,
0x10,
0x04,
0x10,
0x04,
0x30,
0x04,
0x20,
0x04,
0x20,
0x04,
0x40,
0x04,
0x80,
0x05,
0x00,
0x07,
/* @504 'F' (16 pixels wide) */
0x00,
0x02,
0x80,
0x0D,
0xC0,
0x08,
0x40,
0x10,
0x60,
0x10,
0x20,
0x00,
0x20,
0x00,
0x20,
0x00,
0x20,
0x00,
0x20,
0x00,
0x20,
0x00,
0x20,
0x00,
0xF8,
0x01,
0x20,
0x00,
0x20,
0x00,
0x20,
0x00,
0x20,
0x00,
0x40,
0x00,
/* @540 'G' (16 pixels wide) */
0x80,
0x00,
0x60,
0x01,
0x20,
0x03,
0x30,
0x02,
0x10,
0x02,
0x10,
0x02,
0x10,
0x02,
0x10,
0x02,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0xD0,
0x0F,
0x10,
0x02,
0x10,
0x01,
0x20,
0x01,
0xE0,
0x00,
0x40,
0x00,
/* @576 'H' (16 pixels wide) */
0x00,
0x00,
0x08,
0x00,
0x08,
0x00,
0x08,
0x00,
0x18,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x0F,
0x90,
0x09,
0xD0,
0x18,
0x50,
0x10,
0x30,
0x10,
0x30,
0x10,
0x10,
0x10,
0x00,
0x00,
/* @612 'J' (16 pixels wide) */
0x00,
0x00,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x00,
0x04,
0x10,
0x04,
0x10,
0x04,
0x10,
0x04,
0x20,
0x04,
0x20,
0x02,
0x20,
0x02,
0x60,
0x03,
0xC0,
0x01,
0x00,
0x00,
/* @648 'K' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x08,
0x10,
0x0C,
0x10,
0x02,
0xB0,
0x01,
0xE0,
0x00,
0x60,
0x00,
0x60,
0x00,
0xA0,
0x00,
0x20,
0x01,
0x20,
0x02,
0x20,
0x0C,
0x20,
0x08,
0x00,
0x00,
0x00,
0x00,
/* @684 'M' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x10,
0x10,
0x30,
0x18,
0x30,
0x18,
0x50,
0x34,
0x50,
0x24,
0xC8,
0x22,
0x88,
0x22,
0x88,
0x21,
0x08,
0x21,
0x04,
0x60,
0x04,
0x40,
0x04,
0x40,
0x04,
0x40,
0x02,
0x40,
0x00,
0x00,
0x00,
0x00,
/* @720 'N' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x02,
0x01,
0x86,
0x07,
0x44,
0x04,
0x24,
0x08,
0x24,
0x08,
0x14,
0x18,
0x14,
0x10,
0x1C,
0x10,
0x0C,
0x10,
0x0C,
0x10,
0x08,
0x10,
0x00,
0x10,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @756 'P' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0xE0,
0x01,
0x20,
0x02,
0x20,
0x04,
0x60,
0x04,
0x40,
0x04,
0x40,
0x04,
0x40,
0x04,
0x40,
0x06,
0x40,
0x02,
0xC0,
0x01,
0xC0,
0x00,
0x40,
0x00,
0x40,
0x00,
0x40,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @792 'Q' (16 pixels wide) */
0x00,
0x00,
0xC0,
0x03,
0x30,
0x06,
0x18,
0x08,
0x08,
0x10,
0x04,
0x10,
0x04,
0x20,
0x04,
0x20,
0x04,
0x20,
0x08,
0x21,
0x08,
0x33,
0x10,
0x12,
0x30,
0x0E,
0xC0,
0x07,
0x00,
0x08,
0x00,
0x08,
0x00,
0x10,
0x00,
0x00,
/* @828 'R' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x00,
0x07,
0x88,
0x0D,
0x48,
0x08,
0x68,
0x00,
0x28,
0x00,
0x28,
0x00,
0x18,
0x00,
0x18,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x10,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @864 'T' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x80,
0x00,
0x80,
0x00,
0x80,
0x00,
0x80,
0x00,
0xE0,
0x03,
0x80,
0x00,
0x80,
0x00,
0x80,
0x00,
0x80,
0x04,
0x80,
0x04,
0x80,
0x04,
0x80,
0x04,
0x80,
0x05,
0x00,
0x07,
0x00,
0x00,
0x00,
0x00,
/* @900 'V' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x08,
0x10,
0x10,
0x10,
0x10,
0x18,
0x10,
0x08,
0x10,
0x08,
0x10,
0x04,
0x10,
0x04,
0x20,
0x04,
0x20,
0x02,
0x20,
0x02,
0x20,
0x01,
0x40,
0x01,
0xC0,
0x01,
0xC0,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @936 'W' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x03,
0x80,
0x02,
0x80,
0x02,
0x40,
0x02,
0x40,
0x02,
0x41,
0x86,
0x42,
0x84,
0x42,
0x44,
0x44,
0x44,
0x64,
0x24,
0x28,
0x28,
0x28,
0x18,
0x30,
0x18,
0x30,
0x18,
0x20,
0x00,
0x00,
0x00,
0x00,
/* @972 'X' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x08,
0x08,
0x10,
0x04,
0x20,
0x04,
0x40,
0x02,
0x80,
0x03,
0x80,
0x01,
0x80,
0x03,
0x40,
0x02,
0x30,
0x04,
0x18,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @1008 'Y' (16 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x08,
0x08,
0x08,
0x08,
0x08,
0x0C,
0x08,
0x0C,
0x08,
0x0A,
0x10,
0x0A,
0xF0,
0x09,
0x00,
0x0C,
0x10,
0x04,
0x10,
0x04,
0x20,
0x02,
0xE0,
0x03,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
};
/* Character descriptors for fun climbing (Demo) 18pt */
/* { [Char width in bits], [Offset into funclimbingDemo_18ptCharBitmaps in bytes] } */
const FONT_CHAR_INFO funclimbingDemo_18ptDescriptors[] = {
{16, 0}, /* - */
{0, 0}, /* . */
{0, 0}, /* / */
{16, 36}, /* 0 */
{16, 72}, /* 1 */
{16, 108}, /* 2 */
{16, 144}, /* 3 */
{16, 180}, /* 4 */
{16, 216}, /* 5 */
{16, 252}, /* 6 */
{16, 288}, /* 7 */
{16, 324}, /* 8 */
{16, 360}, /* 9 */
{0, 0}, /* : */
{0, 0}, /* ; */
{0, 0}, /* < */
{0, 0}, /* = */
{0, 0}, /* > */
{0, 0}, /* ? */
{0, 0}, /* @ */
{0, 0}, /* A */
{16, 396}, /* B */
{16, 432}, /* C */
{16, 468}, /* D */
{0, 0}, /* E */
{16, 504}, /* F */
{16, 540}, /* G */
{16, 576}, /* H */
{0, 0}, /* I */
{16, 612}, /* J */
{16, 648}, /* K */
{0, 0}, /* L */
{16, 684}, /* M */
{16, 720}, /* N */
{0, 0}, /* O */
{16, 756}, /* P */
{16, 792}, /* Q */
{16, 828}, /* R */
{0, 0}, /* S */
{16, 864}, /* T */
{0, 0}, /* U */
{16, 900}, /* V */
{16, 936}, /* W */
{16, 972}, /* X */
{16, 1008}, /* Y */
};
/* Font information for fun climbing (Demo) 18pt */
const FONT_INFO funclimbingDemo_18ptFontInfo = {
18, /* Character height */
'-', /* Start character */
'Y', /* End character */
2, /* Width, in pixels, of space character */
funclimbingDemo_18ptDescriptors, /* Character descriptor array */
funclimbingDemo_18ptBitmaps, /* Character bitmap array */
};