diff --git a/src/fontra/backends/copy.py b/src/fontra/backends/copy.py index 77fc8e5f1..92d39f74b 100644 --- a/src/fontra/backends/copy.py +++ b/src/fontra/backends/copy.py @@ -60,6 +60,10 @@ async def copyGlyphs( glyphNamesCopied.update(glyphNamesToCopy) logger.debug(f"reading {glyphName}") glyph = await sourceBackend.getGlyph(glyphName) + if glyph is None: + logger.warn(f"glyph {glyphName} not found") + continue + logger.debug(f"writing {glyphName}") componentNames = {