Hacker News new | ask | show | jobs
by cognitivegears 1 day ago
Personally I’ve been hoping to see more monospace fonts like Monaspace with texture healing (https://monaspace.githubnext.com). While Monaspace is great, I’d love to see fonts like OpenMono support this for more alternatives.
6 comments

I hadn't heard of texture healing before, but after reading up on it^[1] I'm surprised it isn't more common—it seems like a smart way to improve readability in monospace fonts.

Combined with Commit Mono's smart kerning^[2], you could make a killer monospace font.

[1]: https://github.com/githubnext/monaspace/blob/main/docs/Textu...

[2]: https://commitmono.com

It is quite burdensome to implement. You need multiple copies of the same glyph only differing by widths, and naive horizontal scaling doesn't make good glyphs so those copies are genuine workloads. (Unless you are making a variable font.)
Pragmata Pro just added support for it too.
so much effort and complexity to address largely self-inflicted problem; for lots of use-cases the real solution, variable-width fonts, is there and is so much better. but no, techies love their janky retro fixed character cell grids and so we just keep piling up more and more crap on top of that.

(yes, monospace is somewhat justified for something like bare-minimum recovery consoles etc, but that is pretty small niche)

That’s a very cool feature. I don’t quite get why it’s named that though.
I was quite enthusiastic about trying this texture healing when I first heard about it, but for some reason, my brain just can't really process the character shifts happening in a fixed-width context. It always feels like the spacing is off compared to the non-healed version.
Interesting idea. It seems to fix the extremely narrow "m" letter and the text looks better. And it seems that you do not need extra software - it is implemented in the font itself.
Iosevka has this, I enable it in my personal builds.
Does that mean that Iosevka (which I'm using right now) and also this Open Mono do not support it ootb?
Iosevka does not enable it by default, you need to turn it on:

https://github.com/be5invis/Iosevka/issues/2081

Is texture healing supported in major terminals like Kitty?
yes