Skip to content

Comment on Fira Code: monospaced font with programming ligaturesparent

Comments

I suspect that it's possible, but would require an impractical number (1000) of ligatures in the font.

I wander if it would correctly draw:

  1 000 000
and not do:
  100 000 0
assuming its parsed left to right?

It’s possible with classes https://medium.com/@larsenwork/class-based-contextual-positi...

And assume we only support 4-10 digit numbers, it would require e.g. 6 rules or so.

But substitutions are done left-to-right, that might be a problem

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.