summaryrefslogtreecommitdiff
path: root/nuklear_ui/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuklear_ui/font.c')
-rw-r--r--nuklear_ui/font.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuklear_ui/font.c b/nuklear_ui/font.c
index 8dde3d0..b949a57 100644
--- a/nuklear_ui/font.c
+++ b/nuklear_ui/font.c
@@ -14,7 +14,8 @@ char *default_font_path(void)
return strdup(FONT_PATH);
}
#endif
- FILE *fc_pipe = popen("fc-match -f '%{file}'", "r");
+ //TODO: specify language dynamically once BlastEm is localized
+ FILE *fc_pipe = popen("fc-match :lang=en -f '%{file}'", "r");
if (!fc_pipe) {
return NULL;
}