mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-29 22:23:06 +00:00
940 lines
11 KiB
C
940 lines
11 KiB
C
#include "712serif.h"
|
|
|
|
/* GENERATED BY https://github.com/pavius/the-dot-factory */
|
|
|
|
/*
|
|
** Font data for 7:12 Serif 24pt
|
|
*/
|
|
|
|
/* Character bitmaps for 7:12 Serif 24pt */
|
|
const uint8_t _712Serif_24ptBitmaps[] = {
|
|
/* @0 '-' (14 pixels wide) */
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0xFC,
|
|
0x0F,
|
|
0xFC,
|
|
0x0F,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
|
|
/* @28 '0' (14 pixels wide) */
|
|
0xF0,
|
|
0x03,
|
|
0xF0,
|
|
0x03,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0xF0,
|
|
0x03,
|
|
0xF0,
|
|
0x03,
|
|
|
|
/* @56 '1' (14 pixels wide) */
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xFC,
|
|
0x00,
|
|
0xFC,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|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x03,
|
|
0x30,
|
|
0x03,
|
|
0x30,
|
|
0x03,
|
|
0x30,
|
|
0x03,
|
|
|
|
/* @756 'X' (14 pixels wide) */
|
|
0x3F,
|
|
0x3F,
|
|
0x3F,
|
|
0x3F,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x30,
|
|
0x03,
|
|
0x30,
|
|
0x03,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0x30,
|
|
0x03,
|
|
0x30,
|
|
0x03,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x3F,
|
|
0x3F,
|
|
0x3F,
|
|
0x3F,
|
|
|
|
/* @784 'Y' (14 pixels wide) */
|
|
0x3F,
|
|
0x3F,
|
|
0x3F,
|
|
0x3F,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x0C,
|
|
0x30,
|
|
0x03,
|
|
0x30,
|
|
0x03,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xC0,
|
|
0x00,
|
|
0xF0,
|
|
0x03,
|
|
0xF0,
|
|
0x03,
|
|
};
|
|
|
|
/* Character descriptors for 7:12 Serif 24pt */
|
|
/* { [Char width in bits], [Offset into _712Serif_24ptCharBitmaps in bytes] } */
|
|
const FONT_CHAR_INFO _712Serif_24ptDescriptors[] = {
|
|
{14, 0}, /* - */
|
|
{0, 0}, /* . */
|
|
{0, 0}, /* / */
|
|
{14, 28}, /* 0 */
|
|
{14, 56}, /* 1 */
|
|
{14, 84}, /* 2 */
|
|
{14, 112}, /* 3 */
|
|
{14, 140}, /* 4 */
|
|
{14, 168}, /* 5 */
|
|
{14, 196}, /* 6 */
|
|
{14, 224}, /* 7 */
|
|
{14, 252}, /* 8 */
|
|
{14, 280}, /* 9 */
|
|
{0, 0}, /* : */
|
|
{0, 0}, /* ; */
|
|
{0, 0}, /* < */
|
|
{0, 0}, /* = */
|
|
{0, 0}, /* > */
|
|
{0, 0}, /* ? */
|
|
{0, 0}, /* @ */
|
|
{0, 0}, /* A */
|
|
{14, 308}, /* B */
|
|
{14, 336}, /* C */
|
|
{14, 364}, /* D */
|
|
{0, 0}, /* E */
|
|
{14, 392}, /* F */
|
|
{14, 420}, /* G */
|
|
{14, 448}, /* H */
|
|
{0, 0}, /* I */
|
|
{14, 476}, /* J */
|
|
{14, 504}, /* K */
|
|
{0, 0}, /* L */
|
|
{14, 532}, /* M */
|
|
{14, 560}, /* N */
|
|
{0, 0}, /* O */
|
|
{14, 588}, /* P */
|
|
{14, 616}, /* Q */
|
|
{14, 644}, /* R */
|
|
{0, 0}, /* S */
|
|
{14, 672}, /* T */
|
|
{0, 0}, /* U */
|
|
{14, 700}, /* V */
|
|
{14, 728}, /* W */
|
|
{14, 756}, /* X */
|
|
{14, 784}, /* Y */
|
|
};
|
|
|
|
/* Font information for 7:12 Serif 24pt */
|
|
const FONT_INFO _712Serif_24ptFontInfo = {
|
|
14, /* Character height */
|
|
'-', /* Start character */
|
|
'Y', /* End character */
|
|
2, /* Width, in pixels, of space character */
|
|
_712Serif_24ptDescriptors, /* Character descriptor array */
|
|
_712Serif_24ptBitmaps, /* Character bitmap array */
|
|
};
|