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

Programmer Humor

28244 readers
1221 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 1 month ago* (last edited 1 month 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.