Closed yanone closed 7 years ago
Okay, I understand there have been many changes to fontTools. I tried using the old 2.4 version but it also fails for a different reason. What is the last fontTools version known to you to work with compositor? Can you tell? I wouldn't mind hard-wiring an older version of fontTools for this particular task.
The API for MultipleSubst
GSUB LookupType 2 was changed in fonttools 3.1.
See commit 1356a67 (from 10 September 2015) and the discussion at https://github.com/fonttools/fonttools/issues/355
Compositor should be updated to use the new simplified API for MultipleSubst
.
In the meantime, you could try using fonttools 3.0 which has the old API.
@yanone if you pull the latest compositor master, it should now work with more recent fonttools. Please re-open if that's not the case, thanks.
So awesome. Thank you so much!
Hi Tal,
I can't load an OTF font with compositor using the latest version of fontTools. Sounds familiar? Are they compatible? Thanks in advance.
Here's the traceback: