GPOS Subtable overflow

Hello, when attempting to export my font I’m getting this error:
Problem compiling “GPOS” table
Subtable Overflow in lookup: 0 type: (null)

From what I understand it might be the kerning but I tried everything mentionned in the “Troubleshooting a font that does not export” tutorial and nothing worked. I compressed the kerning, and removed the mark features.

It’s a font containing 3135 ligatures, which might be the cause of this problem.

Do you have more tips to make it work and export this font? Thanks!

Try enabling extension kerning. See this discussion for details:

Sorry I didn’t mentioned it but I already enabled Use Extension Kerning and it doesn’t fix the problem

Could you send me the .glyphs file?
It is either too much kerning or too many anchors.

14000 kerning pairs are too many.
You need to improve the spacing before you add so many pairs. (pairs like D+northEastArrow of 10 units) and E+J shouldn’t need a -40 kerning.

Ok thanks! I’ll remove some kerning.

It is probably not what you what to hear, but it is I think it is easier to start over. Removing all kerning and work on the spacing. Make sure that the spacing of “nnnnnoooooHHHHOOOO” looks good. Then place all lowercase between “n” and adjust the spacing (no kerning). And only add kerning for asymmetric combinations (e.g. L+T) but the letters shouldn’t need much kerning at all as most of your shapes are rather square.

And try adding an italic angle (e.g. 7.5). that way, the sidebearings are a bit more comparable.

Thanks!

That’s what I did for my other fonts but since the design of this one is a bit weird I got carried away. I’ll try to start over

I removed all kerning to try and export the font but the GPOS error remain the same.
Could it be something else than the kerning that is causing the error?