forked from e16/e16
1
0
Fork 0

Support user fonts

Allow users to override fonts via ~/.e16/fonts/

Signed-off-by: Andrew Savchenko <bircoph@gmail.com>
This commit is contained in:
Andrew Savchenko 2021-01-19 17:42:04 +01:00 committed by Kim Woelders
parent eb4ea872e9
commit 0a4f1b14ed
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ EFonts_Init(void)
imlib_add_path_to_font_path(s);
Esnprintf(s, sizeof(s), "%s/fonts", EDirRoot());
imlib_add_path_to_font_path(s);
Esnprintf(s, sizeof(s), "%s/fonts", Mode.conf.dir);
imlib_add_path_to_font_path(s);
#endif
}