mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
[hb-svg-compare] Write out error with %g, not %.5f
This commit is contained in:
1 parent
1daff76c28
commit
07afd2ccff
1 file changed
+1
-1
+1
-1
@@ -144,7 +144,7 @@ if __name__ == "__main__":
|
||||
elif diff <= tolerance:
|
||||
continue
|
||||
else:
|
||||
diff = f"{diff:.5f}"
|
||||
diff = f"{diff:g}"
|
||||
|
||||
print(f"{diff}\t{svg1}\t{svg2}")
|
||||
# Flush stdout to make sure output is immediate
|
||||
|
||||
Reference in new issue
Block a user