anelok: charset and font
werner at almesberger.net
Fri Sep 20 18:20:49 EDT 2013
> Curious about this, I search for something already invented, and find a
> nice program (windows only, linux needs mono).
> Also I find a post about
> this tool combined with a kerning table that produces a nice looking
The kerning is too aggressive but the font looks very pretty.
Tahoma is proprietary, though, but there should be suitable
By the way, "our" OLED also has an SSD1306 controller.
For kerning, one approach may be to calculate the right edge
of the first character, then the left edge of the keep-out area
of the second character. Find the smallest offset that
forall y: edge(left, y) <= edge(right, y) + offset
The keep-out area would be some pixels in x but also in y.
Maybe a half-circle.
Probably also needs a minimum step, to keep commas, dots,
underscores, etc., from crawling into the preceding character.
More information about the discussion