1
0
mirror of synced 2025-12-19 17:48:10 -05:00

Correct usage is "gftools-qa --fontbakery --rust", not "--fontspector" (for now)

This commit is contained in:
Simon Cozens
2025-05-20 11:15:10 +01:00
parent cb84327f20
commit 31f545ca43

View File

@@ -30,7 +30,7 @@ def main():
print(f"Skipping {directory} because no fonts were found") print(f"Skipping {directory} because no fonts were found")
continue continue
qa_cmd_prefix = ["gftools", "qa", "-f"] + fonts + ["-o", out] qa_cmd_prefix = ["gftools", "qa", "--rust", "-f"] + fonts + ["-o", out]
if args.pr_number: if args.pr_number:
if not args.pr_url_body.endswith("/"): if not args.pr_url_body.endswith("/"):
args.pr_url_body += "/" args.pr_url_body += "/"
@@ -52,20 +52,20 @@ def main():
elif check_type == CheckType.NEW_FAMILY: elif check_type == CheckType.NEW_FAMILY:
print(f"Checking new family: {directory}") print(f"Checking new family: {directory}")
subprocess.run( subprocess.run(
qa_cmd_prefix + ["--fontspector", "--interpolations"], check=True qa_cmd_prefix + ["--fontbakery", "--interpolations"], check=True
) )
elif check_type == CheckType.MODIFIED_FAMILY: elif check_type == CheckType.MODIFIED_FAMILY:
print(f"Checking modified family: {directory}") print(f"Checking modified family: {directory}")
subprocess.run( subprocess.run(
qa_cmd_prefix qa_cmd_prefix
+ ["-gfb", "--fontspector", "--diffenator", "--interpolations"], + ["-gfb", "--fontbakery", "--diffenator", "--interpolations"],
check=True, check=True,
) )
elif check_type == CheckType.MODIFIED_FAMILY_METADATA: elif check_type == CheckType.MODIFIED_FAMILY_METADATA:
print(f"Checking modified family metadata: {directory}") print(f"Checking modified family metadata: {directory}")
subprocess.run(qa_cmd_prefix + ["--fontspector", "-o", out], check=True) subprocess.run(qa_cmd_prefix + ["--fontbakery", "-o", out], check=True)
elif check_type == CheckType.DESIGNER: elif check_type == CheckType.DESIGNER:
print(f"Checking designer profile: {directory}") print(f"Checking designer profile: {directory}")