Skip to content

Instantly share code, notes, and snippets.

@simoncozens
Last active February 15, 2023 00:39
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save simoncozens/03da7e5ad7f52af711948ed52a797e23 to your computer and use it in GitHub Desktop.
Hands, Face, Space
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@schriftgestalt
Copy link

If I understand that correctly, it should be called "Hands, Face, Kern!", shouldn't it?

@simoncozens
Copy link
Author

simoncozens commented Oct 18, 2021

It actually determines the spacing values for a pair, then computes kerns from that. The name refers to the UK’s COVID-19 public messaging.

@schriftgestalt
Copy link

I didn't know about the reference.

But it is not producing or outputting the spacing, or is it?

@simoncozens
Copy link
Author

It is. See "Predicted spacing : 98".

@schriftgestalt
Copy link

With spacing I meant sidebearing values for individual glyphs.

@simoncozens
Copy link
Author

Ah. No, it's not intended for use as an autospacer, but assuming you have already got the sidebearings, it uses the pair spacing prediction to create the kern value. The idea is that you give it a few examples of correctly kerned pairs, and it will use that information to generate more kern pairs and tell you the level of confidence for the generated kern pair; provide more examples and it will give you more confident output.

Sort of like... other software you might have seen.

@schriftgestalt
Copy link

Then I did understand it correctly. So "Kern" would be a better fit. It still would be a reference to the Boris (that most people in the world will not understand).

And why can’t it produce spacing. Just "kern" it to a bar and instead of outputting kerning, adjust the side-bearings.

@n8willis
Copy link

I gotta be honest, IMO "Hands Face Kern" would be a way more interesting name; plus, any people who would get the reference to the original would also get the reference to the latter ... with the added bonus of it being a second-order play on the terminology....

Comedy is tough engineering, at times, that's for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment