this post was submitted on 20 Nov 2025
544 points (97.1% liked)

Programmer Humor

27479 readers
2105 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] chellomere@lemmy.world 3 points 4 days ago* (last edited 4 days ago)

It would make sense that a code editor could use a more limited subset of text rendering that could be more optimized.

Perhaps a bit surprisingly, Microsoft actually has pretty good documentation on OpenType. Here's info on what shaping applies to "standard" scripts:

https://learn.microsoft.com/en-us/typography/script-development/standard

And here's the landing page for the latest OpenType spec:

https://learn.microsoft.com/en-us/typography/opentype/spec/

Specifically for ligatures, you're looking for the liga feature which is specified in the font's GSUB table.