summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-26 11:12:49 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-26 11:12:49 +0200
commitb2fe00b9c596e82e405798358077643bdc7a8df0 (patch)
tree3ae908654bc3acb07c8ca596843af34c9d7cd348 /src/ui/window.c
parent00ae4a19262ea84a1fbb8f788f7d64823b80d1b0 (diff)
Added Noto Sans SC; font table cleanup
Added the Noto Sans Simplified Chinese font. This adds another ~10 MB to resources.lgr, increasing the urgency of distributing fonts via separate downloads. The font table was getting difficult to manage, so now the sizes are broken out into a separate enum, and the table is reordered to match the FontSize order.
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 97500b22..9b132da1 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -986,7 +986,7 @@ static void setupUserInterface_Window(iWindow *d) {
986 iClob(newIcon_LabelWidget("\U0001f513", SDLK_i, KMOD_PRIMARY, "document.info")), 986 iClob(newIcon_LabelWidget("\U0001f513", SDLK_i, KMOD_PRIMARY, "document.info")),
987 embedFlags | moveToParentLeftEdge_WidgetFlag); 987 embedFlags | moveToParentLeftEdge_WidgetFlag);
988 setId_Widget(as_Widget(lock), "navbar.lock"); 988 setId_Widget(as_Widget(lock), "navbar.lock");
989 setFont_LabelWidget(lock, defaultSymbols_FontId); 989 setFont_LabelWidget(lock, symbols_FontId + uiNormal_FontSize);
990 updateTextCStr_LabelWidget(lock, "\U0001f512"); 990 updateTextCStr_LabelWidget(lock, "\U0001f512");
991 } 991 }
992 iWidget *rightEmbed = new_Widget(); 992 iWidget *rightEmbed = new_Widget();