Top
Best
New

Posted by LorenDB 5 days ago

A font with built-in TeX syntax highlighting(rajeeshknambiar.wordpress.com)
35 points | 6 comments
gwern 4 hours ago|
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.
magicalhippo 2 hours ago||
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...

punkpeye 5 hours ago||
Fascinating
ptspts 3 hours ago|
As a text editor user, I prefer selecting the font and the syntax highlighting independently. This font is not useful for me.
fph 1 hour ago||
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.
colechristensen 1 hour ago||
>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.