summaryrefslogtreecommitdiff
path: root/src/displayapp/fonts/jetbrains_mono_i.c
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2023-01-24 14:35:11 +0100
committerdavidpkj <davidpenkow1@gmail.com>2023-01-24 14:35:11 +0100
commit0e8b9efae6866d589988c671e90753f93f66f22c (patch)
tree4a3d2e193467f44a4a0bf8bdc96b23a0af05500a /src/displayapp/fonts/jetbrains_mono_i.c
parent2b7c4b66e2da6f768d762add798999c7cdceffc5 (diff)
Add: jetbrains i menu for info
Diffstat (limited to 'src/displayapp/fonts/jetbrains_mono_i.c')
-rw-r--r--src/displayapp/fonts/jetbrains_mono_i.c41
1 files changed, 20 insertions, 21 deletions
diff --git a/src/displayapp/fonts/jetbrains_mono_i.c b/src/displayapp/fonts/jetbrains_mono_i.c
index 41e7735e..ab1c4869 100644
--- a/src/displayapp/fonts/jetbrains_mono_i.c
+++ b/src/displayapp/fonts/jetbrains_mono_i.c
@@ -1,7 +1,7 @@
/*******************************************************************************
- * Size: 52 px
+ * Size: 48 px
* Bpp: 1
- * Opts: --size 52 --output jetbrains_mono_i.c --bpp 1 --format lvgl --no-compress --font JetBrainsMono-Regular.ttf --symbols i
+ * Opts: --size 48 --output jetbrains_mono_i.c --bpp 1 --format lvgl --no-compress --font JetBrainsMono-Regular.ttf --range 0x69
******************************************************************************/
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
@@ -23,21 +23,20 @@
/*Store the image of the glyphs*/
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
/* U+0069 "i" */
- 0x0, 0x7c, 0x0, 0x0, 0xfe, 0x0, 0x0, 0xfe,
- 0x0, 0x0, 0xfe, 0x0, 0x0, 0xfe, 0x0, 0x0,
- 0x7c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x7f, 0xfe, 0x0, 0x7f,
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 0xff, 0xff, 0xe0
};
@@ -47,7 +46,7 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
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 = 499, .box_w = 24, .box_h = 40, .ofs_x = 4, .ofs_y = 0}
+ {.bitmap_index = 0, .adv_w = 461, .box_w = 23, .box_h = 37, .ofs_x = 4, .ofs_y = 0}
};
/*---------------------
@@ -105,14 +104,14 @@ lv_font_t jetbrains_mono_i = {
#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 = 40, /*The maximum line height required by the font*/
+ .line_height = 37, /*The maximum line height required by the font*/
.base_line = 0, /*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 = -8,
- .underline_thickness = 3,
+ .underline_position = -7,
+ .underline_thickness = 2,
#endif
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};