From 439426667990b90f76f759ae8f993215c16770cd Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 6 Sep 2013 12:23:48 +1000 Subject: Update fonts files to allow compiling without GDISP_NEED_TEXT. --- src/gdisp/mcufont/mf_config.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/gdisp/mcufont/mf_config.h') diff --git a/src/gdisp/mcufont/mf_config.h b/src/gdisp/mcufont/mf_config.h index 317e36f5..36268c6b 100644 --- a/src/gdisp/mcufont/mf_config.h +++ b/src/gdisp/mcufont/mf_config.h @@ -10,8 +10,16 @@ #ifndef _MF_CONFIG_H_ #define _MF_CONFIG_H_ +/******************************************************* + * Configuration settings related to GFX * + *******************************************************/ + #include +#if !GFX_USE_GDISP || !GDISP_NEED_TEXT + #define MF_NO_COMPILE // Don't compile any font code +#endif + /* Prevent double definitions of standard int types */ #define MF_NO_STDINT_H @@ -29,7 +37,6 @@ #define MF_USE_ADVANCED_WORDWRAP 0 #define MF_USE_JUSTIFY 0 - /******************************************************* * Configuration settings related to build environment * *******************************************************/ -- cgit v1.2.3