#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

# Logic and the order in kerning tables

Posts: 265
edited January 2019
Which is the logic and the order in kerning tables?
Let's make a hypothesis. I intend to create three different kerning tables inside the same Lookup, the first one for the letters (pairs as `AV`, `To`, `Fr` etc.), the second one for the punctuation (pairs as `W.` `T-` `F,` etc), the third one for the numbers. Should they be placed in a predefined order?
My problem is that if I create a `'kern' Horizontal Kernin lookup 1` and then two subtables, i.e. `'kern' Horizontal Kerning lookup 1 kerning class 1` and then `'kern' Horizontal Kerning lookup 1 kerning class 2`, only the first is applied. If it is reversed, same thing. The first one is applied, the second one ignored.
Have I to create different lookups (and not different subtables in the same lookup)?
Or there is a conflict if in the first subtable I have `WA` and in the second `W.' ? But are they summative?
Now I ask: what's wrong in my procedure? How can the problem be solved, perhaps keeping the various subtables distinct?
Thank you
Tagged:

• Posts: 265
edited January 2019
I solved alone, by trial and error because I did not understand the logic.
It was necessary to place both the lookups of the kerning of the apostrophe before the general kerning of the letters.
I'd like to understand why ...
• Posts: 265
If I create a only kerning subtable and put <L'> and <'A> with a particular kerning, the <'A> works and the <L'> don't. Why? Any suggestion?
• Posts: 210
Concerning your first issue, I did explain it in a previous post, but in case you missed it:

If you have more than one class based kern sub table, do ensure they don't overlap. E.g. individual glyphs used within the first of the pair should not be used in more than one class based sub table within the same lookup.

About the other issue; some smart word processing applications might change the input while you type.

For example in Word 'A (quote A) will be changed to
'A (quoteleft A)

while L' (L quote) is changed to
L' (L quoteright)

• Posts: 265
edited January 2019
Thank you for your direction. Obviously I'm a beginner: only a month ago I had never tried to edit a font...

But, pratically, for instance, I write:
l'America : kerning between ' and A
L'automobile: kerning between L and '
L'AMERICA. requested double kerning between L' and 'A
How can I set the table?
In GaramondPremierePro there is a Lookup with a first subtable (lookup 1 kerning class 1) with kerning for quoteright (left column) and letters as A, F and L (right column). A second subtable  (lookup 1 kerning class 4) with kerning for letters as A, L and F (left column) and quoteright (right column). Is this the correct approach?

Other question
Some fonts have a kerning table for letters, another one for numbers.
Is there any other substantial reason besides a simple principle of order?

• Posts: 210

Thank you for your direction. Obviously I'm a beginner: only a month ago I had never tried to edit a font...

But, pratically, for instance, I write:
l'America : kerning between ' and A
L'automobile: kerning between L and '
L'AMERICA. requested double kerning between L' and 'A
How can I set the table?
Whatever you prefer. If you provide better examples or a font file to test, then we might be able to better assist you.

In GaramondPremierePro there is a Lookup with a first subtable (lookup 1 kerning class 1) with kerning for quoteright (left column) and letters as A, F and L (right column). A second subtable  (lookup 1 kerning class 4) with kerning for letters as A, L and F (left column) and quoteright (right column). Is this the correct approach?
There is no single correct approach, but this looks fine to me.

Other question
Some fonts have a kerning table for letters, another one for numbers.
Is there any other substantial reason besides a simple principle of order?

Yes. If there are no pairs between letters and numbers than it will save space if you split them into subtables.
• Posts: 265
Thank you, I solved analyzing some Adobe fonts...