From 015ccea30b4dbfe7f4743c00708d11d05349954d Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Sat, 9 Sep 2023 11:38:02 +0200 Subject: [PATCH] setfont: Don't look for fonts in the current directory Signed-off-by: Alexey Gladkov --- src/libkfont/context.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libkfont/context.c b/src/libkfont/context.c index 93efbe73..c3d89202 100644 --- a/src/libkfont/context.c +++ b/src/libkfont/context.c @@ -12,7 +12,6 @@ /* search for the map file in these directories (with trailing /) */ static const char *const mapdirpath[] = { - "", DATADIR "/" TRANSDIR "/", NULL }; @@ -27,7 +26,6 @@ static const char *const mapsuffixes[] = { /* search for the font in these directories (with trailing /) */ static const char *const fontdirpath[] = { - "", DATADIR "/" FONTDIR "/", NULL }; @@ -41,7 +39,6 @@ static char const *const fontsuffixes[] = { }; static const char *const unidirpath[] = { - "", DATADIR "/" UNIMAPDIR "/", NULL }; @@ -54,7 +51,6 @@ static const char *const unisuffixes[] = { /* hide partial fonts a bit - loading a single one is a bad idea */ const char *const partfontdirpath[] = { - "", DATADIR "/" FONTDIR "/" PARTIALDIR "/", NULL };