diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-04 06:58:51 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-04 06:58:51 +0300 |
commit | 8307df178e59d7f32555115aa72eb0d78db08e5f (patch) | |
tree | 28bb2c82c5a86a4829b9abeafe111ab624063d25 | |
parent | 6d03cbb784b39ca457bcfce5f12de31972102790 (diff) |
Text: Heavier bold font
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | res/Nunito-Black.ttf | bin | 176816 -> 0 bytes | |||
-rw-r--r-- | res/Nunito-Bold.ttf | bin | 176492 -> 0 bytes | |||
-rw-r--r-- | res/Nunito-ExtraBold.ttf | bin | 0 -> 122984 bytes | |||
-rw-r--r-- | src/ui/text.c | 8 |
5 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d2b4153..3a4795d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -29,7 +29,7 @@ set (EMBED_RESOURCES | |||
29 | res/FiraSans-Light.ttf | 29 | res/FiraSans-Light.ttf |
30 | res/FiraSans-Italic.ttf | 30 | res/FiraSans-Italic.ttf |
31 | res/Nunito-Regular.ttf | 31 | res/Nunito-Regular.ttf |
32 | res/Nunito-Bold.ttf | 32 | res/Nunito-ExtraBold.ttf |
33 | res/Nunito-ExtraLight.ttf | 33 | res/Nunito-ExtraLight.ttf |
34 | res/Nunito-LightItalic.ttf | 34 | res/Nunito-LightItalic.ttf |
35 | res/FiraMono-Regular.ttf | 35 | res/FiraMono-Regular.ttf |
diff --git a/res/Nunito-Black.ttf b/res/Nunito-Black.ttf deleted file mode 100644 index 955e3b2a..00000000 --- a/res/Nunito-Black.ttf +++ /dev/null | |||
Binary files differ | |||
diff --git a/res/Nunito-Bold.ttf b/res/Nunito-Bold.ttf deleted file mode 100644 index c8fabf7d..00000000 --- a/res/Nunito-Bold.ttf +++ /dev/null | |||
Binary files differ | |||
diff --git a/res/Nunito-ExtraBold.ttf b/res/Nunito-ExtraBold.ttf new file mode 100644 index 00000000..9fa494c4 --- /dev/null +++ b/res/Nunito-ExtraBold.ttf | |||
Binary files differ | |||
diff --git a/src/ui/text.c b/src/ui/text.c index 7c87f428..e14a679e 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -170,10 +170,10 @@ static void initFonts_Text_(iText *d) { | |||
170 | { &fontFiraMonoRegular_Embedded, monoSize * 0.750f, smallSymbols_FontId }, | 170 | { &fontFiraMonoRegular_Embedded, monoSize * 0.750f, smallSymbols_FontId }, |
171 | { &fontNunitoRegular_Embedded, textSize * 1.333f, mediumSymbols_FontId }, | 171 | { &fontNunitoRegular_Embedded, textSize * 1.333f, mediumSymbols_FontId }, |
172 | { &fontNunitoLightItalic_Embedded, textSize, symbols_FontId }, | 172 | { &fontNunitoLightItalic_Embedded, textSize, symbols_FontId }, |
173 | { &fontNunitoBold_Embedded, textSize, symbols_FontId }, | 173 | { &fontNunitoExtraBold_Embedded, textSize, symbols_FontId }, |
174 | { &fontNunitoBold_Embedded, textSize * 1.333f, mediumSymbols_FontId }, | 174 | { &fontNunitoExtraBold_Embedded, textSize * 1.333f, mediumSymbols_FontId }, |
175 | { &fontNunitoBold_Embedded, textSize * 1.666f, largeSymbols_FontId }, | 175 | { &fontNunitoExtraBold_Embedded, textSize * 1.666f, largeSymbols_FontId }, |
176 | { &fontNunitoBold_Embedded, textSize * 2.000f, hugeSymbols_FontId }, | 176 | { &fontNunitoExtraBold_Embedded, textSize * 2.000f, hugeSymbols_FontId }, |
177 | { &fontNunitoExtraLight_Embedded, textSize * 1.666f, largeSymbols_FontId }, | 177 | { &fontNunitoExtraLight_Embedded, textSize * 1.666f, largeSymbols_FontId }, |
178 | { &fontSymbola_Embedded, fontSize_UI, defaultSymbols_FontId }, | 178 | { &fontSymbola_Embedded, fontSize_UI, defaultSymbols_FontId }, |
179 | { &fontSymbola_Embedded, fontSize_UI * 1.125f, defaultMediumSymbols_FontId }, | 179 | { &fontSymbola_Embedded, fontSize_UI * 1.125f, defaultMediumSymbols_FontId }, |