Support for OpenType Contextual Alternates Fonts to Allow e.g. Sparklines #4380

Open
opened 2026-01-30 23:45:35 +00:00 by claunia · 3 comments
Owner

Originally created by @adishavit on GitHub (Oct 10, 2019).

Description of the new feature/enhancement

I'd love to see support for fonts like AtF Sparks.
This will allow writing much richer console apps without the need for complex dialog boxes to e.g. monitor a running process.
img

Proposed technical implementation details (optional)

This is apparently achieved y supporting "OpenType Contextual Alternates".

img

Support for fonts like ATF Sparks, will give us the ability to do line-based charting.
Apps could plot historic values as sparklines a-la TaskManager, or report the distribution of values using histogram-like charts. Very helpful for IoT devices, web-services, financial apps etc.
There are many applications that do not require a GUI, and adding charting facilities would give them a significant power boost.

Originally created by @adishavit on GitHub (Oct 10, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement I'd love to see support for fonts like [AtF Sparks](https://aftertheflood.com/projects/sparks/). This will allow writing much richer console apps without the need for complex dialog boxes to e.g. monitor a running process. ![img](https://aftertheflood.com/wp-content/uploads/2018/01/spark-typing-v2.gif) <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) This is apparently achieved y supporting "OpenType Contextual Alternates". <!-- A clear and concise description of what you want to happen. --> ![img](https://aftertheflood.com/wp-content/uploads/2018/01/sparks-fullset.gif) Support for fonts like ATF Sparks, will give us the ability to do line-based charting. Apps could plot historic values as sparklines a-la TaskManager, or report the distribution of values using histogram-like charts. Very helpful for IoT devices, web-services, financial apps etc. There are many applications that do not require a GUI, and adding charting facilities would give them a significant power boost.
claunia added the Issue-FeatureArea-RenderingProduct-Terminal labels 2026-01-30 23:45:35 +00:00
Author
Owner

@leduyquang753 commented on GitHub (Oct 10, 2019):

Please note in mind that the terminal uses monospaced fonts, which means every glyph must have the same width, and your font's glyphs are not.

@leduyquang753 commented on GitHub (Oct 10, 2019): Please note in mind that the terminal uses monospaced fonts, which means every glyph must have the same width, and your font's glyphs are not.
Author
Owner

@adishavit commented on GitHub (Oct 10, 2019):

Good point (which I thought of too after posting).
But I could imagine a Monospace version of such a font. Supporting this type of advanced font features will hopefully/likely encourage the creation of such fonts.

cc: @tomgp

@adishavit commented on GitHub (Oct 10, 2019): Good point (which I thought of too after posting). But I could imagine a Monospace version of such a font. Supporting this type of advanced font features will hopefully/likely encourage the creation of such fonts. cc: @tomgp
Author
Owner

@DHowett-MSFT commented on GitHub (Oct 10, 2019):

If there's ever a monospace version of a Sparkline font, we'll look at how much work it is to support. There's another workitem on this repository about mapping N glyphs to M cells, which is something we only support for values of N 1 or 2 and M 1 or 2. THat'll be a big deal if we get sparklines.

@DHowett-MSFT commented on GitHub (Oct 10, 2019): If there's ever a monospace version of a Sparkline font, we'll look at how much work it is to support. There's another workitem on this repository about mapping N glyphs to M cells, which is something we only support for values of N 1 or 2 and M 1 or 2. THat'll be a big deal if we get sparklines.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4380