Thanks gents.
I was originally configuring with
configure --prefix /opt/tcl8.6.12
which *should* have had xft enabled. I tried
configure --prefix /opt/tcl8.6.12 --disable-xft
to see whether it had any effect.
I've now reverted to the original command line -
configure --prefix /opt/tcl8.6.12
and checked that the output does indeed include
checking whether to use xft... yes
As far as I can tell I have the development package -
alan@kenneth:~$ sudo apt install libxft-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxft-dev is already the newest version (2.3.3-0ubuntu1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
but I can't find any headers with likely looking names. As far as I can see,
make
has completed without errors.
I also see that the compilation flags -DHAVE_LIBXFT=1 and -DHAVE_XFT=1
are both present. However, I can't find any use of HAVE_LIBXFT in the
sources, and the only use of HAVE_XFT I can find is in tkInt.h, which
includes the line
MODULE_SCOPE void TkUnixSetXftClipRegion(TkRegion clipRegion);
when it is defined; I can't find any reference to TkUnixSetXftClipRegion
anywhere.
(I've got three versions of Tcl/Tk on this system - ActiveTcl-8.6
(8.6.9), the default from Ubuntu (8.6.10) and my homebrew 8.6.12. The
8.6.9 and 8.6.10 versions seem to have a full complement of fonts, it's
just my own poor attempt that has problems.)
Still confused!
Alan