diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-19 08:34:13 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-19 08:34:13 +0200 |
commit | 9396695caf57ddcdcc58b6dea1fcae3ef942c21f (patch) | |
tree | 6edd59ce7e432c30f81fcb5b54604285654d1a05 /src/ui | |
parent | bbda6d5ec0481eb8b8803cf601bb2ea8bb7f8da5 (diff) |
Replaced Japanese font with Noto Sans CJK JP
Alas, a couple of megabytes larger than Kosugi Maru, but has better glyph coverage.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/text.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ui/text.c b/src/ui/text.c index 60337c10..8b3badb4 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -247,14 +247,14 @@ static void initFonts_Text_(iText *d) { | |||
247 | { &fontNotoEmojiRegular_Embedded, monoSize, 1.0f, monospaceSymbols_FontId }, | 247 | { &fontNotoEmojiRegular_Embedded, monoSize, 1.0f, monospaceSymbols_FontId }, |
248 | { &fontNotoEmojiRegular_Embedded, monoSize * 0.750f, 1.0f, monospaceSmallSymbols_FontId }, | 248 | { &fontNotoEmojiRegular_Embedded, monoSize * 0.750f, 1.0f, monospaceSmallSymbols_FontId }, |
249 | /* japanese fonts */ | 249 | /* japanese fonts */ |
250 | { &fontKosugiMaruRegular_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, | 250 | { &fontNotoSansJPRegular_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, |
251 | { &fontKosugiMaruRegular_Embedded, monoSize * 0.750, 1.0f, monospaceSmallSymbols_FontId }, | 251 | { &fontNotoSansJPRegular_Embedded, monoSize * 0.750, 1.0f, monospaceSmallSymbols_FontId }, |
252 | { &fontKosugiMaruRegular_Embedded, monoSize, 1.0f, monospaceSymbols_FontId }, | 252 | { &fontNotoSansJPRegular_Embedded, monoSize, 1.0f, monospaceSymbols_FontId }, |
253 | { &fontKosugiMaruRegular_Embedded, textSize, 1.0f, symbols_FontId }, | 253 | { &fontNotoSansJPRegular_Embedded, textSize, 1.0f, symbols_FontId }, |
254 | { &fontKosugiMaruRegular_Embedded, textSize * 1.200f, 1.0f, mediumSymbols_FontId }, | 254 | { &fontNotoSansJPRegular_Embedded, textSize * 1.200f, 1.0f, mediumSymbols_FontId }, |
255 | { &fontKosugiMaruRegular_Embedded, textSize * 1.333f, 1.0f, bigSymbols_FontId }, | 255 | { &fontNotoSansJPRegular_Embedded, textSize * 1.333f, 1.0f, bigSymbols_FontId }, |
256 | { &fontKosugiMaruRegular_Embedded, textSize * 1.666f, 1.0f, largeSymbols_FontId }, | 256 | { &fontNotoSansJPRegular_Embedded, textSize * 1.666f, 1.0f, largeSymbols_FontId }, |
257 | { &fontKosugiMaruRegular_Embedded, textSize * 2.000f, 1.0f, hugeSymbols_FontId }, | 257 | { &fontNotoSansJPRegular_Embedded, textSize * 2.000f, 1.0f, hugeSymbols_FontId }, |
258 | /* korean fonts */ | 258 | /* korean fonts */ |
259 | { &fontNanumGothicRegular_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, | 259 | { &fontNanumGothicRegular_Embedded, fontSize_UI, 1.0f, defaultSymbols_FontId }, |
260 | { &fontNanumGothicRegular_Embedded, monoSize * 0.750, 1.0f, monospaceSmallSymbols_FontId }, | 260 | { &fontNanumGothicRegular_Embedded, monoSize * 0.750, 1.0f, monospaceSmallSymbols_FontId }, |