Mercurial > repos > blastem
diff nuklear_ui/font.c @ 1983:a7b753e260a2 mame_interp
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 09 May 2020 23:39:44 -0700 |
parents | 3dd9c68472fb |
children | 369a52e302e2 |
line wrap: on
line diff
--- a/nuklear_ui/font.c Sun Apr 19 00:59:49 2020 -0700 +++ b/nuklear_ui/font.c Sat May 09 23:39:44 2020 -0700 @@ -14,7 +14,8 @@ 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; }