From 70f3941e6c511bd75d3bf26ade4ba9b3e7629933 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 23 Jan 2018 20:57:29 +0100 Subject: [PATCH] - tuxtxt: disable unused defines for alternative fonts Signed-off-by: Thilo Graf --- lib/libtuxtxt/tuxtxt.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libtuxtxt/tuxtxt.h b/lib/libtuxtxt/tuxtxt.h index 9b641b5e5..e20983b6e 100644 --- a/lib/libtuxtxt/tuxtxt.h +++ b/lib/libtuxtxt/tuxtxt.h @@ -70,9 +70,11 @@ extern int tuxtxt_get_zipsize(int p, int sp); /* fonts */ #define TUXTXTTTF FONTDIR "/tuxtxt.ttf" #define TUXTXTOTB FONTDIR "/tuxtxt.otb" +#if 0 /* alternative fontdir */ -#define TUXTXTTTFVAR "/var/tuxtxt/tuxtxt.ttf" -#define TUXTXTOTBVAR "/var/tuxtxt/tuxtxt.otb" +#define TUXTXTTTFVAR FONTDIR_VAR "/tuxtxt.ttf" +#define TUXTXTOTBVAR FONTDIR_VAR "/tuxtxt.otb" +#endif int TTFWidthFactor16, TTFHeightFactor16, TTFShiftX, TTFShiftY; /* parameters for adapting to various TTF fonts */ int fontheight, fontwidth, fontwidth_normal, fontwidth_small, fontwidth_topmenumain, fontwidth_topmenusmall, ascender;