diff options
Diffstat (limited to 'src/ui/text.c')
-rw-r--r-- | src/ui/text.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/ui/text.c b/src/ui/text.c index 1ff3fb12..15959150 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -213,15 +213,17 @@ static void initFonts_Text_(iText *d) { | |||
213 | { &fontFiraMonoRegular_Embedded, fontSize_UI * 0.866f, 1.0f, defaultSymbols_FontId }, | 213 | { &fontFiraMonoRegular_Embedded, fontSize_UI * 0.866f, 1.0f, defaultSymbols_FontId }, |
214 | { &fontSourceSansProRegular_Embedded, textSize, scaling, symbols_FontId }, | 214 | { &fontSourceSansProRegular_Embedded, textSize, scaling, symbols_FontId }, |
215 | /* content fonts */ | 215 | /* content fonts */ |
216 | { regularFont, textSize, scaling, symbols_FontId }, | 216 | { regularFont, textSize, scaling, symbols_FontId }, |
217 | { &fontFiraMonoRegular_Embedded, monoSize, 1.0f, monospaceSymbols_FontId }, | 217 | { &fontFiraMonoRegular_Embedded, monoSize, 1.0f, monospaceSymbols_FontId }, |
218 | { &fontFiraMonoRegular_Embedded, monoSize * 0.750f, 1.0f, monospaceSmallSymbols_FontId }, | 218 | { &fontFiraMonoRegular_Embedded, monoSize * 0.750f, 1.0f, monospaceSmallSymbols_FontId }, |
219 | { regularFont, textSize * 1.200f, scaling, mediumSymbols_FontId }, | 219 | { regularFont, textSize * 1.200f, scaling, mediumSymbols_FontId }, |
220 | { h3Font, textSize * 1.333f, scaling, bigSymbols_FontId }, | 220 | { h3Font, textSize * 1.333f, scaling, bigSymbols_FontId }, |
221 | { italicFont, textSize, scaling, symbols_FontId }, | 221 | { italicFont, textSize, scaling, symbols_FontId }, |
222 | { h12Font, textSize * 1.666f, h123Scaling, largeSymbols_FontId }, | 222 | { h12Font, textSize * 1.666f, h123Scaling, largeSymbols_FontId }, |
223 | { h12Font, textSize * 2.000f, h123Scaling, hugeSymbols_FontId }, | 223 | { h12Font, textSize * 2.000f, h123Scaling, hugeSymbols_FontId }, |
224 | { lightFont, textSize * 1.666f, scaling, largeSymbols_FontId }, | 224 | { lightFont, textSize * 1.666f, scaling, largeSymbols_FontId }, |
225 | /* monospace content fonts */ | ||
226 | { &fontFiraMonoRegular_Embedded, textSize, 0.8f, symbols_FontId }, | ||
225 | /* symbol fonts */ | 227 | /* symbol fonts */ |
226 | { &fontSymbola_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, | 228 | { &fontSymbola_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, |
227 | { &fontSymbola_Embedded, fontSize_UI * 1.125f, 1.0f, defaultMediumSymbols_FontId }, | 229 | { &fontSymbola_Embedded, fontSize_UI * 1.125f, 1.0f, defaultMediumSymbols_FontId }, |