From 827951d2807b031d131b7fc05b1596550d258676 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 5 Oct 2021 06:55:51 +0300 Subject: Started working on font packs --- src/ui/text.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ui/text.c') diff --git a/src/ui/text.c b/src/ui/text.c index cbce4715..e3f7f7c4 100644 --- a/src/ui/text.c +++ b/src/ui/text.c @@ -385,8 +385,8 @@ static void initFonts_Text_(iText *d) { { &fontSourceSans3Regular_Embedded, uiSize * 1.125f, 1.0f, uiMedium_FontSize }, { &fontSourceSans3Regular_Embedded, uiSize * 1.333f, 1.0f, uiBig_FontSize }, { &fontSourceSans3Regular_Embedded, uiSize * 1.666f, 1.0f, uiLarge_FontSize }, - { &fontSourceSans3Regular_Embedded, uiSize * 0.900f, 1.0f, uiSmall_FontSize }, { &fontSourceSans3Semibold_Embedded, uiSize * 0.800f, 1.0f, uiTiny_FontSize }, + { &fontSourceSans3Regular_Embedded, uiSize * 0.900f, 1.0f, uiSmall_FontSize }, /* UI fonts: bold weight */ { &fontSourceSans3Bold_Embedded, uiSize, 1.0f, uiNormal_FontSize }, { &fontSourceSans3Bold_Embedded, uiSize * 1.125f, 1.0f, uiMedium_FontSize }, @@ -408,12 +408,12 @@ static void initFonts_Text_(iText *d) { { &fontSourceSans3Regular_Embedded, textSize * 0.80f, scaling, contentRegular_FontSize }, /* symbols and scripts */ #define DEFINE_FONT_SET(data, glyphScale) \ + { (data), uiSize * 0.800f, glyphScale, uiTiny_FontSize }, \ + { (data), uiSize * 0.900f, glyphScale, uiSmall_FontSize }, \ { (data), uiSize, glyphScale, uiNormal_FontSize }, \ { (data), uiSize * 1.125f, glyphScale, uiMedium_FontSize }, \ { (data), uiSize * 1.333f, glyphScale, uiBig_FontSize }, \ { (data), uiSize * 1.666f, glyphScale, uiLarge_FontSize }, \ - { (data), uiSize * 0.900f, glyphScale, uiSmall_FontSize }, \ - { (data), uiSize * 0.800f, glyphScale, uiTiny_FontSize }, \ { (data), textSize, glyphScale, contentRegular_FontSize }, \ { (data), textSize * 1.200f, glyphScale, contentMedium_FontSize }, \ { (data), textSize * 1.333f, glyphScale, contentBig_FontSize }, \ -- cgit v1.2.3