Skip to content

Commit

Permalink
Merge pull request #867 from justvanrossum/issue865
Browse files Browse the repository at this point in the history
Take discrete axes into account when checking for feature compatibility
  • Loading branch information
anthrotype authored Sep 2, 2024
2 parents 8ec3ef3 + de46064 commit 12b68f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/ufo2ft/_compilers/baseCompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ def _compileNeededSources(self, designSpaceDoc):

# If the feature files are compatible between the sources, we can save
# time by building a variable feature file right at the end.
can_optimize_features = self.variableFeatures and _featuresCompatible(
designSpaceDoc
can_optimize_features = self.variableFeatures and all(
_featuresCompatible(doc) for doc in interpolableSubDocs
)
if can_optimize_features:
self.logger.info("Features are compatible across masters; building later")
Expand Down

0 comments on commit 12b68f0

Please sign in to comment.