You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #558, it was reported that features weren’t expanding into instances, which meant that feature includes weren’t working. This seems to have been closed by #617.
However, I’m now experiencing the original issue – even when I add expandFeaturesToInstances: true to my config.
If I dig into the instance_ufos folder, then into a JSON UFO, it starts with this:
{"features":"include(fea/Familyname.fea);"
...where I would expect to see the full features, expanded, rather than the original include() statement.
The build crashes with the error, when attempting to build static OTFs and TTFs:
fontmake: Error: Compiling UFO failed: <features>:1:8: The following feature file should be included but cannot be found: fea/Familyname.fea
However, if I do run fontmake directly on the same designspace, with the arg --expand-features-to-instances, it works just fine.
Am I missing something, or could this be a regression?
The text was updated successfully, but these errors were encountered:
The way I’m understanding that, it looks like --expand-features-to-instances is being added too late. It needs to be added to the instantiateUfo process, but instead, it’s added only at the buildTTF / buildOTF stage. I’ll go see whether I can test putting it in the earlier stage...
In #558, it was reported that features weren’t expanding into instances, which meant that feature includes weren’t working. This seems to have been closed by #617.
However, I’m now experiencing the original issue – even when I add
expandFeaturesToInstances: true
to my config.If I dig into the
instance_ufos
folder, then into a JSON UFO, it starts with this:...where I would expect to see the full features, expanded, rather than the original
include()
statement.The build crashes with the error, when attempting to build static OTFs and TTFs:
However, if I do run fontmake directly on the same designspace, with the arg
--expand-features-to-instances
, it works just fine.Am I missing something, or could this be a regression?
The text was updated successfully, but these errors were encountered: