xterm can't load Inconsolata font with fontconfig-2.18.0-1

Keith Thompson Keith.S.Thompson@gmail.com
Mon May 25 02:33:59 GMT 2026


Since I upgraded the fontconfig packages from 2.17.1-1 to 2.18.0-1,
xterm can't load the "Inconsolata" font.  It falls back to
"DejaVuSansMono".  Reverting the fontconfig* packages to 2.17.1-1
fixes the problem.  Several other mono fonts are also affected.

Invoking xterm with XFT_DEBUG=3 causes it to show which fonts are
loaded, printed to stdout.

With fontconfig* version 2.17.1-1 (which works):

$ grep fontconfig /etc/setup/installed.db
fontconfig fontconfig-2.17.1-1.tar.bz2 1
libfontconfig-common libfontconfig-common-2.17.1-1.tar.bz2 1
libfontconfig-devel libfontconfig-devel-2.17.1-1.tar.bz2 1
libfontconfig1 libfontconfig1-2.17.1-1.tar.bz2 1
$ fc-list --version
fontconfig version 2.17.1
$ XFT_DEBUG=3 /usr/bin/xterm -fa Inconsolata -e sleep 1
XFT_DEBUG=3
XftFontInfoFill: /usr/share/fonts/inconsolata/Inconsolata.ttf: 0
(20.0526 pixels)
XftFontInfoFill: /usr/share/fonts/inconsolata/Inconsolata.ttf: 0
(20.0526 pixels)
XftFontInfoFill: /usr/share/fonts/inconsolata/Inconsolata.ttf: 0
(20.0526 pixels)
XftFontInfoFill: /usr/share/fonts/inconsolata/Inconsolata.ttf: 0
(20.0526 pixels)
$·

With fontconfig* version 2.18.0-1 (which fails):

$ grep fontconfig /etc/setup/installed.db
fontconfig fontconfig-2.18.0-1.tar.bz2 1
libfontconfig-common libfontconfig-common-2.18.0-1.tar.bz2 1
libfontconfig-devel libfontconfig-devel-2.18.0-1.tar.bz2 1
libfontconfig1 libfontconfig1-2.18.0-1.tar.bz2 1
$ fc-list --version
fontconfig version 2.18.0
$ XFT_DEBUG=3 /usr/bin/xterm -fa Inconsolata -e sleep 1
XFT_DEBUG=3
XftFontInfoFill: /usr/share/fonts/dejavu/DejaVuSansMono.ttf: 0 (20.0526 pixels)
XftFontInfoFill: /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf: 0
(20.0526 pixels)
XftFontInfoFill: /usr/share/fonts/dejavu/DejaVuSansMono-Oblique.ttf: 0
(20.0526 pixels)
XftFontInfoFill:
/usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf: 0 (20.0526
pixels)
$


More information about the Cygwin mailing list