aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/mcufont/mf_config.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-09-06 12:23:48 +1000
committerinmarket <andrewh@inmarket.com.au>2013-09-06 12:23:48 +1000
commit439426667990b90f76f759ae8f993215c16770cd (patch)
tree518654e216ba6d28934ce5b6532fc02b7fd450c2 /src/gdisp/mcufont/mf_config.h
parentb53ab7adf4f04ad1da30c3a7fd7e9fecd0404d83 (diff)
downloaduGFX-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.h9
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 *
*******************************************************/