Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Oct 25, 2024
1 parent e2a1bf7 commit 8d2e31a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fontra_compile/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 8d2e31a

Please sign in to comment.