From 8d2e31a88fa3bd00e14f56689764d107e9657eee Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Fri, 25 Oct 2024 22:43:50 +0200 Subject: [PATCH] Add comment --- src/fontra_compile/builder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fontra_compile/builder.py b/src/fontra_compile/builder.py index 560ea2f..7f5dab0 100644 --- a/src/fontra_compile/builder.py +++ b/src/fontra_compile/builder.py @@ -442,7 +442,9 @@ async def setupComponentBaseInfo(self, baseGlyphName: str) -> dict[str, Any]: async def buildFont(self) -> TTFont: builder = FontBuilder( await self.reader.getUnitsPerEm(), - glyphDataFormat=0 if self.buildCFF2 else 1, + glyphDataFormat=( + 0 if self.buildCFF2 else 1 + ), # FIXME: set only for cubic-in-glyf isTTF=not self.buildCFF2, )