Skip to content

Commit 823abbf

Browse files
committed
use the correct woff format radio group setting
fixing #51
1 parent be732c5 commit 823abbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Batch.roboFontExt/lib/webFormats/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,10 +446,10 @@ def _convertPath(self, path, destDir, saveOTF=True, saveTTF=True, saveWOFF=True,
446446

447447
# convert to woff2
448448
if saveWOFF2:
449-
if saveWOFFFormat == WOFF_TTF_FORMAT:
449+
if saveWOFF2Format == WOFF_TTF_FORMAT:
450450
func = self._getTempTTF
451451
reportFormat = "TTF"
452-
elif saveWOFFFormat == WOFF_OTF_FORMAT:
452+
elif saveWOFF2Format == WOFF_OTF_FORMAT:
453453
func = self._getTempOTF
454454
reportFormat = "OTF"
455455
report.writeTitle("Build WOFF2 (%s)" % reportFormat, "'")

0 commit comments

Comments
 (0)