Skip to content

Commit 028c53e

Browse files
authored
Handle small caps generation for split VFs (#971)
1 parent c33db8b commit 028c53e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/gftools/builder/recipeproviders/googlefonts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,9 @@ def build_a_variable(
307307
self.recipe[target] = steps
308308
self.build_a_webfont(target, self._vf_filename(source, extension="woff2"))
309309
if self._do_smallcap(source):
310-
self.recipe[self._vf_filename(source, suffix="SC")] = self._smallcap_steps(
311-
source, target
312-
)
310+
self.recipe[
311+
self._vf_filename(source, italic_ds=italic_ds, roman=roman, suffix="SC")
312+
] = self._smallcap_steps(source, target)
313313

314314
def build_all_statics(self):
315315
if not self.config.get("buildStatic", True):

0 commit comments

Comments
 (0)