[hb-info] Respect HB_CHAFA=0
diff --git a/util/hb-info.cc b/util/hb-info.cc
index 02b55c7..f7cc4e6 100644
--- a/util/hb-info.cc
+++ b/util/hb-info.cc
@@ -1323,7 +1323,9 @@
 	}
 
 #ifdef HAVE_CHAFA
-	if (verbose && isatty (fileno (stdout)))
+	char *chafa_env = getenv ("HB_CHAFA");
+	bool use_chafa = !chafa_env || atoi (chafa_env);
+	if (verbose && use_chafa && isatty (fileno (stdout)))
 	{
 	  GString *chafa_str = _palette_chafa_str (i);
 	  printf ("%u	%s	%-23s	%*s\n", i, type, name,