diff tools/fontconv.c @ 1272:acae5f8ebc67

Fix build process.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 19 May 2016 12:08:16 +0300
parents 5b8245e5f785
children 370c40e0847f
line wrap: on
line diff
--- a/tools/fontconv.c	Wed Jun 03 17:00:07 2015 +0300
+++ b/tools/fontconv.c	Thu May 19 12:08:16 2016 +0300
@@ -27,7 +27,9 @@
     {  1, 'v', "verbose",  "Be more verbose", OPT_NONE },
     {  2, 'o', "output",   "Set output filename", OPT_ARGREQ },
     {  3, 's', "size",     "Set glyph dimensions (-s W:H) for image->font conversion", OPT_ARGREQ },
+#ifdef DM_GFX_TTF_TEXT
     {  4, 'c', "color",    "TTF font rendering color (def: 0xFFFFFF)", OPT_ARGREQ },
+#endif
 };
 
 const int optListN = sizeof(optList) / sizeof(optList[0]);