fonttools: Potentially infinite loop while trying to fix GPOS offset overflow with HarfBuzz

At least it hasn’t terminated in over an hour on the full sources I’m looking at. Cut the sources down for a repro but can’t share publicly. Potentially related to #2668 (works fine in 4.33.3), @garretrieger see sources shared privately.

Make sure uharfbuzz is installed and run fontmake -m asdf.designspace -o variable

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (15 by maintainers)

Most upvoted comments

Looks like this font ends up with a large number of table splits which requires hb repacker to do a bunch of space splits, but we run out of resolution rounds before the space splits are finished. Increasing the max # of rounds fixes the issue.