Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Sep 2, 2023
1 parent 99481ad commit f2f4cae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fontra/backends/designspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ async def getGlyph(self, glyphName):
if glyphName not in ufoLayer.glyphSet:
continue

staticGlyph, ufoGlyph = serializeStaticGlyph(ufoLayer.glyphSet, glyphName)
staticGlyph, ufoGlyph = ufoLayerToStaticGlyph(ufoLayer.glyphSet, glyphName)
if ufoLayer == self.defaultUFOLayer:
localDS = ufoGlyph.lib.get(GLYPH_DESIGNSPACE_LIB_KEY)
if localDS is not None:
Expand Down Expand Up @@ -698,7 +698,7 @@ def iterAttrs(self, attrName):
yield getattr(item, attrName)


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

0 comments on commit f2f4cae

Please sign in to comment.