FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

The "Symbol For Escape" is way to small too read.

Open ceving opened this issue 2 years ago • 5 comments

Unicode contains symbols for control characters (ASCII < 0x20). For example U+241b is for ESC, which is called "escapecontrol" in FiraCode. The glyph contains the three letters E, S and C horizontally arranged next to each other from left to right.

The problem: if you use U+241b in a text, it is way to small to recognize. In particular if the glyph gets shaded it disappears in a shade of gray.

The same problem applies to all glyphs from U+2400 up to U+2421.

ceving avatar Jan 11 '23 10:01 ceving

How do you propose this should be addressed?

tonsky avatar Jan 11 '23 18:01 tonsky

I am not sure. I think the glyphs can be

  • more bold
  • overlap
  • diagonally arranged

More bold means there is more ink for shading. Overlap makes them bigger but still readable. And because the diagonal is longer, the glyphs have more room.

I have created an example using Inkscape, but I do not know how to attach anything to a comment. I have stored my proposal in a Gist: https://gist.github.com/ceving/19a71f56648732de838a19d6080dcaae

ceving avatar Jan 15 '23 08:01 ceving

If I arrange letters diagonally, that won’t change their size. Adding overlap might help, but I’m not sure I like the idea. Same with weight.

Overall, these are rarely useful, no? Kind of like “backup plan”, in case normal solution doesn’t work. What’s your use-case for printing those?

tonsky avatar Jan 17 '23 20:01 tonsky

I would say the use case for a glyph is to print it. Example: https://de.wikipedia.org/wiki/Steuerzeichen

Noto renders the individual characters diagonally. But still too thin and too small to read them.

ceving avatar Jan 17 '23 20:01 ceving

I use a serial terminal which renders the control characters with these glyphs. Personally, I like Cascadia's version (I've just been patching them in). Maybe something similar to that?

cjvaughter avatar May 26 '23 00:05 cjvaughter