Closed brontosaurusrex closed 5 years ago
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?
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.
Debian Stretch,
to ~/.fonts
run
fc-cache -vf ~/.fonts/
Edited .Xresources like so
The name i got from
Various links that should lead me to correct install procedure seems to be wrong.
p.s. This
doesn't include fantasques in its output.