diff --git a/scripts/google/variable.js b/scripts/google/variable.js index 457b8e9c732..ef31e7f6128 100644 --- a/scripts/google/variable.js +++ b/scripts/google/variable.js @@ -99,7 +99,7 @@ module.exports = function (id) { type, wdth: `${fontVariable.axes.wdth.min}% ${fontVariable.axes.wdth.max}%`, weight: `${fontVariable.axes.wght.min} ${fontVariable.axes.wght.max}`, - woff2Path: makeFontFilePath(subset, type, style), + woff2Path: makeFontFilePath(subset, type, origStyle), unicodeRange: font.unicodeRange[subset], }) cssStyle.push(cssWght) @@ -130,7 +130,7 @@ module.exports = function (id) { subset, type, weight: `${fontVariable.axes.wght.min} ${fontVariable.axes.wght.max}`, - woff2Path: makeFontFilePath(subset, type, style), + woff2Path: makeFontFilePath(subset, type, origStyle), unicodeRange: font.unicodeRange[subset], }) cssStyle.push(cssWght)