Signed-off-by: Alan Coopersmith <[email protected]>
---
os/config.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/os/config.c b/os/config.c
index 2e5dc1c..81275ea 100644
--- a/os/config.c
+++ b/os/config.c
@@ -60,6 +60,7 @@ in this Software without prior written authorization from The
Open Group.
#include "difsutils.h"
#include <X11/fonts/fontutil.h>
#include "difs.h"
+#include <X11/fonts/fontconf.h>
/* libXfont/src/bitmap/snfstr.h */
extern void SnfSetFormat(int bit, int byte, int glyph, int scan);
@@ -660,6 +661,8 @@ config_set_snf_format (
val = config_parse_int (parm, val, &ret, &scan);
if (ret == -1)
return val;
+#ifdef XFONT_SNFFORMAT
SnfSetFormat (bit, byte, glyph, scan);
+#endif
return val;
}
--
1.7.9.2
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel