From dd25bede0420b95284b729d8624a5792e62ea807 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Sun, 14 Apr 2024 13:27:00 +0200 Subject: [PATCH] Adapt to new axes API --- src/fontra_compile/builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fontra_compile/builder.py b/src/fontra_compile/builder.py index c8e684b..caaa9fa 100644 --- a/src/fontra_compile/builder.py +++ b/src/fontra_compile/builder.py @@ -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 }