Page 1 of 1

How delete every data and restart Kern on from scratch?

Posted: 28 Jan 2025
by diegomaldonado
Hello all, I'm using Kern On an ongoing project and I made some bad decisions. I'm trying to delete all the User-Set autopairs and everything else. Start kern on again from scratch. I'm not finding how can I do that.

Re: How delete every data and restart Kern on from scratch?

Posted: 28 Jan 2025
by Tim Ahrens
Hello Diego, I’d suggest you open the Kerning Window (⌥⌘K) while Kern On is not running, and delete everything there (select all and click the little minus button). As you start Kern On again, it will give you a fresh start. Certain data such as the special spacing settings are retained so it is not a complete reset. Hope it helps you restart the project in any case.

Re: How delete every data and restart Kern on from scratch?

Posted: 28 Jan 2025
by diegomaldonado
I tried that, the moment I start Kern On, all User Set pairs are there.

Re: How delete every data and restart Kern on from scratch?

Posted: 28 Jan 2025
by diegomaldonado
Ok, I manually deleted it on .glyphspackage and worked.

Re: How delete every data and restart Kern on from scratch?

Posted: 29 Jan 2025
by Tim Ahrens
Glad it worked! I need to double-check in the code why it may not have started from scratch in your case. (The Kerning Window has the option to filter the pairs that are displayed. You may have selected and removed all, but in fact there were some hidden ones left.)

Re: How delete every data and restart Kern on from scratch?

Posted: 29 Jan 2025
by diegomaldonado
I can send you the file if you want

Re: How delete every data and restart Kern on from scratch?

Posted: 29 Jan 2025
by Tim Ahrens
Yes, please!

Re: How delete every data and restart Kern on from scratch?

Posted: 06 Feb 2025
by SCarewe
If I'm not mistaken, non-existing pairs are counted as 0, if there is a pair defined in GSMaster.userData["KernOnModels"]. So, in order to start from scratch, you need to delete the user data keys belonging to Kern On. There is a mekkablue script that allows you to see and subsequently delete user data entries.

Re: How delete every data and restart Kern on from scratch?

Posted: 10 Feb 2025
by Tim Ahrens
Yes, non-existing pairs defined as a model in the userData are considered to be zero.

However, if the font has no kerning pairs at all then it is considered to be untouched even if Kern On data exists in the userData.