Skip to content

Commit c405d5e

Browse files
committed
set the style name of a layered source with the layer name
1 parent 957cff7 commit c405d5e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Batch.roboFontExt/lib/variableFontGenerator/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ def makeLayerMaster(self):
347347
if sourceDescriptor.layerName is not None:
348348
path, ext = os.path.splitext(sourceDescriptor.path)
349349
sourceDescriptor.path = "%s-%s%s" % (path, sourceDescriptor.layerName, ext)
350+
sourceDescriptor.styleName = "%s %s" % (sourceDescriptor.styleName, sourceDescriptor.layerName)
350351
sourceDescriptor.filename = None
351352
sourceDescriptor.layerName = None
352353
if getDefault("Batch.Debug", False):

0 commit comments

Comments
 (0)