Working on a new autokerning script.
It's based on a simple idea: fit glyphs as close to each other as possible based on the actual vector shape, so they're just about touching, but don't collide. Then add tracking.
But, depending on the desired effect, this can create too much overlap in combinations like "C-" where the dash would go completely inside the C shape. This is fixed by add a big bounding box that's some percentage of the original shape, and acts as a minimum bounding box size. This works quite nicely, so that combinations like AT, LY, etc. are not overkerned.
Here's debug images showing how the collision is actually detected. I parse the SVG path and create a binary tree of bounding boxes based on it. Then just do simple rectangle collision checks.
heikki
@gdc@typo.social
Designer-in-residence (2025–26) at the Centre for Text Margins. tool making | glyph drawing club | modular type design | type pictures | type ornaments | ascii art | textmode | text art | pictorial typography
typo.social
11
4
0
Conversation (4)
Showing 0 of 4 cached locally.
Syncing comments from the remote thread. 4 more replies are still loading.
Loading comments...