summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 231c2976..96799c9e 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -176,7 +176,7 @@ static iText text_;
176 176
177static void initFonts_Text_(iText *d) { 177static void initFonts_Text_(iText *d) {
178 const float textSize = fontSize_UI * d->contentFontSize; 178 const float textSize = fontSize_UI * d->contentFontSize;
179 const float monoSize = textSize * 0.71f; //fontSize_UI * d->contentFontSize / contentScale_Text_ * 1.0f; //0.866f; 179 const float monoSize = textSize * 0.71f;
180 const float smallMonoSize = monoSize * 0.8f; 180 const float smallMonoSize = monoSize * 0.8f;
181 const iBlock *regularFont = &fontNunitoRegular_Embedded; 181 const iBlock *regularFont = &fontNunitoRegular_Embedded;
182 const iBlock *italicFont = &fontNunitoLightItalic_Embedded; 182 const iBlock *italicFont = &fontNunitoLightItalic_Embedded;
@@ -239,7 +239,7 @@ static void initFonts_Text_(iText *d) {
239 { h12Font, textSize * 2.000f, h123Scaling, hugeSymbols_FontId }, 239 { h12Font, textSize * 2.000f, h123Scaling, hugeSymbols_FontId },
240 { lightFont, textSize * 1.666f, lightScaling, largeSymbols_FontId }, 240 { lightFont, textSize * 1.666f, lightScaling, largeSymbols_FontId },
241 /* monospace content fonts */ 241 /* monospace content fonts */
242 { &fontIosevkaTermExtended_Embedded, textSize, 0.75f, symbols_FontId }, 242 { &fontIosevkaTermExtended_Embedded, textSize, 0.866f, symbols_FontId },
243 /* symbol fonts */ 243 /* symbol fonts */
244 { &fontSymbola_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, 244 { &fontSymbola_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId },
245 { &fontSymbola_Embedded, fontSize_UI * 1.125f, 1.0f, defaultMediumSymbols_FontId }, 245 { &fontSymbola_Embedded, fontSize_UI * 1.125f, 1.0f, defaultMediumSymbols_FontId },