Font with Built-In Syntax Highlighting

https://blog.glyphdrawing.club/font-with-built-in-syntax-highlighting/

It’s wild what some people come up with.

198 points · 13 comments · view on lemmy.world

13 Comments

ashtrix@lemmy.ca · 33 pts · 2y

That's some out of the box thinking

Oha@lemmy.ohaa.xyz · 20 pts · 2y

Thats pretty impressive

shotgun_crab@lemmy.world · 14 pts · 2y (1 reply)

I guess we got smart fonts now... or in the future

babeuh@lemmy.world · 3 pts · 2y

Welll, we somehow can have LLMs inside of fonts now, so that's already pretty "smart" (for a font)

https://fuglede.github.io/llama.ttf

Or even a video game

https://www.coderelay.io/fontemon.html

HubertManne@moist.catsweat.com · 6 pts · 2y (7 replies)

all the code shows white to me.

tb_@lemmy.world · 8 pts · 2y (6 replies)

What browser do you use, or do you have some reading plug-ins?

For me it looks fine on the Firefox android app

HubertManne@moist.catsweat.com · 3 pts · 2y (5 replies)

no script. which makes me think the font does rely on some sort of script.

tb_@lemmy.world · 2 pts · 2y (4 replies)

What browser do you use?

HubertManne@moist.catsweat.com · 1 pts · 2y (3 replies)

sorry. I thought no script made that self evident but its firefox.

tb_@lemmy.world · 4 pts · 2y (2 replies)

Ah, I didn't know NoScript was exclusive to Firefox.

That's strange though. Here you can see NoScript breaks the mini js html editor embedded on the page, yet the colours work fine for me.

I wasn't able to make the highlighting work on a very quick and dirty html page of my own though. Not sure if I missed anything.

HubertManne@moist.catsweat.com · 2 pts · 2y (1 reply)

Im not sure if no script is on other browsers but I only hear from firefox users about it so I just sorta assumed. If I allow glyphdrawing.club the colors appear and then when I tell it to revoke temporary they stay. maybe its a one time download to fonts.

tb_@lemmy.world · 2 pts · 2y

Hmm, you're right. A ctrl + f5 reload with NoScript enabled does clear the colours, and won't have them come back until I disable NoScript again. Not sure what exactly it is then.

inbeesee@lemmy.world · 4 pts · 2y

This seems intensely useful if it was matured and solid. Compressing down complexity is usually very valuable in tech, like Markdown is.