News for hackers. Stuff that matters.
Re:The Tao of Unicode Sparklines by hnlmorg on Tuesday August 27, 2024 @03:57AM (#41365409)
There are already several escape sequences for doing just this. In fact the original way of drawing terminal graphics was using a 7bit escape sequence to switch to a terminal graphics font.

Personally I’d rather see in-lined vector graphics become better supported. This was available on some of the Techtonix (iirc) hardware VTs and as far as I know, the only widespread terminal emulator to support that particular mode is xterm.

Re:The Tao of Unicode Sparklines by layer8 on Tuesday August 27, 2024 @06:14AM (#41365964)
Isn't that more like switching to a different character set, with supporting fonts having to be already present? Or what are you referring to?

I was thinking along the lines of online (or inline) fonts, similar to web fonts in CSS, which would allow for arbitrary custom glyphs.

Re:The Tao of Unicode Sparklines by LukeShu on Tuesday August 27, 2024 @10:08PM (#41375308)
Sixel graphics on the vt220 (1983) worked by defining a custom font of 10x10 px characters (9x10 in high-resolution mode), which you could then switch to for any given character.

As far as I know, there is no terminal emulator that supports this flavor if sixel graphics.