Skip to content

Commit 447195d

Browse files
committed
Make it possible to add suffix to VF
Item 5 in #70
1 parent df74b3c commit 447195d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • Batch.roboFontExt/lib/batchGenerators/variableFontsGenerator

Batch.roboFontExt/lib/batchGenerators/variableFontsGenerator/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,8 @@ def build(root, generateOptions, settings, progress, report):
409409
for binaryFormat, postProcessCallback in binaryFormats:
410410
binaryExtention = binaryFormat.split("-")[0]
411411

412-
fileName = f"{name}.{binaryExtention}"
412+
suffix = settings["variableFontsSuffix"]
413+
fileName = f"{name}{suffix}.{binaryExtention}"
413414
tempFileName = f"temp_{fileName}"
414415

415416
if settings["batchSettingExportInSubFolders"]:

0 commit comments

Comments
 (0)