summaryrefslogtreecommitdiff
path: root/src/ui/text.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-01 18:26:27 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-01 18:26:27 +0300
commit9adadcb4c47e0ab6344df8057115325673572267 (patch)
treeae39ffc3baa1635803cb481f864f06c924aa2a1f /src/ui/text.c
parent5c7417c547b84c30eee42fce57cb09e0552ac34f (diff)
Added a 90% sized UI font for URL bar indicators
The 80% size is used in the toolbar.
Diffstat (limited to 'src/ui/text.c')
-rw-r--r--src/ui/text.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 0d7559cb..1eff70ba 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -385,7 +385,8 @@ static void initFonts_Text_(iText *d) {
385 { &fontSourceSans3Regular_Embedded, uiSize * 1.125f, 1.0f, uiMedium_FontSize }, 385 { &fontSourceSans3Regular_Embedded, uiSize * 1.125f, 1.0f, uiMedium_FontSize },
386 { &fontSourceSans3Regular_Embedded, uiSize * 1.333f, 1.0f, uiBig_FontSize }, 386 { &fontSourceSans3Regular_Embedded, uiSize * 1.333f, 1.0f, uiBig_FontSize },
387 { &fontSourceSans3Regular_Embedded, uiSize * 1.666f, 1.0f, uiLarge_FontSize }, 387 { &fontSourceSans3Regular_Embedded, uiSize * 1.666f, 1.0f, uiLarge_FontSize },
388 { &fontSourceSans3Semibold_Embedded, uiSize * 0.800f, 1.0f, uiSmall_FontSize }, 388 { &fontSourceSans3Regular_Embedded, uiSize * 0.900f, 1.0f, uiTiny_FontSize },
389 { &fontSourceSans3Semibold_Embedded, uiSize * 0.800f, 1.0f, uiTiny_FontSize },
389 /* UI fonts: bold weight */ 390 /* UI fonts: bold weight */
390 { &fontSourceSans3Bold_Embedded, uiSize, 1.0f, uiNormal_FontSize }, 391 { &fontSourceSans3Bold_Embedded, uiSize, 1.0f, uiNormal_FontSize },
391 { &fontSourceSans3Bold_Embedded, uiSize * 1.125f, 1.0f, uiMedium_FontSize }, 392 { &fontSourceSans3Bold_Embedded, uiSize * 1.125f, 1.0f, uiMedium_FontSize },
@@ -411,7 +412,8 @@ static void initFonts_Text_(iText *d) {
411 { (data), uiSize * 1.125f, glyphScale, uiMedium_FontSize }, \ 412 { (data), uiSize * 1.125f, glyphScale, uiMedium_FontSize }, \
412 { (data), uiSize * 1.333f, glyphScale, uiBig_FontSize }, \ 413 { (data), uiSize * 1.333f, glyphScale, uiBig_FontSize }, \
413 { (data), uiSize * 1.666f, glyphScale, uiLarge_FontSize }, \ 414 { (data), uiSize * 1.666f, glyphScale, uiLarge_FontSize }, \
414 { (data), uiSize * 0.800f, glyphScale, uiSmall_FontSize }, \ 415 { (data), uiSize * 0.900f, glyphScale, uiSmall_FontSize }, \
416 { (data), uiSize * 0.800f, glyphScale, uiTiny_FontSize }, \
415 { (data), textSize, glyphScale, contentRegular_FontSize }, \ 417 { (data), textSize, glyphScale, contentRegular_FontSize }, \
416 { (data), textSize * 1.200f, glyphScale, contentMedium_FontSize }, \ 418 { (data), textSize * 1.200f, glyphScale, contentMedium_FontSize }, \
417 { (data), textSize * 1.333f, glyphScale, contentBig_FontSize }, \ 419 { (data), textSize * 1.333f, glyphScale, contentBig_FontSize }, \