AcidDropUI/AcidDrop SquareLine/assets/Fonts/ui_font_SauceCodeProRegularMono.c

490 lines
16 KiB
C
Raw Permalink Normal View History

2024-06-06 05:12:19 +00:00
/*******************************************************************************
* Size: 12 px
* Bpp: 1
* Opts: --bpp 1 --size 12 --font /Users/skyz/Desktop/AcidDrop UI/AcidDrop SquareLine/assets/Fonts/SauceCodeProNerdFontMono-Regular.ttf -o /Users/skyz/Desktop/AcidDrop UI/AcidDrop SquareLine/assets/Fonts/ui_font_SauceCodeProRegularMono.c --format lvgl -r 0x20-0x7f --no-compress --no-prefilter
******************************************************************************/
#include "ui.h"
#ifndef UI_FONT_SAUCECODEPROREGULARMONO
#define UI_FONT_SAUCECODEPROREGULARMONO 1
#endif
#if UI_FONT_SAUCECODEPROREGULARMONO
/*-----------------
* BITMAPS
*----------------*/
/*Store the image of the glyphs*/
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
/* U+0020 " " */
0x0,
/* U+0021 "!" */
0xaa, 0x8f,
/* U+0022 "\"" */
0x99, 0x99,
/* U+0023 "#" */
0x52, 0xbe, 0xa5, 0x7d, 0x52,
/* U+0024 "$" */
0x23, 0xa1, 0x6, 0x1c, 0x31, 0x61, 0x0,
/* U+0025 "%" */
0xe1, 0x4e, 0xa7, 0x0, 0xca, 0x64, 0x86,
/* U+0026 "&" */
0x71, 0x45, 0x18, 0x66, 0x69, 0x9d,
/* U+0027 "'" */
0xf0,
/* U+0028 "(" */
0x2d, 0x49, 0x24, 0x48, 0x80,
/* U+0029 ")" */
0x99, 0x12, 0x49, 0x4a, 0x0,
/* U+002A "*" */
0x21, 0x3e, 0xa5, 0x0,
/* U+002B "+" */
0x21, 0x3e, 0x42, 0x0,
/* U+002C "," */
0x6c, 0xa0,
/* U+002D "-" */
0xf8,
/* U+002E "." */
0xf0,
/* U+002F "/" */
0x8, 0x84, 0x22, 0x10, 0x88, 0x44, 0x20,
/* U+0030 "0" */
0x7b, 0x38, 0x69, 0x86, 0x1c, 0x9e,
/* U+0031 "1" */
0x61, 0x8, 0x42, 0x10, 0x9f,
/* U+0032 "2" */
0x74, 0x42, 0x11, 0x11, 0x1f,
/* U+0033 "3" */
0x74, 0x42, 0xe1, 0x86, 0x2e,
/* U+0034 "4" */
0x18, 0x62, 0x92, 0x8b, 0xf0, 0x82,
/* U+0035 "5" */
0x7d, 0x4, 0x1e, 0x4, 0x18, 0xde,
/* U+0036 "6" */
0x39, 0x8, 0x2e, 0xc6, 0x1c, 0x5e,
/* U+0037 "7" */
0xfc, 0x21, 0x4, 0x20, 0x82, 0x8,
/* U+0038 "8" */
0x72, 0x28, 0x94, 0xba, 0x18, 0x5e,
/* U+0039 "9" */
0x7a, 0x28, 0x63, 0x74, 0x10, 0x9c,
/* U+003A ":" */
0xf0, 0xf0,
/* U+003B ";" */
0xf0, 0xf6, 0x0,
/* U+003C "<" */
0x19, 0x31, 0x82, 0xc,
/* U+003D "=" */
0xf8, 0x1, 0xf0,
/* U+003E ">" */
0x83, 0x4, 0x26, 0x40,
/* U+003F "?" */
0xe9, 0x12, 0x40, 0x66,
/* U+0040 "@" */
0x39, 0x18, 0x63, 0xb6, 0x9b, 0xe0, 0x40, 0xe0,
/* U+0041 "A" */
0x10, 0x50, 0xa1, 0x42, 0x4f, 0x91, 0x21,
/* U+0042 "B" */
0xf4, 0x63, 0xe8, 0xc6, 0x3e,
/* U+0043 "C" */
0x39, 0x8, 0x20, 0x82, 0x4, 0x4e,
/* U+0044 "D" */
0xf2, 0x28, 0x61, 0x86, 0x18, 0xbc,
/* U+0045 "E" */
0xfc, 0x21, 0xe8, 0x42, 0x1f,
/* U+0046 "F" */
0xfc, 0x21, 0xf, 0x42, 0x10,
/* U+0047 "G" */
0x39, 0x8, 0x20, 0x9e, 0x14, 0x4e,
/* U+0048 "H" */
0x8c, 0x63, 0xf8, 0xc6, 0x31,
/* U+0049 "I" */
0xf9, 0x8, 0x42, 0x10, 0x9f,
/* U+004A "J" */
0x78, 0x42, 0x10, 0x86, 0x2e,
/* U+004B "K" */
0x8a, 0x4a, 0x38, 0xd2, 0x48, 0xa2,
/* U+004C "L" */
0x84, 0x21, 0x8, 0x42, 0x1f,
/* U+004D "M" */
0xcf, 0x3c, 0xed, 0xb6, 0xd8, 0x61,
/* U+004E "N" */
0x8e, 0x73, 0x5a, 0xce, 0x71,
/* U+004F "O" */
0x79, 0x28, 0x61, 0x86, 0x14, 0x9e,
/* U+0050 "P" */
0xf4, 0x63, 0x1f, 0x42, 0x10,
/* U+0051 "Q" */
0x79, 0x28, 0x61, 0x86, 0x1c, 0x9e, 0x10, 0x70,
/* U+0052 "R" */
0xf4, 0x63, 0x1f, 0x4a, 0x51,
/* U+0053 "S" */
0x74, 0x20, 0xc1, 0x6, 0x2e,
/* U+0054 "T" */
0xfe, 0x20, 0x40, 0x81, 0x2, 0x4, 0x8,
/* U+0055 "U" */
0x8c, 0x63, 0x18, 0xc6, 0x2e,
/* U+0056 "V" */
0x8e, 0x28, 0x92, 0x51, 0x45, 0x8,
/* U+0057 "W" */
0x83, 0xa, 0x55, 0xab, 0x4d, 0x9b, 0x26,
/* U+0058 "X" */
0x89, 0x25, 0x8, 0x31, 0x48, 0xa2,
/* U+0059 "Y" */
0x44, 0x88, 0xa1, 0x41, 0x2, 0x4, 0x8,
/* U+005A "Z" */
0xfc, 0x21, 0x4, 0x21, 0x4, 0x3f,
/* U+005B "[" */
0xf8, 0x88, 0x88, 0x88, 0x88, 0xf0,
/* U+005C "\\" */
0x82, 0x10, 0x82, 0x10, 0x42, 0x10, 0x42,
/* U+005D "]" */
0xf1, 0x11, 0x11, 0x11, 0x11, 0xf0,
/* U+005E "^" */
0x21, 0x14, 0xa8, 0x80,
/* U+005F "_" */
0xf8,
/* U+0060 "`" */
0x90,
/* U+0061 "a" */
0x70, 0x4f, 0x98, 0xfc,
/* U+0062 "b" */
0x84, 0x21, 0x6c, 0xc6, 0x33, 0xf0,
/* U+0063 "c" */
0x7e, 0x21, 0xc, 0x3c,
/* U+0064 "d" */
0x8, 0x42, 0xfc, 0xc6, 0x31, 0x78,
/* U+0065 "e" */
0x39, 0x17, 0xd0, 0x40, 0xe0,
/* U+0066 "f" */
0x1c, 0x82, 0x3e, 0x20, 0x82, 0x8, 0x20,
/* U+0067 "g" */
0x7e, 0x28, 0x9c, 0x81, 0xf8, 0x5e,
/* U+0068 "h" */
0x84, 0x21, 0x6c, 0xc6, 0x31, 0x88,
/* U+0069 "i" */
0x20, 0x72, 0x49, 0x20,
/* U+006A "j" */
0x10, 0x7, 0x11, 0x11, 0x11, 0xe0,
/* U+006B "k" */
0x82, 0x8, 0x22, 0x92, 0x8d, 0x26, 0x88,
/* U+006C "l" */
0xe1, 0x8, 0x42, 0x10, 0x84, 0x18,
/* U+006D "m" */
0xfd, 0x6b, 0x5a, 0xd4,
/* U+006E "n" */
0xb6, 0x63, 0x18, 0xc4,
/* U+006F "o" */
0x7b, 0x38, 0x61, 0xcd, 0xe0,
/* U+0070 "p" */
0xb6, 0x63, 0x19, 0xfa, 0x10,
/* U+0071 "q" */
0x7e, 0x63, 0x18, 0xbc, 0x21,
/* U+0072 "r" */
0xbe, 0x21, 0x8, 0x40,
/* U+0073 "s" */
0x74, 0x30, 0x70, 0xf8,
/* U+0074 "t" */
0x20, 0x8f, 0xc8, 0x20, 0x82, 0x7,
/* U+0075 "u" */
0x8c, 0x63, 0x19, 0xb4,
/* U+0076 "v" */
0x8a, 0x24, 0x94, 0x50, 0x80,
/* U+0077 "w" */
0x93, 0x25, 0xab, 0x66, 0xcd, 0x80,
/* U+0078 "x" */
0x8a, 0x8c, 0x65, 0x44,
/* U+0079 "y" */
0x8a, 0x24, 0x94, 0x30, 0x82, 0x30,
/* U+007A "z" */
0xfc, 0x21, 0x8, 0x43, 0xf0,
/* U+007B "{" */
0x39, 0x8, 0x42, 0x60, 0x84, 0x21, 0xe,
/* U+007C "|" */
0xff, 0xf0,
/* U+007D "}" */
0xe1, 0x8, 0x42, 0xc, 0x84, 0x21, 0x38,
/* U+007E "~" */
0x6d, 0xc0
};
/*---------------------
* 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 = 115, .box_w = 1, .box_h = 1, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 1, .adv_w = 115, .box_w = 2, .box_h = 8, .ofs_x = 3, .ofs_y = 0},
{.bitmap_index = 3, .adv_w = 115, .box_w = 4, .box_h = 4, .ofs_x = 2, .ofs_y = 4},
{.bitmap_index = 5, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 10, .adv_w = 115, .box_w = 5, .box_h = 10, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 17, .adv_w = 115, .box_w = 7, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 24, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 30, .adv_w = 115, .box_w = 1, .box_h = 4, .ofs_x = 3, .ofs_y = 4},
{.bitmap_index = 31, .adv_w = 115, .box_w = 3, .box_h = 11, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 36, .adv_w = 115, .box_w = 3, .box_h = 11, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 41, .adv_w = 115, .box_w = 5, .box_h = 5, .ofs_x = 1, .ofs_y = 2},
{.bitmap_index = 45, .adv_w = 115, .box_w = 5, .box_h = 5, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 49, .adv_w = 115, .box_w = 3, .box_h = 5, .ofs_x = 2, .ofs_y = -3},
{.bitmap_index = 51, .adv_w = 115, .box_w = 5, .box_h = 1, .ofs_x = 1, .ofs_y = 3},
{.bitmap_index = 52, .adv_w = 115, .box_w = 2, .box_h = 2, .ofs_x = 3, .ofs_y = 0},
{.bitmap_index = 53, .adv_w = 115, .box_w = 5, .box_h = 11, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 60, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 66, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 71, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 76, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 81, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 87, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 93, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 99, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 105, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 111, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 117, .adv_w = 115, .box_w = 2, .box_h = 6, .ofs_x = 3, .ofs_y = 0},
{.bitmap_index = 119, .adv_w = 115, .box_w = 2, .box_h = 9, .ofs_x = 3, .ofs_y = -3},
{.bitmap_index = 122, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 126, .adv_w = 115, .box_w = 5, .box_h = 4, .ofs_x = 1, .ofs_y = 2},
{.bitmap_index = 129, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 133, .adv_w = 115, .box_w = 4, .box_h = 8, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 137, .adv_w = 115, .box_w = 6, .box_h = 10, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 145, .adv_w = 115, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 152, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 157, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 163, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 169, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 174, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 179, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 185, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 190, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 195, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 200, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 206, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 211, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 217, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 222, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 228, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 233, .adv_w = 115, .box_w = 6, .box_h = 10, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 241, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 246, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 251, .adv_w = 115, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 258, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 263, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 269, .adv_w = 115, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 276, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 282, .adv_w = 115, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 289, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 295, .adv_w = 115, .box_w = 4, .box_h = 11, .ofs_x = 3, .ofs_y = -2},
{.bitmap_index = 301, .adv_w = 115, .box_w = 5, .box_h = 11, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 308, .adv_w = 115, .box_w = 4, .box_h = 11, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 314, .adv_w = 115, .box_w = 5, .box_h = 5, .ofs_x = 1, .ofs_y = 3},
{.bitmap_index = 318, .adv_w = 115, .box_w = 5, .box_h = 1, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 319, .adv_w = 115, .box_w = 2, .box_h = 2, .ofs_x = 2, .ofs_y = 7},
{.bitmap_index = 320, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 324, .adv_w = 115, .box_w = 5, .box_h = 9, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 330, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 334, .adv_w = 115, .box_w = 5, .box_h = 9, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 340, .adv_w = 115, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 345, .adv_w = 115, .box_w = 6, .box_h = 9, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 352, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 358, .adv_w = 115, .box_w = 5, .box_h = 9, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 364, .adv_w = 115, .box_w = 3, .box_h = 9, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 368, .adv_w = 115, .box_w = 4, .box_h = 11, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 374, .adv_w = 115, .box_w = 6, .box_h = 9, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 381, .adv_w = 115, .box_w = 5, .box_h = 9, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 387, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 391, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 395, .adv_w = 115, .box_w = 6, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 400, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 405, .adv_w = 115, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 410, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 414, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 418, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 424, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 428, .adv_w = 115, .box_w = 6, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 433, .adv_w = 115, .box_w = 7, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 439, .adv_w = 115, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 443, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 449, .adv_w = 115, .box_w = 6, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 454, .adv_w = 115, .box_w = 5, .box_h = 11, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 461, .adv_w = 115, .box_w = 1, .box_h = 12, .ofs_x = 3, .ofs_y = -3},
{.bitmap_index = 463, .adv_w = 115, .box_w = 5, .box_h = 11, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 470, .adv_w = 115, .box_w = 5, .box_h = 2, .ofs_x = 1, .ofs_y = 3}
};
/*---------------------
* 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 LVGL_VERSION_MAJOR == 8
/*Store all the custom data of the font*/
static lv_font_fmt_txt_glyph_cache_t cache;
#endif
#if LVGL_VERSION_MAJOR >= 8
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 LVGL_VERSION_MAJOR == 8
.cache = &cache
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
/*Initialize a public general font descriptor*/
#if LVGL_VERSION_MAJOR >= 8
const lv_font_t ui_font_SauceCodeProRegularMono = {
#else
lv_font_t ui_font_SauceCodeProRegularMono = {
#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 = 12, /*The maximum line height required by the font*/
.base_line = 3, /*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 = -1,
.underline_thickness = 1,
#endif
.dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
#if LV_VERSION_CHECK(8, 2, 0) || LVGL_VERSION_MAJOR >= 9
.fallback = NULL,
#endif
.user_data = NULL,
};
#endif /*#if UI_FONT_SAUCECODEPROREGULARMONO*/