From 3a06e5165e7010bc5b3aea3f020d02304c136af7 Mon Sep 17 00:00:00 2001 From: stu Date: Tue, 7 Nov 2017 22:39:08 +0000 Subject: Add fontsystem values for Win and Mac. --- generic/tkPkgConfig.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/generic/tkPkgConfig.c b/generic/tkPkgConfig.c index d913fb1..8ea2c29 100644 --- a/generic/tkPkgConfig.c +++ b/generic/tkPkgConfig.c @@ -94,7 +94,11 @@ # define CFG_PROFILED "0" #endif -#ifdef HAVE_XFT +#if defined(_WIN32) || defined(__CYGWIN__) +# define CFG_FONTSYSTEM "gdi" +#elif defined(MAC_OSX_TK) +# define CFG_FONTSYSTEM "xft" +#elif defined(HAVE_XFT) # define CFG_FONTSYSTEM "xft" #else # define CFG_FONTSYSTEM "x11" -- cgit v0.12