Prettify output list of 'aat' check
@@ -3768,13 +3768,14 @@ def com_google_fonts_check_aat(ttFont):
unwanted_tables_found.append(table)
if len(unwanted_tables_found) > 0:
+ unwanted_list = ''.join(f"* {tag}\n" for tag in unwanted_tables_found)
yield FAIL,\
Message("has-unwanted-tables",
f"Unwanted AAT tables were found"
f" in the font and should be removed, either by"
f" fonttools/ttx or by editing them using the tool"
- f" they built with:"
- f" {', '.join(unwanted_tables_found)}")
+ f" they built with:\n\n"
+ f" {unwanted_list}")
else:
yield PASS, "There are no unwanted AAT tables."
