Multiple entries for same kern pair

Post Reply
User avatar
mekkablue
Posts: 6
Joined: 28 Jul 2019

Multiple entries for same kern pair

Post by mekkablue »

I just did an analysis of a GSFont.kerning in a font kerned with KO, and came across multiple entries for the exact same pair. Is this intentional, and if so, why?

Here is an excerpt for two pairs, first word is the name of the master, all pairings are exceptions. The number of entries per pair varies greatly, sometimes there is only one, sometimes there are dozens. AFAICT, only kerning exceptions are affected, no group kerning has double entries:

Black seven seven -41.0
Black seven seven -38.0
Black seven seven -29.0
Black seven seven -40.0
Black quotedblbase quotedblbase -46.0
Black quotedblbase quotedblbase -81.0
Black quotedblbase quotedblbase -29.0
Black quotedblbase quotedblbase -29.0
Black quotedblbase quotedblbase -29.0
Black quotedblbase quotedblbase -29.0
Black quotedblbase quotedblbase -47.0
Black quotedblbase quotedblbase -47.0
Black quotedblbase quotedblbase -46.0
Black quotedblbase quotedblbase -47.0
Black quotedblbase quotedblbase -38.0
Black quotedblbase quotedblbase -38.0
Black quotedblbase quotedblbase -38.0
Black quotedblbase quotedblbase -21.0
Black quotedblbase quotedblbase -20.0
Black quotedblbase quotedblbase -21.0
User avatar
Tim Ahrens
Site Admin
Posts: 424
Joined: 11 Jul 2019

Re: Multiple entries for same kern pair

Post by Tim Ahrens »

Thanks for the notification, I will look into this.
User avatar
mekkablue
Posts: 6
Joined: 28 Jul 2019

Re: Multiple entries for same kern pair

Post by mekkablue »

No, I can confirm the error is not in KernOn. I believe there is an issue in the Glyphs API when accessing the kerning dict under certain circumstances. Please close the issue, sorry for the confusion.
User avatar
Tim Ahrens
Site Admin
Posts: 424
Joined: 11 Jul 2019

Re: Multiple entries for same kern pair

Post by Tim Ahrens »

Good to know!

I guess I can’t “close this” thread, using a stone-age forum (oh, wait: bulletin board) software here.
Post Reply