4 ms·
> Fonts require a 1:1 mapping between characters and outputs, there's no way to choose an output based on 2 consecutive digits IIRC ligatures break this constr
by ThePadawan 6y ago
> Fonts require a 1:1 mapping between characters and outputs, there's no way to choose an output based on 2 consecutive digits
IIRC ligatures break this constraint - that's how coding fonts get fancy glyphs for "==", "===", "=>" and so on.
- mark-r 6y agoGood point, but that's probably too much work for a free font. Especially since you need to output a code to mode switch before you can use the 2-digit barcodes, the font won't have any way of knowing what mode you're in.
- ThePadawan 6y agoThe free Fira Code [0] has them. I don't have the knowledge to respond to your second point. [0] https://github.com/tonsky/FiraCode https://github.com/tonsky/FiraCode