How can I make π(U+1d412), π½(U+1d43d), and π(U+1d441), which I can display clearly in my browser, show in the terminal?
I use Urxvt on Archlinux.
The ~/.Xdefaults file has this content:
URxvt*foreground:       #ffffff
URxvt*background:       #000000
URxvt*font:             xft:DejaVuSansMono Nerd Font Mono:size=12
URxvt*cursorBlink:      true
URxvt*scrollBar:        false
URxvt*scrollTtyOutput:  false
URxvt*saveLines:        50000
URxvt*scrollWithBuffer: true
URxvt*scrollTtyKeypress:true
URxvt.perl-ext-common:  resize-font
URxvt*color4:           #265997
URxvt*color12:          #3F6FD0
I know I have to change its 3rd line, but I don't how to know which font can show those symbols, nor if I have it already installed.
I know that the present question is (almost?) a duplicate of a similar question I asked a couple of years ago, however to be honest I'm still totally ignorant on this matter, and none of those answers really gave me a deterministic way to solve the problem of which font I need to install.
At the Font page of Archlinux wiki I read:
List installed fonts for a particular Unicode character
To search for monospace fonts supporting a particular Unicode codepoint:
fc-match -s monospace:charset=hex-code
and doing so for the 3 unicodes above gives several results on my system, however I don't know how I should update my ~/.Xdefaults.
For now, what I've tried has been changing the line URxvt*font:             xft:DejaVuSansMono Nerd Font Mono:size=12 and see what happens.
In fact, I've discovered that I can try out fonts live in the terminal without changing the configuration above by just entering printf '\e]710;%s\007' "xft:font-name:pixelsize=12", so I've done so for several font-names, which I've chosen from fc-list's output, by picking the text between the first and second (i.e. last) :, e.g. since fc-list has this line
/usr/share/fonts/TTF/Meslo LG L DZ Regular Nerd Font Complete Mono.ttf: MesloLGLDZ Nerd Font Mono:style=Regular
I've entered
printf '\e]710;%s\007' "xft:MesloLGSDZ Nerd Font Mono:pixelsize=12"
cat a-file-with-those-three-glyphs-in-it
but I keep seeing the boxes meaning the characters can't be shown.
URxvt*font, but that doesn't help.URxvt*font:xft:DejaVuSansMono Nerd Font Mono:size=12,xft:Libertinus Math:size=12andURxvt*font:xft:DejaVuSansMono Nerd Font Mono:size=12,xft:Sarasa Term K:size=12; I used your.Xdefaults(or other Sarasa variant) as is otherwise.