Skip to content

Commit

Permalink
add getFeatures() placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Apr 28, 2024
1 parent e810680 commit a57a956
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/fontra_glyphs/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
GlyphAxis,
GlyphSource,
Layer,
OpenTypeFeatures,
StaticGlyph,
VariableGlyph,
)
Expand Down Expand Up @@ -146,6 +147,10 @@ async def getAxes(self) -> Axes:
async def getUnitsPerEm(self) -> int:
return self.gsFont.upm

async def getFeatures(self) -> OpenTypeFeatures:
# TODO: extract features
return OpenTypeFeatures()

async def getCustomData(self) -> dict[str, Any]:
return {}

Expand Down

0 comments on commit a57a956

Please sign in to comment.