def _gsub(path_a, path_b, out_lines, print_font=False):
    """Do a GSUB table comparison and print results.

    path_a and b refer to plaintext files containing ttxn output. print_font
    is a boolean flag designating whether to print path_a (useful if _gsub is
    being called multiple times in succession).
    """

    if print_font:
        print '-- %s --' % os.path.basename(path_a)
    diff_finder = gsub_diff.GsubDiffFinder(path_a, path_b, out_lines)
    print diff_finder.find_gsub_diffs()
    print
dataset/ETHPy150Open googlei18n/nototools/nototools/fontdiff.py/_gsub/original