Commit Graph

2 Commits

Author SHA1 Message Date
Window Maker f7a7142889 wings: drop libXft from wfont.c / wfontpanel.c
The only Xft API used in shared font code was XftXlfdParse — used
to convert legacy X11 XLFD font names to fontconfig FcPatterns so
old WINGs config files keep working.

Replaced with a hand-written parser W_ParseXLFDToFcPattern (defined
in wfont.c, declared in WINGsP.h) that walks the 14 dash-separated
XLFD fields and pulls out family / weight / slant / pixelsize.
This is enough for every XLFD that wmaker / WPrefs has ever used
in practice (~14 different names across all defaults).

Both wfont.c and wfontpanel.c now use W_ParseXLFDToFcPattern, and
neither file includes <X11/Xft/Xft.h> any more.  libXft is now only
pulled in by the X11 font backend (wfont_x11.c), as it should be.

Build clean.  Wayland-only files still have zero X11 symbol
dependencies (verified via nm).
2026-05-24 11:09:39 +02:00
Levi Neely fcee811b99 WindowMaker 0.96.0 upstream source 2026-03-26 15:38:49 +01:00