Skip to content

Commit

Permalink
Ensure all axis values are numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Mar 26, 2024
1 parent e04f498 commit 21abc83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fontra_rcjk/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ def buildVariableGlyphFromLayerGlyphs(layerGlyphs) -> VariableGlyph:
layerGlyph.components += components

location = varDict["location"]
location = {
k: float(v) if isinstance(v, str) else v for k, v in location.items()
}
sources.append(
Source(
name=sourceName,
Expand Down

0 comments on commit 21abc83

Please sign in to comment.