harfbuzz/test/shaping/hb-diff-colorize
Behdad Esfahbod f1eb008cc7 Add hb-diff-colorize
Accepts --format=html now.
2012-05-09 00:01:50 +02:00

8 lines
249 B
Python
Executable File

#!/usr/bin/python
from hb_test_tools import *
formatter = ColorFormatter.Auto (sys.argv)
colorizer = DiffColorizer (formatter=formatter)
UtilMains.process_multiple_files (FilterHelpers.filter_printer_function_no_newline (colorizer.colorize_diff))