summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-22 07:20:03 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-22 07:20:08 +0300
commit00fc9fbdd922206ddc6d64e10a84a7aedc4b2ab9 (patch)
tree1da0cf5feea578e8a1101e8c81e02bce8c4afbc4
parent1aa960ab2b015566d1060f00644435b466225fb7 (diff)
Larger font size
-rw-r--r--src/ui/metrics.c2
-rw-r--r--src/ui/text.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/metrics.c b/src/ui/metrics.c
index 38ae5955..949daaff 100644
--- a/src/ui/metrics.c
+++ b/src/ui/metrics.c
@@ -2,7 +2,7 @@
2 2
3#include <the_Foundation/math.h> 3#include <the_Foundation/math.h>
4 4
5#define defaultFontSize_Metrics 16 5#define defaultFontSize_Metrics 20
6#define defaultGap_Metrics 4 6#define defaultGap_Metrics 4
7 7
8int gap_UI = defaultGap_Metrics; 8int gap_UI = defaultGap_Metrics;
diff --git a/src/ui/text.c b/src/ui/text.c
index edd1f69d..59ea00dd 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -121,8 +121,8 @@ void init_Text(SDL_Renderer *render) {
121 { &fontFiraSansRegular_Embedded, fontSize_UI * 1.5f }, 121 { &fontFiraSansRegular_Embedded, fontSize_UI * 1.5f },
122 { &fontFiraMonoRegular_Embedded, fontSize_UI }, 122 { &fontFiraMonoRegular_Embedded, fontSize_UI },
123 { &fontFiraSansLightItalic_Embedded, fontSize_UI }, 123 { &fontFiraSansLightItalic_Embedded, fontSize_UI },
124 { &fontFiraSansRegular_Embedded, fontSize_UI * 2.5f },
125 { &fontFiraSansRegular_Embedded, fontSize_UI * 2.0f }, 124 { &fontFiraSansRegular_Embedded, fontSize_UI * 2.0f },
125 { &fontFiraSansRegular_Embedded, fontSize_UI * 1.75f },
126 { &fontFiraSansRegular_Embedded, fontSize_UI * 1.5f }, 126 { &fontFiraSansRegular_Embedded, fontSize_UI * 1.5f },
127 }; 127 };
128 iForIndices(i, fontData) { 128 iForIndices(i, fontData) {