Error exporting variable font

When I export the attached font: DebugFont2.glyphs (43.3 KB)

I get the following error:

Broken internal cross-table feature reference in -[FEAFeatureSubstitution(Backend) dump:state:] (FEAFeatureSubstitution.m:185)
Found in: (null).

If I comment out the script and language lines from the second rlig feature, it exports fine. If I delete the A-Z glyphs, it exports fine as well.

This is a minimized version from a real font project.

This is blocking me on a project with a tight schedule. I appreciate if there a workaround or any other quick solution.

Hi Khaled, we are looking into this. Coincidentally, we had already found half of the fix, but there is still some more debugging and testing to be done. If all goes well, we will have a complete fix tomorrow.

1 Like

Thanks!

Hi Khaled, we think we have fixed the problem. Can you please check if the attached exported font is correct? We will hopefully be able to release a new version very soon so you can continue working.

DebugFont2VF.ttf (7.6 KB)

2 Likes

Looks fine, thanks!

1 Like

Fixed in the latest version, thanks!

1 Like