Freemix / Expand Kerning


I’m trying to use the expand kerning script from the Freemix set but it doesn’t seem to work.

I get the attached error message when I run it. Any idea what the problem is?


If my memory of Glyphs internals is correct, this is a compatibility issue between G2 and G3. That if condition looks like a check for maxint, which was returned if a kerning value is not found for the given combination, in G2. In G3, None is returned, I think.

But as @TimAhrens is no doubt very well-versed in handling kerning, I’ll leave the explanation up to him :wink:

Still not working, right? @TimAhrens

Sorry, I admit I have somewhat lost interest in this script. Feel free to fix it!