harfbuzz/test/shaping/hb-diff

15 lines
316 B
Plaintext
Raw Normal View History

#!/usr/bin/python
from hb_test_tools import *
import sys, os
2012-01-21 03:21:47 +01:00
colors, sys.argv = Colors.Auto (sys.argv)
if len (sys.argv) != 3:
print "usage: %s [--color] file1 file2" % sys.argv[0]
sys.exit (1)
2012-01-21 03:21:47 +01:00
files = (FileHelpers.open_file_or_stdin (f) for f in sys.argv[1:3])
2012-01-21 03:21:47 +01:00
FancyDiffer.diff_files (*files, colors=colors)