NerdNos-Firmware/lib/hansolov2/fonts/ui_font_calculator32.c

686 lines
25 KiB
C
Raw Normal View History

2024-03-19 15:46:02 +01:00
/*******************************************************************************
* Size: 32 px
* Bpp: 1
* Opts: --bpp 1 --size 32 --font /home/valerio/SquareLine/assets/Calculator.ttf -o /home/valerio/SquareLine/assets/ui_font_calculator32.c --format lvgl -r 0x20-0x7f --no-compress --no-prefilter
******************************************************************************/
#include "../ui.h"
#ifndef UI_FONT_CALCULATOR32
#define UI_FONT_CALCULATOR32 1
#endif
#if UI_FONT_CALCULATOR32
/*-----------------
* BITMAPS
*----------------*/
/*Store the image of the glyphs*/
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
/* U+0020 " " */
0x0,
/* U+0021 "!" */
0xff, 0xbf, 0xe8,
/* U+0022 "\"" */
0x99, 0x99, 0x99,
/* U+0023 "#" */
0x4, 0x10, 0x2, 0x8, 0x1, 0x4, 0x0, 0x82,
0x0, 0x41, 0x7, 0xdf, 0x7c, 0x10, 0x40, 0x8,
0x20, 0x4, 0x10, 0x2, 0x8, 0x1, 0x4, 0x0,
0x82, 0xf, 0xbe, 0xf8, 0x20, 0x80, 0x10, 0x40,
0x8, 0x20, 0x4, 0x10, 0x2, 0x8, 0x0,
/* U+0024 "$" */
0x4, 0x0, 0x80, 0x10, 0x3f, 0xe8, 0x3, 0x8,
0x61, 0x4, 0x20, 0x84, 0x10, 0x82, 0x10, 0x42,
0x8, 0x0, 0xff, 0x80, 0x8, 0x21, 0x4, 0x20,
0x84, 0x10, 0x82, 0x10, 0x43, 0x8, 0x60, 0xb,
0xfe, 0x4, 0x0, 0x80, 0x10, 0x0,
/* U+0025 "%" */
0x0, 0x3, 0x0, 0x0, 0xc, 0x0, 0x0, 0x20,
0x1f, 0x1, 0x80, 0x82, 0x4, 0x2, 0x8, 0x30,
0x8, 0x20, 0xc0, 0x20, 0x80, 0x0, 0x82, 0x10,
0x1, 0xf0, 0xc0, 0x0, 0x3, 0x0, 0x0, 0x8,
0x0, 0x0, 0x60, 0x0, 0x1, 0x0, 0x0, 0x4,
0x1f, 0x80, 0x20, 0x81, 0x0, 0x82, 0x4, 0x6,
0x8, 0x10, 0x10, 0x20, 0x40, 0xc0, 0x81, 0x3,
0x1, 0xf8, 0x8, 0x0, 0x0, 0x20, 0x0, 0x0,
/* U+0026 "&" */
0x1, 0xf0, 0x0, 0x0, 0x62, 0x0, 0x0, 0x18,
0x60, 0x0, 0x6, 0x6, 0x0, 0x0, 0x80, 0x40,
0x0, 0x10, 0x8, 0x0, 0x2, 0x1, 0x0, 0x0,
0x60, 0x60, 0x0, 0x6, 0x18, 0x0, 0x0, 0x62,
0x0, 0x0, 0x7, 0x80, 0x0, 0x0, 0xe0, 0x3f,
0x0, 0x3e, 0x0, 0x60, 0xe, 0x60, 0x1f, 0xc3,
0x8e, 0x7, 0x0, 0xe0, 0xe1, 0xc0, 0x38, 0xe,
0x70, 0xc, 0x0, 0xdc, 0x3, 0x0, 0xf, 0x0,
0x20, 0x1, 0xc0, 0x44, 0x0, 0x7c, 0x18, 0x80,
0xc, 0xc6, 0x10, 0x3, 0xd, 0x81, 0x80, 0xc0,
0xa0, 0x18, 0x30, 0x0, 0x0, 0xfc, 0x0, 0x0,
0x1, 0x0, 0x0, 0x0,
/* U+0027 "'" */
0xff, 0xc0,
/* U+0028 "(" */
0x13, 0x26, 0x64, 0xc8, 0x88, 0x88, 0x88, 0x88,
0x88, 0x88, 0x88, 0x88, 0x88, 0x8c, 0xc4, 0x62,
0x23, 0x10,
/* U+0029 ")" */
0xc4, 0x46, 0x23, 0x31, 0x11, 0x11, 0x11, 0x11,
0x11, 0x11, 0x11, 0x11, 0x11, 0x13, 0x22, 0x64,
0xc8,
/* U+002A "*" */
0x8, 0x8, 0x8, 0xf7, 0x14, 0x76, 0x62,
/* U+002B "+" */
0x2, 0x0, 0x10, 0x0, 0x80, 0x4, 0x0, 0x20,
0x1, 0x3, 0xf7, 0xe0, 0x40, 0x2, 0x0, 0x10,
0x0, 0x80, 0x4, 0x0, 0x20, 0x0,
/* U+002C "," */
0xfc,
/* U+002D "-" */
0xfc,
/* U+002E "." */
0x80,
/* U+002F "/" */
0x0, 0x40, 0x10, 0xc, 0x2, 0x1, 0x80, 0x60,
0x10, 0x4, 0x2, 0x1, 0x80, 0x40, 0x30, 0xc,
0x2, 0x1, 0x80, 0x40, 0x10, 0xc, 0x2, 0x1,
0x80, 0x60, 0x10, 0xc, 0x2, 0x0,
/* U+0030 "0" */
0x7f, 0xd0, 0x6, 0x2, 0xc0, 0xd8, 0x1b, 0x2,
0x60, 0xcc, 0x11, 0x86, 0x30, 0xc4, 0x0, 0x40,
0x18, 0x83, 0x30, 0x66, 0xc, 0x81, 0xb0, 0x34,
0x6, 0x80, 0xc0, 0x17, 0xfc,
/* U+0031 "1" */
0x71, 0xe3, 0x40, 0x81, 0x2, 0x4, 0x8, 0x10,
0x20, 0x40, 0x81, 0x2, 0x4, 0x8, 0x10, 0x20,
0x47, 0x70,
/* U+0032 "2" */
0x7f, 0xd0, 0x6, 0x0, 0x80, 0x10, 0x2, 0x0,
0x40, 0x8, 0x1, 0x0, 0x20, 0x5, 0xff, 0x40,
0x8, 0x1, 0x0, 0x20, 0x4, 0x0, 0x80, 0x10,
0x2, 0x0, 0x40, 0x7, 0xfc,
/* U+0033 "3" */
0xff, 0x80, 0x10, 0x4, 0x1, 0x0, 0x40, 0x10,
0x4, 0x1, 0x0, 0x40, 0x1f, 0xf8, 0x1, 0x0,
0x40, 0x10, 0x4, 0x1, 0x0, 0x40, 0x10, 0x4,
0x1, 0xff, 0x80,
/* U+0034 "4" */
0x80, 0x30, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x2f, 0xf8, 0x0, 0x80,
0x10, 0x2, 0x0, 0x40, 0x8, 0x1, 0x0, 0x20,
0x4, 0x0, 0x80,
/* U+0035 "5" */
0x7f, 0xd0, 0x2, 0x0, 0x40, 0x8, 0x1, 0x0,
0x20, 0x4, 0x0, 0x80, 0x10, 0x1, 0xff, 0x0,
0x10, 0x2, 0x0, 0x40, 0x8, 0x1, 0x0, 0x30,
0x6, 0x0, 0xc0, 0x17, 0xfc,
/* U+0036 "6" */
0x7f, 0xd0, 0x2, 0x0, 0x40, 0x8, 0x1, 0x0,
0x20, 0x4, 0x0, 0x80, 0x10, 0x1, 0xff, 0x40,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x6, 0x0, 0xc0, 0x17, 0xfc,
/* U+0037 "7" */
0xff, 0x80, 0x10, 0x4, 0x1, 0x0, 0x40, 0x10,
0x4, 0x1, 0x0, 0x40, 0x10, 0x4, 0x1, 0x0,
0x40, 0x10, 0x4, 0x1, 0x0, 0x40, 0x10, 0x4,
/* U+0038 "8" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x5, 0xff, 0x40,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x6, 0x0, 0xc0, 0x17, 0xfc,
/* U+0039 "9" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x5, 0xff, 0x0,
0x10, 0x2, 0x0, 0x40, 0x8, 0x1, 0x0, 0x20,
0x4, 0x0, 0x80, 0x17, 0xfc,
/* U+003A ":" */
0x80, 0x8,
/* U+003B ";" */
0xc0, 0xf, 0x80,
/* U+003C "<" */
0x3, 0x6, 0xc, 0x1c, 0x38, 0x70, 0x60, 0xc0,
0x80, 0xc0, 0xc0, 0x60, 0x30, 0x18, 0xc, 0x6,
0x3,
/* U+003D "=" */
0xff, 0x80, 0x0, 0x0, 0x0, 0x7, 0xfc,
/* U+003E ">" */
0x80, 0xc0, 0x60, 0x30, 0x18, 0xc, 0x6, 0x3,
0x3, 0x3, 0x6, 0xc, 0x18, 0x30, 0x60, 0xc0,
0xc0,
/* U+003F "?" */
0xff, 0x80, 0x10, 0x4, 0x1, 0x0, 0x40, 0x10,
0x4, 0x1, 0x0, 0x41, 0xe0, 0x80, 0x20, 0x8,
0x2, 0x0, 0x80, 0x20, 0x0, 0x0, 0x0, 0x0,
0x20,
/* U+0040 "@" */
0x7f, 0xff, 0xe8, 0x0, 0x1, 0x80, 0x0, 0x18,
0x0, 0x1, 0x80, 0x0, 0x18, 0x0, 0x41, 0x80,
0x4, 0x18, 0x1f, 0x81, 0x82, 0x4, 0x18, 0x20,
0x41, 0x82, 0x4, 0x18, 0x20, 0x41, 0x82, 0x4,
0x18, 0x1f, 0xbe, 0x80, 0x0, 0x8, 0x0, 0x0,
0x80, 0x0, 0x8, 0x0, 0x0, 0x80, 0x0, 0x7,
0xff, 0xfe,
/* U+0041 "A" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x5, 0xff, 0x40,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x6, 0x0, 0xc0, 0x10,
/* U+0042 "B" */
0x7c, 0x20, 0x48, 0x1a, 0x2, 0x80, 0x60, 0x18,
0x6, 0x1, 0x80, 0xa0, 0x67, 0xc2, 0x4, 0x81,
0xa0, 0x28, 0x6, 0x1, 0x80, 0x60, 0x8, 0xa,
0x4, 0x7c, 0x0,
/* U+0043 "C" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x20, 0x4, 0x0, 0x80, 0x10, 0x0, 0x0, 0x40,
0x8, 0x1, 0x0, 0x20, 0x4, 0x0, 0x80, 0x30,
0x6, 0x0, 0xc0, 0x17, 0xfc,
/* U+0044 "D" */
0x7c, 0x8, 0x18, 0x80, 0xc8, 0x6, 0x80, 0x38,
0x0, 0x80, 0x18, 0x1, 0x80, 0x18, 0x1, 0x0,
0x18, 0x1, 0x80, 0x18, 0x1, 0x80, 0x18, 0x1,
0x80, 0x38, 0x6, 0x80, 0xc8, 0x18, 0x7f, 0x0,
/* U+0045 "E" */
0x7f, 0xe0, 0x8, 0x2, 0x0, 0x80, 0x20, 0x8,
0x2, 0x0, 0x80, 0x20, 0xf, 0xfe, 0x0, 0x80,
0x20, 0x8, 0x2, 0x0, 0x80, 0x20, 0x8, 0x2,
0x0, 0x7f, 0xc0,
/* U+0046 "F" */
0x7f, 0xe0, 0x8, 0x2, 0x0, 0x80, 0x20, 0x8,
0x2, 0x0, 0x80, 0x20, 0x7, 0xfe, 0x0, 0x80,
0x20, 0x8, 0x2, 0x0, 0x80, 0x20, 0x8, 0x2,
0x0,
/* U+0047 "G" */
0x7f, 0xc2, 0x0, 0x88, 0x2, 0x20, 0x8, 0x80,
0x2, 0x0, 0x8, 0x0, 0x20, 0x0, 0x80, 0x2,
0x0, 0x0, 0x1d, 0xe0, 0x8, 0x80, 0x22, 0x0,
0x88, 0x2, 0x20, 0x8, 0x80, 0x22, 0x0, 0x88,
0x2, 0x20, 0x8, 0x7f, 0xc0,
/* U+0048 "H" */
0x80, 0x30, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x2f, 0xfa, 0x0, 0xc0,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x6, 0x0, 0x80,
/* U+0049 "I" */
0xee, 0x20, 0x40, 0x81, 0x2, 0x4, 0x8, 0x10,
0x20, 0x0, 0x81, 0x2, 0x4, 0x8, 0x10, 0x20,
0x40, 0x8e, 0xe0,
/* U+004A "J" */
0x7e, 0xfc, 0x4, 0x0, 0x10, 0x0, 0x40, 0x1,
0x0, 0x4, 0x0, 0x10, 0x0, 0x40, 0x1, 0x0,
0x4, 0x0, 0x0, 0x0, 0x40, 0x1, 0x0, 0x4,
0x8, 0x10, 0x20, 0x40, 0x81, 0x2, 0x4, 0x8,
0x10, 0x20, 0x40, 0x7e, 0x0,
/* U+004B "K" */
0x80, 0x20, 0x38, 0xe, 0x6, 0x83, 0x21, 0x88,
0xc2, 0x60, 0xb0, 0x0, 0xb, 0x2, 0x60, 0x8c,
0x21, 0x88, 0x32, 0x6, 0x80, 0xe0, 0x38, 0x0,
/* U+004C "L" */
0x80, 0x20, 0x8, 0x2, 0x0, 0x80, 0x20, 0x8,
0x2, 0x0, 0x80, 0x20, 0x8, 0x2, 0x0, 0x80,
0x20, 0x8, 0x2, 0x0, 0x80, 0x20, 0x7, 0xfc,
/* U+004D "M" */
0xc0, 0x3c, 0x16, 0x86, 0xd8, 0xd9, 0x13, 0x36,
0x66, 0x8c, 0x51, 0x80, 0x30, 0x6, 0x0, 0xc0,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x6, 0x0, 0x80,
/* U+004E "N" */
0x80, 0x38, 0x7, 0x80, 0xd0, 0x1b, 0x3, 0x20,
0x66, 0xc, 0x41, 0x88, 0x30, 0x86, 0x18, 0xc1,
0x18, 0x33, 0x2, 0x60, 0x6c, 0x5, 0x80, 0xf0,
0x6, 0x0, 0x80,
/* U+004F "O" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x4, 0x0, 0x40,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x6, 0x0, 0xc0, 0x17, 0xfc,
/* U+0050 "P" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x5, 0xff, 0x40,
0x8, 0x1, 0x0, 0x20, 0x4, 0x0, 0x80, 0x10,
0x2, 0x0, 0x40, 0x0,
/* U+0051 "Q" */
0x7f, 0xc2, 0x0, 0x88, 0x2, 0x20, 0x8, 0x80,
0x22, 0x0, 0x88, 0x2, 0x20, 0x8, 0x80, 0x22,
0x0, 0x80, 0x0, 0x20, 0x8, 0x80, 0x22, 0x0,
0x88, 0x32, 0x20, 0xe8, 0x81, 0xe2, 0x3, 0x88,
0x3, 0xa0, 0xb, 0x7f, 0xc4,
/* U+0052 "R" */
0x7f, 0xc8, 0x2, 0x80, 0x28, 0x2, 0x80, 0x28,
0x2, 0x80, 0x28, 0x2, 0x80, 0x28, 0x2, 0x7f,
0xc8, 0x4, 0x80, 0x48, 0x6, 0x80, 0x28, 0x2,
0x80, 0x38, 0x1, 0x80, 0x18, 0x0,
/* U+0053 "S" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x1, 0x0,
0x20, 0x4, 0x0, 0x80, 0x10, 0x1, 0xff, 0x0,
0x10, 0x2, 0x0, 0x40, 0x8, 0x1, 0x0, 0x30,
0x6, 0x0, 0xc0, 0x17, 0xfc,
/* U+0054 "T" */
0xfd, 0xf8, 0x10, 0x0, 0x80, 0x4, 0x0, 0x20,
0x1, 0x0, 0x8, 0x0, 0x40, 0x2, 0x0, 0x10,
0x0, 0x80, 0x4, 0x0, 0x20, 0x1, 0x0, 0x8,
0x0, 0x40, 0x2, 0x0, 0x10, 0x0, 0x80,
/* U+0055 "U" */
0x80, 0x30, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x6, 0x0, 0xc0,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x5, 0xff, 0x0,
/* U+0056 "V" */
0x0, 0x6, 0x0, 0x3c, 0x0, 0xf0, 0x2, 0x40,
0x19, 0x80, 0x42, 0x3, 0x8, 0xc, 0x0, 0x20,
0x41, 0x81, 0x86, 0x2, 0x10, 0xc, 0xc0, 0x12,
0x0, 0x78, 0x1, 0xe0,
/* U+0057 "W" */
0x80, 0x30, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x6, 0x20, 0xcd,
0x19, 0xb3, 0x26, 0x6c, 0x6d, 0xd, 0xe0, 0xfc,
0x1e, 0x0, 0x80,
/* U+0058 "X" */
0x83, 0xf, 0x1a, 0x26, 0xcd, 0xa, 0x0, 0x0,
0x71, 0xa3, 0x64, 0x58, 0xe1, 0xc1, 0x0,
/* U+0059 "Y" */
0x3, 0x7, 0x1e, 0x34, 0x4d, 0x8a, 0x14, 0x0,
0x20, 0x40, 0x81, 0x2, 0x4, 0x8, 0x10, 0x20,
/* U+005A "Z" */
0x7f, 0xc0, 0x8, 0x1, 0x0, 0x60, 0xc, 0x1,
0x0, 0x60, 0x8, 0x1, 0x0, 0xc0, 0x38, 0x6,
0x1, 0x0, 0x60, 0x8, 0x1, 0x0, 0x60, 0x8,
0x3, 0x0, 0x60, 0x7, 0xfc,
/* U+005B "[" */
0x78, 0x88, 0x88, 0x88, 0x88, 0x8, 0x88, 0x88,
0x88, 0x88, 0x70,
/* U+005C "\\" */
0x80, 0x20, 0xc, 0x1, 0x0, 0x60, 0x18, 0x2,
0x0, 0x0, 0x10, 0x6, 0x1, 0x80, 0x20, 0xc,
0x1, 0x0, 0x60, 0x8, 0x3, 0x0, 0xc0, 0x10,
0x6, 0x0, 0x80, 0x30, 0xc, 0x1,
/* U+005D "]" */
0xe1, 0x11, 0x11, 0x11, 0x11, 0x1, 0x11, 0x11,
0x11, 0x11, 0xf0,
/* U+005E "^" */
0x28, 0x28, 0x6c, 0x64, 0x46, 0xc6, 0x82, 0x82,
/* U+005F "_" */
0xff, 0xff, 0xc0,
/* U+0060 "`" */
0x86, 0x18, 0x61, 0x80,
/* U+0061 "a" */
0xff, 0x80, 0x10, 0x4, 0x1, 0x0, 0x40, 0x17,
0xfe, 0x1, 0x80, 0x60, 0x1f, 0xf8,
/* U+0062 "b" */
0x80, 0x10, 0x2, 0x0, 0x40, 0x8, 0x1, 0x0,
0x20, 0x4, 0x0, 0x80, 0xf, 0xfa, 0x0, 0xc0,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x6, 0x0, 0xbf, 0xe0,
/* U+0063 "c" */
0x7f, 0xe0, 0x8, 0x2, 0x0, 0x80, 0x20, 0x8,
0x2, 0x0, 0x80, 0x20, 0x7, 0xfc,
/* U+0064 "d" */
0x0, 0x20, 0x4, 0x0, 0x80, 0x10, 0x2, 0x0,
0x40, 0x8, 0x1, 0x0, 0x2f, 0xfa, 0x0, 0xc0,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x6, 0x0, 0xbf, 0xe0,
/* U+0065 "e" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0xff,
0xa0, 0x4, 0x0, 0x80, 0x10, 0x1, 0xff, 0x0,
/* U+0066 "f" */
0xf, 0xc4, 0x1, 0x0, 0x40, 0x10, 0x4, 0x1,
0x0, 0x40, 0x10, 0x4, 0xe, 0xe0, 0x40, 0x10,
0x4, 0x1, 0x0, 0x40, 0x10, 0x4, 0x1, 0x0,
0x40,
/* U+0067 "g" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x5, 0xff, 0x0,
0x10, 0x2, 0x0, 0x40, 0x8, 0x1, 0x7f, 0xc0,
/* U+0068 "h" */
0x80, 0x10, 0x2, 0x0, 0x40, 0x8, 0x1, 0x0,
0x20, 0x4, 0x0, 0x80, 0xf, 0xfa, 0x0, 0xc0,
0x18, 0x3, 0x0, 0x60, 0xc, 0x1, 0x80, 0x30,
0x6, 0x0, 0x80,
/* U+0069 "i" */
0xff, 0xf0,
/* U+006A "j" */
0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x81, 0x2,
0x4, 0x8, 0x10, 0x20, 0x40, 0x81, 0x83, 0x7,
0xf0,
/* U+006B "k" */
0x80, 0x20, 0x8, 0x2, 0x0, 0x80, 0x20, 0x8,
0x1a, 0xc, 0x86, 0x3b, 0xb, 0x82, 0x60, 0x8c,
0x21, 0x88, 0x32, 0x6, 0x80, 0xe0, 0x0,
/* U+006C "l" */
0xff, 0xff, 0xe0,
/* U+006D "m" */
0x7f, 0xfd, 0x2, 0x6, 0x4, 0xc, 0x8, 0x18,
0x10, 0x30, 0x20, 0x60, 0x40, 0xc0, 0x81, 0x81,
0x3, 0x2, 0x4,
/* U+006E "n" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x4,
/* U+006F "o" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x5, 0xff, 0x0,
/* U+0070 "p" */
0x7f, 0xd0, 0x6, 0x0, 0xc0, 0x18, 0x3, 0x0,
0x60, 0xc, 0x1, 0x80, 0x30, 0x5, 0xff, 0x40,
0x8, 0x1, 0x0, 0x20, 0x4, 0x0,
/* U+0071 "q" */
0x7f, 0xc2, 0x0, 0x88, 0x2, 0x20, 0x8, 0x80,
0x22, 0x0, 0x88, 0x2, 0x20, 0x8, 0x80, 0x22,
0x0, 0x87, 0xfc, 0x0, 0x8, 0x0, 0x20, 0x0,
0x90, 0x2, 0xc0, 0xe, 0x0, 0x10,
/* U+0072 "r" */
0x7f, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x81,
0x0,
/* U+0073 "s" */
0x7f, 0x2, 0x4, 0x8, 0x10, 0x20, 0x7f, 0x2,
0x4, 0x8, 0x10, 0x3f, 0xc0,
/* U+0074 "t" */
0x10, 0x20, 0x40, 0x81, 0x2, 0x4, 0x8, 0x11,
0xdc, 0x40, 0x81, 0x2, 0x4, 0x8, 0x10, 0x20,
0x40,
/* U+0075 "u" */
0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81,
0x81, 0x7e,
/* U+0076 "v" */
0x0, 0x83, 0x82, 0xc6, 0x46, 0x64, 0x2c, 0x28,
/* U+0077 "w" */
0x84, 0x30, 0x86, 0x10, 0xc2, 0x18, 0x43, 0x8,
0x61, 0xc, 0x21, 0xff, 0xe0,
/* U+0078 "x" */
0xc0, 0xf8, 0x77, 0x38, 0xfc, 0x1e, 0x7, 0x83,
0xf1, 0xce, 0xe1, 0xf0, 0x30,
/* U+0079 "y" */
0x83, 0x82, 0xc2, 0x46, 0x64, 0x6c, 0x2c, 0x28,
0x10, 0x10, 0x30, 0x20, 0x60, 0x60, 0x40, 0x40,
/* U+007A "z" */
0xff, 0x80, 0xc0, 0xc0, 0xe0, 0x60, 0x60, 0x60,
0x60, 0x60, 0x20, 0x3f, 0xe0,
/* U+007B "{" */
0x7, 0xe1, 0x0, 0x20, 0x4, 0x0, 0x80, 0x10,
0x2, 0x0, 0x40, 0x8, 0x1, 0x0, 0x20, 0xc,
0x7, 0x1, 0xc0, 0x30, 0x6, 0x0, 0x60, 0x6,
0x0, 0x60, 0x4, 0x0, 0x80, 0x10, 0x2, 0x0,
0x40, 0x8, 0x1, 0x0, 0x20, 0x4, 0x0, 0x80,
0xf, 0xc0,
/* U+007C "|" */
0xff, 0xff, 0xff, 0xf0,
/* U+007D "}" */
0xfc, 0x1, 0x0, 0x40, 0x10, 0x4, 0x1, 0x0,
0x40, 0x10, 0x4, 0x1, 0x0, 0x60, 0xc, 0x1,
0x80, 0x30, 0x0, 0x3, 0x1, 0x80, 0xc0, 0x60,
0x10, 0x4, 0x1, 0x0, 0x40, 0x10, 0x4, 0x1,
0x0, 0x40, 0x10, 0x4, 0x3e, 0x0,
/* U+007E "~" */
0x14, 0x2, 0x6c, 0xd, 0xce, 0x77, 0xf, 0xcc,
0xf, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 0, .adv_w = 0, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0} /* id = 0 reserved */,
{.bitmap_index = 0, .adv_w = 150, .box_w = 1, .box_h = 1, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 1, .adv_w = 73, .box_w = 1, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 4, .adv_w = 123, .box_w = 4, .box_h = 6, .ofs_x = 2, .ofs_y = 23},
{.bitmap_index = 7, .adv_w = 345, .box_w = 17, .box_h = 18, .ofs_x = 2, .ofs_y = 2},
{.bitmap_index = 46, .adv_w = 225, .box_w = 11, .box_h = 27, .ofs_x = 2, .ofs_y = -3},
{.bitmap_index = 84, .adv_w = 398, .box_w = 22, .box_h = 23, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 148, .adv_w = 468, .box_w = 27, .box_h = 27, .ofs_x = 1, .ofs_y = -3},
{.bitmap_index = 240, .adv_w = 73, .box_w = 1, .box_h = 10, .ofs_x = 2, .ofs_y = 16},
{.bitmap_index = 242, .adv_w = 118, .box_w = 4, .box_h = 35, .ofs_x = 2, .ofs_y = -6},
{.bitmap_index = 260, .adv_w = 117, .box_w = 4, .box_h = 34, .ofs_x = 1, .ofs_y = -6},
{.bitmap_index = 277, .adv_w = 171, .box_w = 8, .box_h = 7, .ofs_x = 1, .ofs_y = 17},
{.bitmap_index = 284, .adv_w = 251, .box_w = 13, .box_h = 13, .ofs_x = 1, .ofs_y = 5},
{.bitmap_index = 306, .adv_w = 73, .box_w = 1, .box_h = 6, .ofs_x = 2, .ofs_y = -3},
{.bitmap_index = 307, .adv_w = 145, .box_w = 6, .box_h = 1, .ofs_x = 2, .ofs_y = 7},
{.bitmap_index = 308, .adv_w = 73, .box_w = 1, .box_h = 1, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 309, .adv_w = 223, .box_w = 10, .box_h = 24, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 339, .adv_w = 223, .box_w = 11, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 368, .adv_w = 172, .box_w = 7, .box_h = 20, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 386, .adv_w = 223, .box_w = 11, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 415, .adv_w = 212, .box_w = 10, .box_h = 21, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 442, .adv_w = 223, .box_w = 11, .box_h = 19, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 469, .adv_w = 223, .box_w = 11, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 498, .adv_w = 223, .box_w = 11, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 527, .adv_w = 210, .box_w = 10, .box_h = 19, .ofs_x = 1, .ofs_y = 2},
{.bitmap_index = 551, .adv_w = 223, .box_w = 11, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 580, .adv_w = 223, .box_w = 11, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 609, .adv_w = 73, .box_w = 1, .box_h = 13, .ofs_x = 2, .ofs_y = 3},
{.bitmap_index = 611, .adv_w = 76, .box_w = 1, .box_h = 17, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 614, .adv_w = 173, .box_w = 8, .box_h = 17, .ofs_x = 2, .ofs_y = 3},
{.bitmap_index = 631, .adv_w = 195, .box_w = 9, .box_h = 6, .ofs_x = 2, .ofs_y = 8},
{.bitmap_index = 638, .adv_w = 173, .box_w = 8, .box_h = 17, .ofs_x = 2, .ofs_y = 3},
{.bitmap_index = 655, .adv_w = 210, .box_w = 10, .box_h = 20, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 680, .adv_w = 375, .box_w = 20, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 730, .adv_w = 223, .box_w = 11, .box_h = 20, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 758, .adv_w = 218, .box_w = 10, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 785, .adv_w = 223, .box_w = 11, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 814, .adv_w = 243, .box_w = 12, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 846, .adv_w = 212, .box_w = 10, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 873, .adv_w = 212, .box_w = 10, .box_h = 20, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 898, .adv_w = 269, .box_w = 14, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 935, .adv_w = 223, .box_w = 11, .box_h = 19, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 962, .adv_w = 181, .box_w = 7, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 981, .adv_w = 269, .box_w = 14, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1018, .adv_w = 213, .box_w = 10, .box_h = 19, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1042, .adv_w = 209, .box_w = 10, .box_h = 19, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1066, .adv_w = 223, .box_w = 11, .box_h = 19, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1093, .adv_w = 223, .box_w = 11, .box_h = 19, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1120, .adv_w = 223, .box_w = 11, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1149, .adv_w = 223, .box_w = 11, .box_h = 20, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1177, .adv_w = 276, .box_w = 14, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1214, .adv_w = 244, .box_w = 12, .box_h = 20, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1244, .adv_w = 223, .box_w = 11, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1273, .adv_w = 257, .box_w = 13, .box_h = 19, .ofs_x = 1, .ofs_y = 2},
{.bitmap_index = 1304, .adv_w = 223, .box_w = 11, .box_h = 19, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1331, .adv_w = 282, .box_w = 14, .box_h = 16, .ofs_x = 2, .ofs_y = 2},
{.bitmap_index = 1359, .adv_w = 223, .box_w = 11, .box_h = 19, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1386, .adv_w = 174, .box_w = 7, .box_h = 17, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1401, .adv_w = 182, .box_w = 7, .box_h = 18, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1417, .adv_w = 218, .box_w = 11, .box_h = 21, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 1446, .adv_w = 122, .box_w = 4, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1457, .adv_w = 218, .box_w = 10, .box_h = 24, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 1487, .adv_w = 121, .box_w = 4, .box_h = 21, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1498, .adv_w = 178, .box_w = 8, .box_h = 8, .ofs_x = 2, .ofs_y = 16},
{.bitmap_index = 1506, .adv_w = 345, .box_w = 18, .box_h = 1, .ofs_x = 2, .ofs_y = -3},
{.bitmap_index = 1509, .adv_w = 123, .box_w = 5, .box_h = 5, .ofs_x = 2, .ofs_y = 18},
{.bitmap_index = 1513, .adv_w = 220, .box_w = 10, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1527, .adv_w = 223, .box_w = 11, .box_h = 20, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1555, .adv_w = 209, .box_w = 10, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1569, .adv_w = 223, .box_w = 11, .box_h = 20, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1597, .adv_w = 226, .box_w = 11, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1613, .adv_w = 210, .box_w = 10, .box_h = 20, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1638, .adv_w = 223, .box_w = 11, .box_h = 17, .ofs_x = 2, .ofs_y = -6},
{.bitmap_index = 1662, .adv_w = 223, .box_w = 11, .box_h = 19, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1689, .adv_w = 73, .box_w = 1, .box_h = 12, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1691, .adv_w = 171, .box_w = 7, .box_h = 19, .ofs_x = 2, .ofs_y = -6},
{.bitmap_index = 1708, .adv_w = 201, .box_w = 10, .box_h = 18, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1731, .adv_w = 73, .box_w = 1, .box_h = 19, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1734, .adv_w = 288, .box_w = 15, .box_h = 10, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1753, .adv_w = 223, .box_w = 11, .box_h = 10, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1767, .adv_w = 223, .box_w = 11, .box_h = 11, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1783, .adv_w = 223, .box_w = 11, .box_h = 16, .ofs_x = 2, .ofs_y = -5},
{.bitmap_index = 1805, .adv_w = 271, .box_w = 14, .box_h = 17, .ofs_x = 2, .ofs_y = -6},
{.bitmap_index = 1835, .adv_w = 163, .box_w = 7, .box_h = 10, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1844, .adv_w = 168, .box_w = 7, .box_h = 14, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1857, .adv_w = 173, .box_w = 7, .box_h = 19, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1874, .adv_w = 181, .box_w = 8, .box_h = 10, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1884, .adv_w = 182, .box_w = 8, .box_h = 8, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1892, .adv_w = 223, .box_w = 11, .box_h = 9, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1905, .adv_w = 203, .box_w = 10, .box_h = 10, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 1918, .adv_w = 181, .box_w = 8, .box_h = 16, .ofs_x = 2, .ofs_y = -8},
{.bitmap_index = 1934, .adv_w = 195, .box_w = 9, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 1947, .adv_w = 222, .box_w = 11, .box_h = 30, .ofs_x = 1, .ofs_y = -4},
{.bitmap_index = 1989, .adv_w = 73, .box_w = 1, .box_h = 28, .ofs_x = 2, .ofs_y = -4},
{.bitmap_index = 1993, .adv_w = 219, .box_w = 10, .box_h = 30, .ofs_x = 2, .ofs_y = -4},
{.bitmap_index = 2031, .adv_w = 288, .box_w = 15, .box_h = 5, .ofs_x = 2, .ofs_y = 9}
};
/*---------------------
* CHARACTER MAPPING
*--------------------*/
/*Collect the unicode lists and glyph_id offsets*/
static const lv_font_fmt_txt_cmap_t cmaps[] =
{
{
.range_start = 32, .range_length = 95, .glyph_id_start = 1,
.unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
}
};
/*--------------------
* ALL CUSTOM DATA
*--------------------*/
#if LV_VERSION_CHECK(8, 0, 0)
/*Store all the custom data of the font*/
static lv_font_fmt_txt_glyph_cache_t cache;
static const lv_font_fmt_txt_dsc_t font_dsc = {
#else
static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
.glyph_bitmap = glyph_bitmap,
.glyph_dsc = glyph_dsc,
.cmaps = cmaps,
.kern_dsc = NULL,
.kern_scale = 0,
.cmap_num = 1,
.bpp = 1,
.kern_classes = 0,
.bitmap_format = 0,
#if LV_VERSION_CHECK(8, 0, 0)
.cache = &cache
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
/*Initialize a public general font descriptor*/
#if LV_VERSION_CHECK(8, 0, 0)
const lv_font_t ui_font_calculator32 = {
#else
lv_font_t ui_font_calculator32 = {
#endif
.get_glyph_dsc = lv_font_get_glyph_dsc_fmt_txt, /*Function pointer to get glyph's data*/
.get_glyph_bitmap = lv_font_get_bitmap_fmt_txt, /*Function pointer to get glyph's bitmap*/
.line_height = 37, /*The maximum line height required by the font*/
.base_line = 8, /*Baseline measured from the bottom of the line*/
#if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0)
.subpx = LV_FONT_SUBPX_NONE,
#endif
#if LV_VERSION_CHECK(7, 4, 0) || LVGL_VERSION_MAJOR >= 8
.underline_position = -3,
.underline_thickness = 2,
#endif
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if UI_FONT_CALCULATOR32*/