Skip to content

Commit

Permalink
GSFont doesn’t deal with glyphspackages yet, use load instead
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jul 27, 2023
1 parent 83a7a45 commit f6003a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/gftools/builder/ninja.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def get_designspaces(self):
self.designspaces = []
for source in self.config["sources"]:
if source.endswith(".glyphs") or source.endswith(".glyphspackage"):
builder = UFOBuilder(glyphsLib.GSFont(source), instance_dir="instance_ufo")
builder = UFOBuilder(glyphsLib.load(source), instance_dir="instance_ufo")
# This is a sneaky way of skipping the hard work of
# converting all the glyphs and stuff, and just gettting
# a minimal designspace
Expand Down

0 comments on commit f6003a5

Please sign in to comment.