parent
b5546a2d1a
commit
c62a952fd6
|
@ -86,7 +86,7 @@ Efont_load(const char *file, int size)
|
|||
if (!fp_set)
|
||||
{
|
||||
imlib_add_path_to_font_path(docdir);
|
||||
sprintf(s, "%s/../ttfonts", docdir);
|
||||
sprintf(s, "%s/fonts", ENLIGHTENMENT_ROOT);
|
||||
imlib_add_path_to_font_path(s);
|
||||
fp_set = 1;
|
||||
}
|
||||
|
|
|
@ -45,6 +45,8 @@ EFonts_Init(void)
|
|||
|
||||
Esnprintf(s, sizeof(s), "%s/ttfonts", Mode.theme.path);
|
||||
imlib_add_path_to_font_path(s);
|
||||
Esnprintf(s, sizeof(s), "%s/fonts", ENLIGHTENMENT_ROOT);
|
||||
imlib_add_path_to_font_path(s);
|
||||
lst = StrlistFromString(Conf.theme.ttfont_path, ':', &num);
|
||||
for (i = 0; i < num; i++)
|
||||
imlib_add_path_to_font_path(lst[i]);
|
||||
|
|
Loading…
Reference in New Issue