Skip to content

Commit

Permalink
Merge pull request #19 from googlefonts/axis-refactor
Browse files Browse the repository at this point in the history
Adapt to new axes API
  • Loading branch information
justvanrossum authored Apr 14, 2024
2 parents af3654b + dd25bed commit ff19e1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fontra_compile/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ async def setup(self) -> None:
glyphOrder.insert(0, ".notdef")
self.glyphOrder = glyphOrder

self.globalAxes = await self.reader.getGlobalAxes()
self.axes = await self.reader.getAxes()
self.globalAxes = self.axes.axes
self.globalAxisDict = {
axis.name: applyAxisMapToAxisValues(axis) for axis in self.globalAxes
}
Expand Down

0 comments on commit ff19e1b

Please sign in to comment.