Contextual alternates are normally used for certain scripts, like Arabic, where the shape of each glyph depends on the surrounding glyphs. And they are also used for cursive handwriting fonts where the stroke of the “pen” might have different connection points across letters. Texture healing is a novel application of this technology to code.
basically fonts were already capable of using alternate versions of characters based on their nearby characters, so they used that for these fonts to allow for seemingly-dynamic sizing/spacing
autokludge@programming.dev 1 year ago
It’s basically a different type of ligature - it is standard to OTF fonts, but requires ligature support in your editor/terminal. Just need to enable ligatures and/or enable specific ligature sets. See github.com/githubnext/monaspace#editors or maybe wezfurlong.org/wezterm/config/font-shaping.html for the general procedure in a supporting terminal.
jeffhykin@lemm.ee 11 months ago
Is there a way to disable it but keep ligatures?
autokludge@programming.dev 11 months ago
From github.com/githubnext/monaspace#editors :
jeffhykin@lemm.ee 11 months ago
Thank you!