From 6e06ad055b35b197b3083728c6c5d311fb12e57a Mon Sep 17 00:00:00 2001 From: Siyamed Sinir Date: Wed, 19 Apr 2017 18:18:35 -0700 Subject: [PATCH] Update fontchain to read from additional sequences Test: make fontchain_lint Bug: 37520224 Bug: 37169477 Change-Id: Ie01a2aca85314701654cc2397f0bcf8eafdbe608 --- tools/fonts/fontchain_lint.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/fonts/fontchain_lint.py b/tools/fonts/fontchain_lint.py index f5b904220f767..c0475eeb0c7ed 100755 --- a/tools/fonts/fontchain_lint.py +++ b/tools/fonts/fontchain_lint.py @@ -428,7 +428,8 @@ def parse_ucd(ucd_path): _text_variation_sequences, _emoji_variation_sequences = sequences _emoji_sequences = parse_unicode_datafile( path.join(ucd_path, 'emoji-sequences.txt')) - + _emoji_sequences.update(parse_unicode_datafile( + path.join(ucd_path, 'additions', 'emoji-sequences.txt'))) _emoji_zwj_sequences = parse_unicode_datafile( path.join(ucd_path, 'emoji-zwj-sequences.txt')) _emoji_zwj_sequences.update(parse_unicode_datafile(