diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-29 08:51:08 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-29 08:51:08 +0200 |
commit | 4dc0e17e8f315cbb336ac3664177a7f6bb3f993b (patch) | |
tree | f6041e32f51ec197702245f1b27808779cdf7155 /src/ui/text.c | |
parent | da6ceb3858ae864fab63efb6d39aa963374c4bce (diff) |
Added a bold UI font
The bold UI label font is used for highlighted sidebar items and default buttons.
Diffstat (limited to 'src/ui/text.c')
-rw-r--r-- | src/ui/text.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c index 2ab40387..e9ca17e7 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -224,7 +224,9 @@ static void initFonts_Text_(iText *d) { | |||
224 | int symbolsFont; | 224 | int symbolsFont; |
225 | } fontData[max_FontId] = { | 225 | } fontData[max_FontId] = { |
226 | { &fontSourceSansProRegular_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, | 226 | { &fontSourceSansProRegular_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, |
227 | { &fontSourceSansProBold_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, | ||
227 | { &fontSourceSansProRegular_Embedded, fontSize_UI * 1.125f, 1.0f, defaultMediumSymbols_FontId }, | 228 | { &fontSourceSansProRegular_Embedded, fontSize_UI * 1.125f, 1.0f, defaultMediumSymbols_FontId }, |
229 | { &fontSourceSansProBold_Embedded, fontSize_UI * 1.125f, 1.0f, defaultMediumSymbols_FontId }, | ||
228 | { &fontSourceSansProRegular_Embedded, fontSize_UI * 1.666f, 1.0f, defaultLargeSymbols_FontId }, | 230 | { &fontSourceSansProRegular_Embedded, fontSize_UI * 1.666f, 1.0f, defaultLargeSymbols_FontId }, |
229 | { &fontIosevkaTermExtended_Embedded, fontSize_UI * 0.866f, 1.0f, defaultSymbols_FontId }, | 231 | { &fontIosevkaTermExtended_Embedded, fontSize_UI * 0.866f, 1.0f, defaultSymbols_FontId }, |
230 | { &fontSourceSansProRegular_Embedded, textSize, scaling, symbols_FontId }, | 232 | { &fontSourceSansProRegular_Embedded, textSize, scaling, symbols_FontId }, |