Subtable offset too large

Hi,

I’m working on an experimental font with with a very large amount of sub and ignore sub statements and for a while now I’ve been confronted with messages like: subtable offset too large (10172) in lookup 0 type 1.

I’ve been able to get around it this previously by finding efficiencies in my code and using useExtension for lookups, but the message eventually returns as I continue to add to the font.

Most of the answers I’m finding on this forum are for similar issues with kerning but what I’m seeing appears to be speciffically to do with sub and ignore sub statements.

I’m wondering if there is a physical limit to the amount of statements a font file can contain or if this is a limitation of the Glyphs app. Guessing it is the former but have to ask.

It’s not the end of the world If I can’t include more statements in my font but it would make it much better if I could.

Any workarounds or advice would be much appreciated.

It is very rare to see an overflow in a GSUB table. You need a lot code to do that.

Have you tried splitting the lookups.

There is certainly a lot of code in going on. I’ve tried several ways of dividing the code between lookups but with no success.

I’ve emailed support to explain what I’m tying to achieve.