Skip to content

Commit d2a7237

Browse files
committed
rename Woff 2 labels
fixing #69
1 parent a1720ac commit d2a7237

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ def build(root, generateOptions, settings, progress, report):
1010
binaryFormats.append(("otf", postProcessCollector()))
1111
if generateOptions.get("desktopFontGenerate_TTF"):
1212
binaryFormats.append(("ttf", postProcessCollector()))
13-
if generateOptions.get("desktopFontGenerate_PFA"):
14-
binaryFormats.append(("pfa", postProcessCollector()))
15-
if generateOptions.get("desktopFontGenerate_VFB"):
16-
binaryFormats.append(("vfb", postProcessCollector()))
13+
# if generateOptions.get("desktopFontGenerate_PFA"):
14+
# binaryFormats.append(("pfa", postProcessCollector()))
15+
# if generateOptions.get("desktopFontGenerate_VFB"):
16+
# binaryFormats.append(("vfb", postProcessCollector()))
1717

1818
if not binaryFormats:
1919
return

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,11 +387,11 @@ def build(root, generateOptions, settings, progress, report):
387387
binaryFormats = []
388388
if generateOptions["variableFontGenerate_OTF"]:
389389
binaryFormats.append(("otf", postProcessCollector()))
390-
if generateOptions["variableFontGenerate_OTFWoff2"]:
390+
if generateOptions["variableFontGenerate_OTFWOFF2"]:
391391
binaryFormats.append(("otf-woff", postProcessCollector(WOFF2Builder)))
392392
if generateOptions["variableFontGenerate_TTF"]:
393393
binaryFormats.append(("ttf", postProcessCollector()))
394-
if generateOptions["variableFontGenerate_TTFWoff2"]:
394+
if generateOptions["variableFontGenerate_TTFWOFF2"]:
395395
binaryFormats.append(("ttf-woff", postProcessCollector(WOFF2Builder)))
396396

397397
if not binaryFormats:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ def build(root, generateOptions, settings, progress, report):
9090
binaryFormats = []
9191
if generateOptions["webFontGenerate_OTF"]:
9292
binaryFormats.append(("otf", postProcessCollector(autohintFunc, htmlBuilderFunc)))
93-
if generateOptions["webFontGenerate_OTFWoff2"]:
93+
if generateOptions["webFontGenerate_OTFWOFF2"]:
9494
binaryFormats.append(("otf-woff", postProcessCollector(autohintFunc, WOFF2Builder, htmlBuilderFunc)))
9595
if generateOptions["webFontGenerate_TTF"]:
9696
binaryFormats.append(("ttf", postProcessCollector(autohintFunc, htmlBuilderFunc)))
97-
if generateOptions["webFontGenerate_TTFWoff2"]:
97+
if generateOptions["webFontGenerate_TTFWOFF2"]:
9898
binaryFormats.append(("ttf-woff", postProcessCollector(autohintFunc, WOFF2Builder, htmlBuilderFunc)))
9999
# if generateOptions["webFontGenerate_SVG"]:
100100
# binaryFormats.append(("svg", None))

0 commit comments

Comments
 (0)