Auto-kern all layers command?

Post Reply
User avatar
claegg
Posts: 28
Joined: 23 Apr 2021

Auto-kern all layers command?

Post by claegg »

I need an auto-kern all layers command. Going through each layer and clicking ‘auto’ is too slow. Preferably I want to select a whole string of text and have ‘auto’ applied to all of the pairs in all of their layers in one go.

Is that possible?
User avatar
Tim Ahrens
Site Admin
Posts: 447
Joined: 11 Jul 2019

Re: Auto-kern all layers command?

Post by Tim Ahrens »

If you have many user-set autopairs then that means you are working with fonts for languages (and characters) that are not supported by Kern On yet?

There are several possible solutions to your problem:

1. Go to one master that has all the required user-set autopairs, then click on the little arrow to show them in a new tab, select all, go through the other masters and set them. Pros: This should be relatively quick as you don’t need to do it for each pair individually. Cons: You will have to do this for your next font as well (although copying them across is very easy), and all the other type designers who work with these characters will have to determine and discover the required pairs.

2. You can add the required pairs to the pair_frequencies.txt in your own copy of Kern On. Pros: No need to set user-set autopairs; they will be auto-kerned in all masters, plus any derived glyphs via OT features, automatically and without the risk of forgetting something. Cons: The file will be overwritten when you update Kern On. As above, others will not benefit from your additions.

3. You give me the list of required pairs and I add them to the built-in pair_frequencies.txt. Pros: Easier for everyone. This is the way to go. Cons: None (you can already add them to your own pair_frequencies.txt so you don’t need to wait for the next KO update).

4. You give me sample texts (corpora) of the languages you wish to support, and I will add them to my pipeline that generates the list of pairs. Pros: We will get a more complete and reliable list of additional pairs than manually setting a bunch of auto-pairs.

5. I add a command that allows you to set user-set autopairs for all masters. Cons: (no need to explain that after reading the above, I suppose ;-)
Post Reply