44 points | by LorenDB 9 days ago ago
7 comments
Note: this is different from https://blog.glyphdrawing.club/font-with-built-in-syntax-hig... https://news.ycombinator.com/item?id=41245159 which recently resurfaced, and is cited as prior art.
From what I can gather, the underlying feature that enables this is vontextual alternates[1], primarily intended to adjust letters based on adjacent letters to improve legibility.
edit: I see the referenced inspiration[2] explains it in detail.
[1]: https://typenetwork.com/articles/opentype-at-work-contextual...
[2]: https://blog.glyphdrawing.club/font-with-built-in-syntax-hig...
Fascinating
As a text editor user, I prefer selecting the font and the syntax highlighting independently. This font is not useful for me.
>As a text editor user, I prefer selecting the font and the syntax highlighting independently. This font is not useful for me.
Then it's not for you. This comment does not add anything to the conversation and comments like these are better left unwritten.
I suppose this gets useful in applications where you can change the font, but not add syntax highlighting. Besides being a neat trick, of course.
Note: this is different from https://blog.glyphdrawing.club/font-with-built-in-syntax-hig... https://news.ycombinator.com/item?id=41245159 which recently resurfaced, and is cited as prior art.
From what I can gather, the underlying feature that enables this is vontextual alternates[1], primarily intended to adjust letters based on adjacent letters to improve legibility.
edit: I see the referenced inspiration[2] explains it in detail.
[1]: https://typenetwork.com/articles/opentype-at-work-contextual...
[2]: https://blog.glyphdrawing.club/font-with-built-in-syntax-hig...
Fascinating
As a text editor user, I prefer selecting the font and the syntax highlighting independently. This font is not useful for me.
>As a text editor user, I prefer selecting the font and the syntax highlighting independently. This font is not useful for me.
Then it's not for you. This comment does not add anything to the conversation and comments like these are better left unwritten.
I suppose this gets useful in applications where you can change the font, but not add syntax highlighting. Besides being a neat trick, of course.