diff --git a/Lib/ufo2ft/__init__.py b/Lib/ufo2ft/__init__.py index de2bc6208..b71c7940b 100644 --- a/Lib/ufo2ft/__init__.py +++ b/Lib/ufo2ft/__init__.py @@ -234,7 +234,11 @@ def compileInterpolatableTTFs( glyphSets = preProcessor.process() for ufo, glyphSet, layerName in zip(ufos, glyphSets, layerNames): - logger.info("Building OpenType tables for %s", _LazyFontName(ufo)) + fontName = _LazyFontName(ufo) + if layerName is not None: + logger.info("Building OpenType tables for %s-%s", fontName, layerName) + else: + logger.info("Building OpenType tables for %s", fontName) outlineCompiler = outlineCompilerClass( ufo, diff --git a/Lib/ufo2ft/filters/__init__.py b/Lib/ufo2ft/filters/__init__.py index cdf1dd013..b59b85616 100644 --- a/Lib/ufo2ft/filters/__init__.py +++ b/Lib/ufo2ft/filters/__init__.py @@ -188,7 +188,11 @@ def __call__(self, font, glyphSet=None): Otherwise, run the filter in-place on the font's default glyph set. """ - logger.info("Running %s on %s", self.name, _LazyFontName(font)) + fontName = _LazyFontName(font) + if glyphSet is not None and getattr(glyphSet, "name", None): + logger.info("Running %s on %s-%s", self.name, fontName, glyphSet.name) + else: + logger.info("Running %s on %s", self.name, fontName) if glyphSet is None: glyphSet = _GlyphSet.from_layer(font) diff --git a/Lib/ufo2ft/util.py b/Lib/ufo2ft/util.py index 65dda6927..394e10093 100644 --- a/Lib/ufo2ft/util.py +++ b/Lib/ufo2ft/util.py @@ -60,6 +60,7 @@ def from_layer(cls, font, layerName=None, copy=False): else: self = cls((g.name, g) for g in layer) self.lib = layer.lib + self.name = layer.name if layerName is not None else None return self