Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Sep 2, 2023
1 parent 7fc35d7 commit 99481ad
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/fontra/backends/designspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,18 +698,6 @@ def iterAttrs(self, attrName):
yield getattr(item, attrName)


def serializeGlyphLayers(glyphSets, glyphName, sourceLayerName):
layers = {}
sourceLayerGlyph = None
for layerName, glyphSet in glyphSets.items():
if glyphName in glyphSet:
staticGlyph, glyph = serializeStaticGlyph(glyphSet, glyphName)
layers[layerName] = Layer(glyph=staticGlyph)
if layerName == sourceLayerName:
sourceLayerGlyph = glyph
return layers, sourceLayerGlyph


def serializeStaticGlyph(glyphSet, glyphName):
glyph = UFOGlyph()
glyph.lib = {}
Expand Down

0 comments on commit 99481ad

Please sign in to comment.