It’s all in the title! A feature suggestion.
The zero in the KiCad font should be slashed or dotted to differentiate it from “O”.
Thanks for reading!
This forum isn’t for feature suggestions. But you can already choose the default font through settings to be whatever you want.
As I have an interest in fonts, I looked into how the variant form of 0 is represented in fonts that have it.
It seems one should enter a normal 0 then follow it by the variant form selector. So the sequence is 0030 FE00, or in Unicode representation: ‘0\uFE00’. When this sequence is displayed in a font without the variant form, it just shows the normal 0.
Using the Linux echo command, we can generate the sequence with echo '0\uFE00'
which gives on the terminal:
$ echo -e '0\uFE00'
0︀
Running this through hexdump shows that the UTF-8 encoding is:
00000000 30 ef b8 80 0a |0....|
The 0a is the line feed. Now we copy and paste it after a normal 0 into the text entry box for text in a schematic:
Notice both 0s look the same in the text entry font. We get:
However this is in a font that has the variant form, Noto Sans.
So, to summarise, you need to:
- Select a font that has the variant form of 0, only a few do.
- Somehow enter the UTF-8 encoding of it into the text box; this is platform dependent.
As for the default KiCad font, I think that’s based on Hershey and compiled into the binary. I think it would be impossible to convince a dev to add a variant 0 to the font. So you’d have to use another font.
There, now you have all you need. Don’t get in touch with me if you have more questions about this.