You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_logger.error(f"Used on lines: {' '.join(str(line) forlineinusage_data.ordered_lines)}")
66
66
else:
67
67
iffont_result.need_faux_bold:
68
-
_logger.warning(f"Faux bold used for '{style.fontname}'.")
68
+
_logger.warning(f"Faux bold used for '{style.fontname}' (requested weight {style.weight}-{(font_weight_to_name(style.weight))}, got {font_result.font_face.weight}-{(font_weight_to_name(font_result.font_face.weight))}).")
69
69
eliffont_result.mismatch_bold:
70
-
_logger.warning(f"'{style.fontname}' does not have a bold variant.")
70
+
_logger.warning(f"Mismatched weight for '{style.fontname}' (requested weight {style.weight}-{(font_weight_to_name(style.weight))}, got {font_result.font_face.weight}-{(font_weight_to_name(font_result.font_face.weight))}).")
71
71
iffont_result.mismatch_italic:
72
-
_logger.warning(f"'{style.fontname}' does not have an italic variant.")
72
+
_logger.warning(f"Mismatched italic for '{style.fontname}' (requested {'non-'ifstyle.italicelse''}italic, got {'non-'iffont_result.font_face.is_italicelse''}italic).")
0 commit comments