GPOS feature 'kern' causes overflow of offset to a subtable

Onrepeat's picture

I know there's a lot of topics about this error but I've looked everywhere and couldn't find a solution for my problem.

Here's what's happening, as soon as I got this error when I tried to compile my font I tried doing some clean up on the classes but nothing worked so I've downloaded AFDKO and installed the macros on Fontlab, ran the AFDKO Kerning macro like a lot of people suggested and got a features.kern file but I don't know what to do now. What do I do with this file in order for Fontlab to let me generate the font without the overflow error?


charles ellertson's picture

You need Karsten Luecke's script, I think it's called

KLTF Make Kern Feature

from the Karsten Luecke Type Foundry.

Anyway, I have purchased the script, and can assure you it does work in FontLab Studio. You'll need to get FL set up to take Python scrips, but that's not too bad.

Onrepeat's picture

Thanks for the reply Charles but is there any alternative to that script? From what I've read the AFDKO script works but I'm not sure what to do after I generate the features.kern file.

charles ellertson's picture

Duplicate post from when the edit function didn't work..

charles ellertson's picture

Well, maybe. I don't use the Adobe AFDKO routines.

How I'd make a try if I wanted everything inside FontLab for some reason: using the Fontlab OT Features panel, write off the features file -- in effect, you're writing off a simple text file, which will have .fea as a file extension. Should be in the FL manual if I've been unclear.

With a text editor, delete all the *data* in the kern feature in that .fea file, leaving the formal "feature" code only. Now, copy & paste the kern data from the AFDKO into the .fea file, where the old kern data use to be. Save, read it (the edited .fea file) back into FontLab, then compile. (BTW -- If you're classes are in the .fea file, make sure you have reset "classes" in FontLab.)

But as I understand Adobe's approach, you should be able to just do everything with the Adobe AFDKO routines to make your OpenType fonts. In effect, you use FontLab for drawing only.

I use FontLab for everything, so have had to avail myself of Karsten's script. Which works fine; I think it is US$80 now. Well worth it to me. Karsten's one of the good guys -- he has other scripts too, almost all of which are free.

Syndicate content Syndicate content