Skip to content

Commit

Permalink
Adjust comments
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Aug 31, 2023
1 parent b93a9cb commit 05855ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fontra/backends/designspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,13 +762,13 @@ def populateUFOLayerGlyph(
variableComponents = []
for component in staticGlyph.components:
if component.location or forceVariableComponents:
# It's a variable component
# Store as a variable component
varCoDict = {"base": component.name, "location": component.location}
if component.transformation != DecomposedTransform():
varCoDict["transformation"] = asdict(component.transformation)
variableComponents.append(varCoDict)
else:
# It's a regular component
# Store as a regular component
pen.addComponent(
component.name,
cleanupTransform(component.transformation.toTransform()),
Expand Down

0 comments on commit 05855ef

Please sign in to comment.