diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-09-06 12:23:48 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-09-06 12:23:48 +1000 |
commit | 439426667990b90f76f759ae8f993215c16770cd (patch) | |
tree | 518654e216ba6d28934ce5b6532fc02b7fd450c2 /src/gdisp/mcufont/mf_config.h | |
parent | b53ab7adf4f04ad1da30c3a7fd7e9fecd0404d83 (diff) | |
download | uGFX-439426667990b90f76f759ae8f993215c16770cd.tar.gz uGFX-439426667990b90f76f759ae8f993215c16770cd.tar.bz2 uGFX-439426667990b90f76f759ae8f993215c16770cd.zip |
Update fonts files to allow compiling without GDISP_NEED_TEXT.
Diffstat (limited to 'src/gdisp/mcufont/mf_config.h')
-rw-r--r-- | src/gdisp/mcufont/mf_config.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 <gfx.h> +#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 * *******************************************************/ |