fontmake: Error with GPOS table

Every month I open an issue about this kind of output message:

Generating fonts from Designspace failed: ((2, [2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1]), 'int', '.LookupCount', 'Feature', '.Feature', 'FeatureRecord', '[0]', 'list', '.FeatureRecord', 'FeatureList', '.FeatureList', 'GPOS', '.table', 'table_G_P_O_S_')

Is there a way to make it more explicit?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

I did a final clean-up and IT WORKS Thanks @anthrotype, if I could I would send you a basket of homemade cookies !!! So just delete my email eheh

Nice! Yeah, that was it. Some masters contained kerning pairs where one of the members is classified as a combining mark, hence ufo2ft was generating an additional kern lookups for those (but not in all masters, hence resulting in the incompatibility). The solution is either remove the offending kern pairs (if unintentional) or add them to all the masters (a kern of 0 should work)