[ucd] Include scripts added in Unicode 10 or later

This commit is contained in:
David Corbett 2019-06-25 21:08:14 -04:00 committed by Behdad Esfahbod
parent 10bd6b8d91
commit f4ea1a9afb
2 changed files with 520 additions and 470 deletions

View File

@ -66,7 +66,7 @@ for _ in ('Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu',
sc_order = packTab.AutoMapping() sc_order = packTab.AutoMapping()
sc_array = [] sc_array = []
sc_re = re.compile(" (HB_SCRIPT_[_A-Z]*).*HB_TAG [(]'(.)','(.)','(.)','(.)'[)]") sc_re = re.compile(r"\b(HB_SCRIPT_[_A-Z]*).*HB_TAG [(]'(.)','(.)','(.)','(.)'[)]")
for line in open('hb-common.h'): for line in open('hb-common.h'):
m = sc_re.search (line) m = sc_re.search (line)
if not m: continue if not m: continue

File diff suppressed because it is too large Load Diff