Article 4Z8F9 xterm and -fa

xterm and -fa

by
joenew
from LinuxQuestions.org on (#4Z8F9)
Hi all, I noticed I can't change xterm font to any TTF font, like "Dejavu Sans Mono" or "Hack".
Those fonts are installed and fc-list report them:
Code:fc-list|grep TTF|grep -i "Hack\|DejaVuSansMono"|sort
/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique
/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique
/usr/share/fonts/TTF/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/TTF/Hack-Bold.ttf: Hack:style=Bold
/usr/share/fonts/TTF/Hack-BoldItalic.ttf: Hack:style=Bold Italic
/usr/share/fonts/TTF/Hack-Italic.ttf: Hack:style=Italic
/usr/share/fonts/TTF/Hack-Regular.ttf: Hack:style=Regularxterm version is the one shipped with slackware-current, and should be compiled with truetype fonts support:
Code:$ xterm -v
X.Org 7.7.0(353)

$ ldd /usr/bin/xterm |grep "freetype\|fontconfig"
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f085a28a000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f085a1ce000)I can also use "Hack" font in "suckless st" terminal both via .Xresources, but also by command line:

Code:st -f Hack:pixelsize=20:antialias=true:autohint=trueCode:~/.Xresources

st.font: Hack:pixelsize=20:antialias=true:autohint=trueAny idea why launching xterm with font Hack or DejaVu Sans Mono doesn't work?
Thanks in advance!latest?d=yIl2AUoC8zA latest?i=88FDSTT7ERk:_jFHlQT8IaM:F7zBnMy latest?i=88FDSTT7ERk:_jFHlQT8IaM:V_sGLiP latest?d=qj6IDK7rITs latest?i=88FDSTT7ERk:_jFHlQT8IaM:gIN9vFw88FDSTT7ERk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments