Debian Stretch,
Fantasque Sans Mono Regular Nerd Font Complete Mono.ttf
Fantasque Sans Mono Bold Nerd Font Complete Mono.ttf
Fantasque Sans Mono Bold Italic Nerd Font Complete Mono.ttf
Fantasque Sans Mono Italic Nerd Font Complete Mono.ttf
to ~/.fonts
fc-cache -vf ~/.fonts/
! old one
!URxvt.font: xft:FantasqueSansMono-Regular:size=12
! new one
URxvt.font: xft:FantasqueSansMonoNerdFontCompleteM-Regular:size=12
The name i got from
fc-scan --format "%{postscriptname}\n" font.ttf
Various links that should lead me to correct install procedure seems to be wrong.
p.s. This
fc-list -f "%{family} : %{file}\n" :spacing=100 | sort ## list monospace fonts by family and file
doesn't include fantasques in its output.
I'll have to test this out... Ideally the mono fonts _should_ work in Urxvt but you are proving there is an issue. Thanks
@brontosaurusrex you got the name wrong in your config. It should've been:
URxvt.font: xft:FantasqueSansMono Nerd Font:size=12
When looking for a font name, just type: fc-list | grep -i <keyword>
In this case, if I typed fc-list | grep -i fantasque, I'll get this output:
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Regular Nerd Font Complete Windows Compatible.ttf: FantasqueSansMono NF:style=Regular
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Bold Italic Nerd Font Complete.ttf: FantasqueSansMono Nerd Font:style=Bold Italic
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Regular Nerd Font Complete Mono.ttf: FantasqueSansMono Nerd Font Mono:style=Regular
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Italic Nerd Font Complete.ttf: FantasqueSansMono Nerd Font:style=Italic
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Italic Nerd Font Complete Mono.ttf: FantasqueSansMono Nerd Font Mono:style=Italic
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Bold Italic Nerd Font Complete Windows Compatible.ttf: FantasqueSansMono NF:style=Bold Italic
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Regular Nerd Font Complete Mono Windows Compatible.ttf: FantasqueSansMono NF:style=Regular
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono Windows Compatible.ttf: FantasqueSansMono NF:style=Bold Italic
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Regular Nerd Font Complete.ttf: FantasqueSansMono Nerd Font:style=Regular
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Bold Nerd Font Complete Mono.ttf: FantasqueSansMono Nerd Font Mono:style=Bold
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Italic Nerd Font Complete Mono Windows Compatible.ttf: FantasqueSansMono NF:style=Italic
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Bold Nerd Font Complete.ttf: FantasqueSansMono Nerd Font:style=Bold
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Bold Nerd Font Complete Windows Compatible.ttf: FantasqueSansMono NF:style=Bold
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono.ttf: FantasqueSansMono Nerd Font Mono:style=Bold Italic
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Italic Nerd Font Complete Windows Compatible.ttf: FantasqueSansMono NF:style=Italic
/usr/share/fonts/nerd-fonts/FantasqueSansMono/Fantasque Sans Mono Bold Nerd Font Complete Mono Windows Compatible.ttf: FantasqueSansMono NF:style=Bold
Look for the name before :style= section. That's the name that you should put in your config.
efade: Thanks, so you are saying this is working for you? (Doesn't make any difference here, urxvt shows wrong font).
edit: Ok I got it, this
URxvt.font: xft:FantasqueSansMono Nerd Font Mono:size=12
Of course now it turns out this is incompatible with my non-default font line-height, but that's for another thread, solved.
@efade thanks for the helping out
@brontosaurusrex thanks for the follow-up and yes you are right that issue would be a separate issue, and I believe there are multiple issues in the repo about things like line-height and other things not being the same after patching.
It would be good to add some examples or more detailed help for URxvt in the wiki perhaps?
Most helpful comment
@brontosaurusrex you got the name wrong in your config. It should've been:
URxvt.font: xft:FantasqueSansMono Nerd Font:size=12When looking for a font name, just type:
fc-list | grep -i <keyword>In this case, if I typed
fc-list | grep -i fantasque, I'll get this output:Look for the name before
:style=section. That's the name that you should put in your config.