Post #1484390
2026-01-04 22:01 UTC
@gdc Why a new system? Don't vector fonts typically already have anti-collision data embedded within them? I think I recall that each glyph's definition has a high, middle and low zone, defined as a distance left and right from a central spine. The spines, as well as the zones, have a minimum gap, so combinations like L7 don't get rendered as almost a box. (I may be remembering this inaccurately…)
Replies (1)
-
@gdc@typo.social 2026-01-04 22:26
@lowtech Hmm, I've never noticed anything like that in any font data I've inspected, but maybe I haven't dug deep enough. Do you remember where you've seen something like that? Kerning pairs, bearings and advance widths is how I understand kerning typically works. But anyway, I made this because it works with any vector shape, wheter it is a font or not. I already use a version of it in my experimental font editor and text layout tools to skip the manual kerning process.