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

1173 lines
13 KiB
C

#include "karma_future.h"
/* GENERATED BY https://github.com/pavius/the-dot-factory */
/*
** Font data for Karma Future 14pt
*/
/* Character bitmaps for Karma Future 14pt */
const uint8_t karmaFuture_14ptBitmaps[] = {
/* @0 '-' (12 pixels wide) */
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0xFE,
0x03,
0x02,
0x02,
0x02,
0x02,
0xFE,
0x03,
0xFC,
0x03,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
/* @36 '0' (12 pixels wide) */
0xF8,
0x01,
0x0E,
0x03,
0x02,
0x06,
0xF3,
0x06,
0xF9,
0x0C,
0x79,
0x0C,
0x39,
0x0D,
0x99,
0x0C,
0xC9,
0x0C,
0xE9,
0x0C,
0xF1,
0x0C,
0xF1,
0x0C,
0xF1,
0x0C,
0xF3,
0x0E,
0x02,
0x0E,
0x0E,
0x07,
0xFC,
0x07,
0xF8,
0x01,
/* @72 '1' (12 pixels wide) */
0x70,
0x00,
0xD8,
0x00,
0xCE,
0x00,
0xC2,
0x00,
0xC2,
0x00,
0xDE,
0x00,
0xDC,
0x00,
0xDC,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xDE,
0x03,
0x02,
0x02,
0x02,
0x02,
0xFE,
0x03,
0xFC,
0x03,
/* @108 '2' (12 pixels wide) */
0xFC,
0x03,
0x06,
0x03,
0x03,
0x06,
0xF1,
0x04,
0xF9,
0x0C,
0xF9,
0x0C,
0x7F,
0x0E,
0x3E,
0x0F,
0x1E,
0x0F,
0x90,
0x07,
0xC8,
0x03,
0xE4,
0x01,
0xE6,
0x00,
0xF3,
0x07,
0x01,
0x0C,
0x01,
0x0C,
0xFF,
0x0F,
0xFE,
0x0F,
/* @144 '3' (12 pixels wide) */
0xFC,
0x03,
0x06,
0x03,
0x03,
0x06,
0xF1,
0x04,
0xF9,
0x0C,
0xFF,
0x0C,
0xFE,
0x0C,
0x0E,
0x0E,
0x08,
0x0F,
0xF8,
0x0E,
0xF8,
0x04,
0xFF,
0x0C,
0xF9,
0x0C,
0xF1,
0x0C,
0x03,
0x0E,
0x06,
0x0F,
0xFC,
0x07,
0xFC,
0x03,
/* @180 '4' (12 pixels wide) */
0xE0,
0x03,
0x30,
0x03,
0x10,
0x03,
0x08,
0x03,
0x4C,
0x03,
0x64,
0x03,
0x72,
0x03,
0x73,
0x03,
0x79,
0x03,
0x01,
0x04,
0x01,
0x0C,
0x7F,
0x0F,
0x7E,
0x0F,
0x7E,
0x0F,
0x40,
0x03,
0x40,
0x03,
0xC0,
0x03,
0x80,
0x03,
/* @216 '5' (12 pixels wide) */
0xFF,
0x07,
0x01,
0x0C,
0x01,
0x0C,
0xF9,
0x0F,
0xF9,
0x0F,
0xF9,
0x0F,
0x01,
0x03,
0x03,
0x06,
0xFE,
0x04,
0xFE,
0x0C,
0xFC,
0x0C,
0xFF,
0x0C,
0xF9,
0x0C,
0xF1,
0x0C,
0x03,
0x0E,
0x06,
0x0F,
0xFC,
0x07,
0xF8,
0x03,
/* @252 '6' (12 pixels wide) */
0xF0,
0x03,
0x10,
0x03,
0x08,
0x03,
0xCC,
0x03,
0xE6,
0x03,
0xF2,
0x03,
0xF2,
0x00,
0x01,
0x03,
0x01,
0x06,
0xF1,
0x04,
0xF9,
0x0C,
0xF9,
0x0C,
0xF9,
0x0C,
0xF1,
0x0C,
0x03,
0x0E,
0x06,
0x0F,
0xFC,
0x07,
0xF8,
0x03,
/* @288 '7' (12 pixels wide) */
0xFF,
0x07,
0x01,
0x0C,
0x01,
0x0C,
0xFF,
0x0E,
0xFE,
0x0E,
0x7E,
0x0F,
0x40,
0x07,
0x60,
0x07,
0x20,
0x03,
0x30,
0x03,
0x90,
0x01,
0x90,
0x01,
0xD0,
0x00,
0xC8,
0x00,
0xE8,
0x00,
0xE8,
0x00,
0x78,
0x00,
0x78,
0x00,
/* @324 '8' (12 pixels wide) */
0xF8,
0x01,
0x0C,
0x01,
0x06,
0x03,
0x72,
0x06,
0xF2,
0x06,
0xF2,
0x06,
0x72,
0x06,
0x06,
0x07,
0x02,
0x06,
0xF1,
0x04,
0xF9,
0x0C,
0xF9,
0x0C,
0xF9,
0x0C,
0xF1,
0x0C,
0x03,
0x0E,
0x06,
0x0F,
0xFC,
0x07,
0xF8,
0x03,
/* @360 '9' (12 pixels wide) */
0xFC,
0x03,
0x06,
0x03,
0x03,
0x06,
0xF1,
0x04,
0xF9,
0x0C,
0xF9,
0x0C,
0xF1,
0x0C,
0x03,
0x0C,
0x06,
0x0C,
0xFE,
0x0E,
0x7C,
0x0E,
0x38,
0x0F,
0x30,
0x07,
0x1C,
0x07,
0x84,
0x03,
0xC4,
0x01,
0xFC,
0x00,
0xF8,
0x00,
/* @396 'B' (12 pixels wide) */
0xFE,
0x01,
0x02,
0x03,
0x02,
0x02,
0x72,
0x06,
0xF2,
0x06,
0xF2,
0x06,
0x72,
0x06,
0x02,
0x06,
0x02,
0x06,
0xF2,
0x0C,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0C,
0x02,
0x0E,
0x02,
0x0E,
0xFE,
0x07,
0xFC,
0x03,
/* @432 'C' (12 pixels wide) */
0xF0,
0x03,
0x18,
0x02,
0x0C,
0x06,
0xE4,
0x0C,
0xE6,
0x0D,
0xF2,
0x0F,
0x72,
0x0F,
0x32,
0x0F,
0x12,
0x00,
0x12,
0x00,
0x12,
0x00,
0x32,
0x07,
0xA6,
0x0D,
0xE4,
0x0C,
0x08,
0x0E,
0x18,
0x0E,
0xF0,
0x07,
0xF0,
0x03,
/* @468 'D' (12 pixels wide) */
0xFE,
0x01,
0x02,
0x03,
0x02,
0x02,
0x72,
0x06,
0xF2,
0x06,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0E,
0xF2,
0x0E,
0x72,
0x0E,
0x02,
0x06,
0x02,
0x07,
0xFE,
0x03,
0xFC,
0x01,
/* @504 'F' (12 pixels wide) */
0xFE,
0x07,
0x02,
0x0C,
0x02,
0x0C,
0xF2,
0x0F,
0xF2,
0x0F,
0xF2,
0x0F,
0x12,
0x00,
0xF2,
0x03,
0x02,
0x02,
0xF2,
0x03,
0xF2,
0x03,
0xF2,
0x03,
0x12,
0x00,
0x12,
0x00,
0x12,
0x00,
0x12,
0x00,
0x1E,
0x00,
0x1C,
0x00,
/* @540 'G' (12 pixels wide) */
0xF0,
0x07,
0x18,
0x06,
0x0C,
0x0C,
0xE4,
0x0D,
0xE6,
0x0F,
0xF2,
0x0F,
0xF2,
0x0F,
0x32,
0x04,
0x32,
0x0C,
0xF2,
0x0D,
0xF2,
0x0D,
0xE6,
0x0D,
0xE6,
0x0D,
0xE4,
0x0D,
0x08,
0x0C,
0x18,
0x0C,
0xF0,
0x0F,
0xF0,
0x0F,
/* @576 'H' (12 pixels wide) */
0x1E,
0x07,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0xF2,
0x0D,
0x02,
0x0C,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x1E,
0x0F,
0x1C,
0x0F,
/* @612 'J' (12 pixels wide) */
0x80,
0x03,
0x80,
0x06,
0x80,
0x06,
0x80,
0x06,
0x80,
0x06,
0x80,
0x06,
0x80,
0x06,
0x80,
0x06,
0x80,
0x06,
0x80,
0x06,
0x8E,
0x06,
0x8A,
0x06,
0xDA,
0x06,
0x72,
0x06,
0x02,
0x06,
0x06,
0x03,
0xFC,
0x03,
0xF8,
0x01,
/* @648 'K' (12 pixels wide) */
0x1E,
0x07,
0x92,
0x0D,
0xD2,
0x0C,
0x72,
0x0E,
0x32,
0x0E,
0x12,
0x0F,
0x92,
0x07,
0xC2,
0x03,
0xC2,
0x01,
0x92,
0x01,
0x12,
0x01,
0x32,
0x02,
0x32,
0x02,
0x72,
0x06,
0xD2,
0x0C,
0x92,
0x0D,
0x9E,
0x0F,
0x1C,
0x0F,
/* @684 'M' (12 pixels wide) */
0x1E,
0x07,
0x92,
0x0D,
0xA2,
0x0C,
0xE2,
0x0C,
0x62,
0x0C,
0x62,
0x0C,
0x12,
0x0D,
0x12,
0x0D,
0x92,
0x0D,
0x92,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x1E,
0x0F,
0x1C,
0x0F,
/* @720 'N' (12 pixels wide) */
0x1E,
0x07,
0x12,
0x0D,
0x22,
0x0D,
0x62,
0x0D,
0x62,
0x0D,
0xD2,
0x0D,
0xD2,
0x0D,
0x92,
0x0D,
0x92,
0x0D,
0x32,
0x0D,
0x32,
0x0D,
0x72,
0x0C,
0x52,
0x0C,
0xD2,
0x0C,
0x92,
0x0C,
0x92,
0x0D,
0x1E,
0x0F,
0x1C,
0x0F,
/* @756 'P' (12 pixels wide) */
0xFE,
0x03,
0x02,
0x02,
0x02,
0x06,
0xF2,
0x0C,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0C,
0x02,
0x0E,
0x02,
0x0E,
0xF2,
0x0F,
0xF2,
0x07,
0xF2,
0x03,
0x12,
0x00,
0x12,
0x00,
0x12,
0x00,
0x1E,
0x00,
0x1C,
0x00,
/* @792 'Q' (12 pixels wide) */
0xF0,
0x01,
0x18,
0x03,
0x0C,
0x02,
0x64,
0x06,
0xE6,
0x06,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0x32,
0x0D,
0x26,
0x0E,
0x26,
0x0E,
0x64,
0x0E,
0x08,
0x0C,
0x18,
0x0D,
0xF0,
0x0F,
0xF0,
0x0F,
/* @828 'R' (12 pixels wide) */
0xFE,
0x03,
0x02,
0x02,
0x02,
0x06,
0xF2,
0x0C,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0D,
0xF2,
0x0C,
0x02,
0x0E,
0x02,
0x0E,
0x12,
0x0F,
0x32,
0x06,
0x32,
0x06,
0x72,
0x06,
0xD2,
0x0C,
0x92,
0x0D,
0x9E,
0x0F,
0x1C,
0x0F,
/* @864 'T' (12 pixels wide) */
0xFE,
0x03,
0x02,
0x02,
0x02,
0x02,
0xDE,
0x03,
0xDC,
0x03,
0xDC,
0x03,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xD0,
0x00,
0xF0,
0x00,
0xF0,
0x00,
/* @900 'V' (12 pixels wide) */
0x1E,
0x07,
0x12,
0x0D,
0x12,
0x0D,
0x92,
0x0D,
0xA6,
0x0E,
0xA4,
0x0E,
0xA4,
0x0E,
0xE4,
0x06,
0x6C,
0x06,
0x68,
0x06,
0x68,
0x02,
0x18,
0x03,
0x10,
0x03,
0x10,
0x01,
0x90,
0x01,
0x90,
0x01,
0xE0,
0x01,
0xE0,
0x01,
/* @936 'W' (12 pixels wide) */
0x1E,
0x07,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0x12,
0x0D,
0xF2,
0x0D,
0x92,
0x0D,
0x12,
0x0D,
0x62,
0x0C,
0x62,
0x0C,
0xE2,
0x0C,
0xE2,
0x0C,
0xB2,
0x0D,
0x3E,
0x0F,
0x1C,
0x0F,
/* @972 'X' (12 pixels wide) */
0x1E,
0x07,
0x12,
0x0D,
0xB2,
0x0D,
0xA6,
0x0E,
0xE4,
0x0E,
0x6C,
0x0E,
0x18,
0x07,
0x98,
0x07,
0x90,
0x03,
0x10,
0x01,
0x68,
0x02,
0xE4,
0x02,
0xE4,
0x06,
0xE6,
0x06,
0xB2,
0x0D,
0x32,
0x0D,
0x1E,
0x0F,
0x1C,
0x0E,
/* @1008 'Y' (12 pixels wide) */
0x1E,
0x07,
0x12,
0x0D,
0xB2,
0x0D,
0xA6,
0x0E,
0xE4,
0x0E,
0x6C,
0x0E,
0x68,
0x06,
0x18,
0x07,
0x18,
0x03,
0x90,
0x03,
0x90,
0x01,
0x90,
0x01,
0xA0,
0x01,
0xA0,
0x01,
0xA0,
0x01,
0xE0,
0x01,
0xE0,
0x01,
0xE0,
0x01,
};
/* Character descriptors for Karma Future 14pt */
/* { [Char width in bits], [Offset into karmaFuture_14ptCharBitmaps in bytes] } */
const FONT_CHAR_INFO karmaFuture_14ptDescriptors[] = {
{12, 0}, /* - */
{0, 0}, /* . */
{0, 0}, /* / */
{12, 36}, /* 0 */
{12, 72}, /* 1 */
{12, 108}, /* 2 */
{12, 144}, /* 3 */
{12, 180}, /* 4 */
{12, 216}, /* 5 */
{12, 252}, /* 6 */
{12, 288}, /* 7 */
{12, 324}, /* 8 */
{12, 360}, /* 9 */
{0, 0}, /* : */
{0, 0}, /* ; */
{0, 0}, /* < */
{0, 0}, /* = */
{0, 0}, /* > */
{0, 0}, /* ? */
{0, 0}, /* @ */
{0, 0}, /* A */
{12, 396}, /* B */
{12, 432}, /* C */
{12, 468}, /* D */
{0, 0}, /* E */
{12, 504}, /* F */
{12, 540}, /* G */
{12, 576}, /* H */
{0, 0}, /* I */
{12, 612}, /* J */
{12, 648}, /* K */
{0, 0}, /* L */
{12, 684}, /* M */
{12, 720}, /* N */
{0, 0}, /* O */
{12, 756}, /* P */
{12, 792}, /* Q */
{12, 828}, /* R */
{0, 0}, /* S */
{12, 864}, /* T */
{0, 0}, /* U */
{12, 900}, /* V */
{12, 936}, /* W */
{12, 972}, /* X */
{12, 1008}, /* Y */
};
/* Font information for Karma Future 14pt */
const FONT_INFO karmaFuture_14ptFontInfo = {
18, /* Character height */
'-', /* Start character */
'Y', /* End character */
2, /* Width, in pixels, of space character */
karmaFuture_14ptDescriptors, /* Character descriptor array */
karmaFuture_14ptBitmaps, /* Character bitmap array */
};