From 7e39b3faf179b89ad6a09827db8135c18e0b4fc8 Mon Sep 17 00:00:00 2001 From: Ray Chason Date: Sat, 15 Aug 2026 04:57:38 -0400 Subject: [PATCH] Note Xft support in option window --- src/mdlib.c | 3 +++ sys/unix/hints/linux.500 | 3 ++- sys/unix/hints/macOS.500 | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/mdlib.c b/src/mdlib.c index 6648717d4..9599ad8a0 100644 --- a/src/mdlib.c +++ b/src/mdlib.c @@ -576,6 +576,9 @@ static const char *const build_opts[] = { #ifdef USE_XPM "tiles file in XPM format", #endif +#ifdef USE_XFT + "font rendering with Xft", +#endif #ifdef GRAPHIC_TOMBSTONE "graphical RIP screen", #endif diff --git a/sys/unix/hints/linux.500 b/sys/unix/hints/linux.500 index 45da9ee12..656e831e6 100755 --- a/sys/unix/hints/linux.500 +++ b/sys/unix/hints/linux.500 @@ -410,7 +410,8 @@ X11CFLAGS = -I/opt/X11/include # avoid repeated complaints about _X_NONNULL(args...) in X11CFLAGS += -Wno-variadic-macros ifdef USE_XFT -X11CFLAGS += -DUSE_XFT $(shell pkg-config --cflags xft fontconfig) +CFLAGS += -DUSE_XFT +X11CFLAGS += $(shell pkg-config --cflags xft fontconfig) WINX11LIB += $(shell pkg-config --libs xft fontconfig) endif ifdef USE_XPM diff --git a/sys/unix/hints/macOS.500 b/sys/unix/hints/macOS.500 index 223dfb7c3..06646dab0 100755 --- a/sys/unix/hints/macOS.500 +++ b/sys/unix/hints/macOS.500 @@ -289,7 +289,8 @@ X11CFLAGS = -I/opt/X11/include # avoid repeated complaints about _X_NONNULL(args...) in X11CFLAGS += -Wno-variadic-macros ifdef USE_XFT -X11CFLAGS += -DUSE_XFT $(shell pkg-config --cflags xft fontconfig) +CFLAGS += -DUSE_XFT +X11CFLAGS += $(shell pkg-config --cflags xft fontconfig) WINX11LIB += $(shell pkg-config --libs xft fontconfig) endif ifdef USE_XPM