Skip to content

Commit ec48490

Browse files
committed
name woff subfolders woff2
1 parent ddefc07 commit ec48490

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,11 @@ def build(root, generateOptions, settings, progress, report):
388388
if generateOptions["variableFontGenerate_OTF"]:
389389
binaryFormats.append(("otf", postProcessCollector()))
390390
if generateOptions["variableFontGenerate_OTFWOFF2"]:
391-
binaryFormats.append(("otf-woff", postProcessCollector(WOFF2Builder)))
391+
binaryFormats.append(("otf-woff2", postProcessCollector(WOFF2Builder)))
392392
if generateOptions["variableFontGenerate_TTF"]:
393393
binaryFormats.append(("ttf", postProcessCollector()))
394394
if generateOptions["variableFontGenerate_TTFWOFF2"]:
395-
binaryFormats.append(("ttf-woff", postProcessCollector(WOFF2Builder)))
395+
binaryFormats.append(("ttf-woff2", postProcessCollector(WOFF2Builder)))
396396

397397
if not binaryFormats:
398398
return

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ def build(root, generateOptions, settings, progress, report):
9292
if generateOptions["webFontGenerate_OTF"]:
9393
binaryFormats.append(("otf", postProcessCollector(autohintFunc, htmlBuilderFunc)))
9494
if generateOptions["webFontGenerate_OTFWOFF2"]:
95-
binaryFormats.append(("otf-woff", postProcessCollector(autohintFunc, WOFF2Builder, htmlBuilderFunc)))
95+
binaryFormats.append(("otf-woff2", postProcessCollector(autohintFunc, WOFF2Builder, htmlBuilderFunc)))
9696
if generateOptions["webFontGenerate_TTF"]:
9797
binaryFormats.append(("ttf", postProcessCollector(autohintFunc, htmlBuilderFunc)))
9898
if generateOptions["webFontGenerate_TTFWOFF2"]:
99-
binaryFormats.append(("ttf-woff", postProcessCollector(autohintFunc, WOFF2Builder, htmlBuilderFunc)))
99+
binaryFormats.append(("ttf-woff2", postProcessCollector(autohintFunc, WOFF2Builder, htmlBuilderFunc)))
100100
# if generateOptions["webFontGenerate_SVG"]:
101101
# binaryFormats.append(("svg", None))
102102

0 commit comments

Comments
 (0)