SCSS: Fix font generation error

This commit is contained in:
Raphael Michel
2020-02-01 16:25:05 +01:00
parent 5ea5b82994
commit 742d2f11be

View File

@@ -175,6 +175,8 @@ def get_font_stylesheet(font_name):
stylesheet = []
font = get_fonts()[font_name]
for sty, formats in font.items():
if sty == 'sample':
continue
stylesheet.append('@font-face { ')
stylesheet.append('font-family: "{}";'.format(font_name))
if sty in ("italic", "bolditalic"):