VorpalGun, sorry for overlooking your comment!
Seems like Fontconfig does realize that this is a monospaced font:
% fc-query -f '%{spacing=}\n' /usr/share/fonts/TTF/TerminusTTF.ttf
spacing=100
A spacing
of 100
means mono
according to fonts-conf(5)
.
I think the issue is not with the font, but with your Fontconfig pattern. If we ask Fontconfig to prefer monospaced fonts, the sorted font list also includes only monospaced fonts:
% fc-match -sf '%{=fcmatch} %{spacing=}\n' 'Terminus (TTF):mono' | head -5
TerminusTTF.ttf: "Terminus (TTF)" "Medium" spacing=100
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" spacing=100
DejaVuSansMono-Bold.ttf: "DejaVu Sans Mono" "Bold" spacing=100
DejaVuSansMono-Oblique.ttf: "DejaVu Sans Mono" "Oblique" spacing=100
l047013t.pfa: "Luxi Mono" "Regular" spacing=100
Compare with the pattern Terminus (TTF)
, which tells Fontconfig the family name, but nothing about the preferred spacing:
% fc-match -sf '%{=fcmatch} %{spacing=}\n' 'Terminus (TTF)' | head -5
TerminusTTF.ttf: "Terminus (TTF)" "Medium" spacing=100
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique"
DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique"
I.e. try pattern Terminus (TTF):mono
instead of just Terminus (TTF)
.
Pinned Comments
Tblue commented on 2010-04-11 13:34 (UTC) (edited on 2016-05-04 21:35 (UTC) by Tblue)