Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Apr 22, 2024
1 parent c003292 commit 8949a9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fontra_compile/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ def buildVARC(self, axisTags):
components.append(compo)

if self.glyphInfos[glyphName].glyph.numberOfContours:
# Add a component for the outline section, so we can effectively
# mix outlines and components. This is a special case in the spec.
compo = ot.VarComponent()
compo.glyphName = glyphName
components.append(compo)
Expand Down

0 comments on commit 8949a9b

Please sign in to comment.