How delete every data and restart Kern on from scratch?
- diegomaldonado
- Posts: 7
- Joined: 23 Apr 2021
How delete every data and restart Kern on from scratch?
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.
- Tim Ahrens
- Site Admin
- Posts: 477
- Joined: 11 Jul 2019
Re: How delete every data and restart Kern on from scratch?
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.
- diegomaldonado
- Posts: 7
- Joined: 23 Apr 2021
Re: How delete every data and restart Kern on from scratch?
I tried that, the moment I start Kern On, all User Set pairs are there.
- diegomaldonado
- Posts: 7
- Joined: 23 Apr 2021
Re: How delete every data and restart Kern on from scratch?
Ok, I manually deleted it on .glyphspackage and worked.
- Tim Ahrens
- Site Admin
- Posts: 477
- Joined: 11 Jul 2019
Re: How delete every data and restart Kern on from scratch?
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.)
- diegomaldonado
- Posts: 7
- Joined: 23 Apr 2021
Re: How delete every data and restart Kern on from scratch?
I can send you the file if you want
- Tim Ahrens
- Site Admin
- Posts: 477
- Joined: 11 Jul 2019
Re: How delete every data and restart Kern on from scratch?
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.
- Tim Ahrens
- Site Admin
- Posts: 477
- Joined: 11 Jul 2019
Re: How delete every data and restart Kern on from scratch?
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.
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.