adam7/delugia-code

Include the √ character (charcode 0x221A)

emptyother opened this issue · 5 comments

Noticed when I ran yo doctor that the checkboxes were missing. Seems Cascadia Code hasn't included this character for some reason. I have posted an issue to them to include it.. But I've also noticed this version of the font adds another checkbox character ( with charcode 0xF00C).

I figured I could just copy that character into 0x221A in the fontforge desktop app. Could that be done by the script somehow? And should it, or should we wait for the Cascadia Code team to update their font instead? I got no idea how long it is until they start working on the symbols parts.

Finii commented

It would be easy to copy it over, after checking if it is already available or not.

0x221A is the mathematical symbol SQUARE ROOT
0xF00C is a typical checkmark Microsoft Symbol OK

Screenshot from 2019-11-06 19-10-35
"Root" 0x221A

Screenshot from 2019-11-06 19-24-49
"OK" 0xF00C

Maybe we can include the (all) math glyphs from somewhere else, I would have expected it to be included in the complete Nerd set. I would hesitate to copy "ok" to "sqrt"...

Finii commented

Hmm, at least on Gnome the font engine searches other fonts, if a specific font does not have a wanted glyph. Here you see both Delugia and Inconsolata - both do not have the ROOT symbol - on the console. The character is lent from DejaVuSans...

Screenshot from 2019-11-06 21-54-44

The Character Map shows for the selected font (Inconsolata, see top left) the font really used by the rendering engine (with a right click on the character):
Untitled

So I would conclude that something else is amiss with your setup, and the missing glyph should generally not be a problem.

Finii commented

For reference the issue created by @emptyother is microsoft/cascadia-code#176

Hmm, at least on Gnome the font engine searches other fonts,

Oh, okay, I see. Windows Conhost doesn't. ConEmu doesn't (probably for the same reason). But Windows Terminal do. So you are right, it shouldn't generally be a problem.

adam7 commented

This seems like something we shouldn't try and fix so unless you have any objection @emptyother I'll close it.

Thanks @Finii as always for the comprehensive investigation 🤍