How delete every data and restart Kern on from scratch?

Post Reply
User avatar
diegomaldonado
Posts: 7
Joined: 23 Apr 2021

How delete every data and restart Kern on from scratch?

Post 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.
User avatar
Tim Ahrens
Site Admin
Posts: 477
Joined: 11 Jul 2019

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

Post 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.
User avatar
diegomaldonado
Posts: 7
Joined: 23 Apr 2021

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

Post by diegomaldonado »

I tried that, the moment I start Kern On, all User Set pairs are there.
User avatar
diegomaldonado
Posts: 7
Joined: 23 Apr 2021

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

Post by diegomaldonado »

Ok, I manually deleted it on .glyphspackage and worked.
User avatar
Tim Ahrens
Site Admin
Posts: 477
Joined: 11 Jul 2019

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

Post 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.)
User avatar
diegomaldonado
Posts: 7
Joined: 23 Apr 2021

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

Post by diegomaldonado »

I can send you the file if you want
User avatar
Tim Ahrens
Site Admin
Posts: 477
Joined: 11 Jul 2019

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

Post by Tim Ahrens »

Yes, please!
User avatar
SCarewe
Posts: 120
Joined: 23 Apr 2021

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

Post 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.
User avatar
Tim Ahrens
Site Admin
Posts: 477
Joined: 11 Jul 2019

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

Post 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.
Post Reply