no kerning group?

Post Reply
synthview
Posts: 11
Joined: 23 Apr 2021

no kerning group?

Post by synthview »

Hello,
I am looking at the kernings generated by Kern-On and spotted this:
Thorn;Y;-140
Thorn;Yacute;-140
Thorn;Ymacron;-140

Shouldn't we expect a group here?
User avatar
Tim Ahrens
Site Admin
Posts: 424
Joined: 11 Jul 2019

Re: no kerning group?

Post by Tim Ahrens »

Class kerning (groups, as Glyphs calls it) is not necessarily better in this case:
  • Three glyph-glyph pairs cost 3 * 4 bytes plus overhead for the first glyph.
  • Writing these pairs into the class kerning table will add a row to the table, which costs 2 bytes per cell plus class definition overhead.
Writing a sparse row is inefficient. In this case, using glyph-glyph pairs is more efficient unless the subtable row is very short.
synthview
Posts: 11
Joined: 23 Apr 2021

Re: no kerning group?

Post by synthview »

wow smart! ok thanks :)
Post Reply