From 5d8bfceb00d5d6b358b358b76c5828344c179e5d Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 23 Feb 2021 11:41:56 +0200 Subject: Added a Large Bold UI font --- src/ui/text.c | 1 + src/ui/text.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/ui/text.c b/src/ui/text.c index b2a9af2e..6f6a52ed 100644 --- a/src/ui/text.c +++ b/src/ui/text.c @@ -264,6 +264,7 @@ static void initFonts_Text_(iText *d) { { &fontSourceSansProRegular_Embedded, uiSize * 1.333f, 1.0f, defaultBigSymbols_FontId }, { &fontSourceSansProBold_Embedded, uiSize * 1.333f, 1.0f, defaultBigSymbols_FontId }, { &fontSourceSansProRegular_Embedded, uiSize * 1.666f, 1.0f, defaultLargeSymbols_FontId }, + { &fontSourceSansProBold_Embedded, uiSize * 1.666f, 1.0f, defaultLargeSymbols_FontId }, { &fontIosevkaTermExtended_Embedded, uiSize * 0.866f, 1.0f, defaultSymbols_FontId }, { &fontSourceSansProRegular_Embedded, textSize, scaling, symbols_FontId }, /* content fonts */ diff --git a/src/ui/text.h b/src/ui/text.h index 92da3e5d..e793b46e 100644 --- a/src/ui/text.h +++ b/src/ui/text.h @@ -37,6 +37,7 @@ enum iFontId { defaultBig_FontId, defaultBigBold_FontId, defaultLarge_FontId, + defaultLargeBold_FontId, defaultMonospace_FontId, defaultContentSized_FontId, /* content fonts */ @@ -104,6 +105,7 @@ enum iFontId { uiLabel_FontId = default_FontId, uiLabelBold_FontId = defaultBold_FontId, uiLabelLarge_FontId = defaultLarge_FontId, + uiLabelLargeBold_FontId = defaultLargeBold_FontId, uiShortcuts_FontId = default_FontId, uiInput_FontId = defaultMonospace_FontId, uiContent_FontId = defaultMedium_FontId, -- cgit v1.2.3