Skip to content

Commit

Permalink
Make sure images come through
Browse files Browse the repository at this point in the history
This simple fix ensures that image file names are actually recognized as such.
  • Loading branch information
frankrolf committed Sep 8, 2021
1 parent 6d2e69c commit 7e0f950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ufonormalizer/__init__.py
Expand Up @@ -646,7 +646,7 @@ def normalizeGLIFString(text, glifPath=None, imageFileRef=None):
if advance is not None:
_normalizeGlifAdvance(advance, writer)
if glifVersion >= 2 and image is not None:
imageFileRef[:] = image.attrib.get("fileName")
imageFileRef.append(image.attrib.get("fileName"))
_normalizeGlifImage(image, writer)
if outline is not None:
if glifVersion == 1:
Expand Down

0 comments on commit 7e0f950

Please sign in to comment.