[subset] Fix checksum clearning in subset test diff. Add an updated expected file (has cmap4 restored).

pull/826/head
Garret Rieger 7 years ago committed by Behdad Esfahbod
parent 537698b601
commit a88504c601
  1. BIN
      test/subset/data/expected/basics/Roboto-Regular.abc.default.62.ttf
  2. 7
      test/subset/run-tests.py

@ -77,8 +77,11 @@ def run_ttx(file):
return cmd(cli_args)
def strip_check_sum (ttx_string):
return re.sub ('checksumAdjustment value=["]0x(\d+)["]',
'checksumAdjustment value="0x00000000"',
# return re.sub ('checkSumAdjustment value=["]0x(\d+)["]',
# 'checkSumAdjustment value="0x00000000"',
# ttx_string, count=1)
return re.sub ('checkSumAdjustment value=["]0x([0-9a-fA-F])+["]',
'checkSumAdjustment value="0x00000000"',
ttx_string, count=1)
args = sys.argv[1:]

Loading…
Cancel
Save