# HG changeset patch # User Michael Pavone # Date 1589055349 25200 # Node ID 3dd9c68472fb84844363e2f31c5468c243ff5f58 # Parent 3701517d852c51a28690daeaf3785626a311eb52 Specify desired language when invoking fc-match to find an appropriate font on Linux diff -r 3701517d852c -r 3dd9c68472fb nuklear_ui/font.c --- a/nuklear_ui/font.c Fri May 08 16:52:32 2020 -0700 +++ b/nuklear_ui/font.c Sat May 09 13:15:49 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; }