def font_rule(src, *args, **kw): ans = font(*args, **kw) ans['font-family'] = list(map(icu_lower, ans['font-family'])) prepare_font_rule(ans) ans['src'] = src return ans
def font_rule(src, *args, **kw): ans = font(*args, **kw) ans['font-family'] = list(map(icu_lower, ans['font-family'])) prepare_font_rule(ans) ans['src'] = src return ans