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
Currently FontBuilder only has a method addFeatureVariations that only adds single-substitutions.
This issue proposes to create a FontBuilder method of a form:
defaddLigatureSubstitutions(self, mapping):
from .otlLib.builderimportbuildLigatureSubstSubtablesubtable=buildLigatureSubstSubtable(mapping)
...
that adds ligature substitutions to the GSUB table and adds all required metadata to other tables; or a more general method that can perform this task. Like with addFeatureVariations, the actual logic may be added as a function of varLib, feaLib or another fontTools module.
The text was updated successfully, but these errors were encountered:
Currently
FontBuilder
only has a methodaddFeatureVariations
that only adds single-substitutions.This issue proposes to create a
FontBuilder
method of a form:that adds ligature substitutions to the
GSUB
table and adds all required metadata to other tables; or a more general method that can perform this task. Like withaddFeatureVariations
, the actual logic may be added as a function ofvarLib
,feaLib
or another fontTools module.The text was updated successfully, but these errors were encountered: