summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiyamed Sinir <siyamed@google.com>2017-04-19 18:18:35 -0700
committerSiyamed Sinir <siyamed@google.com>2017-04-25 17:32:15 +0000
commit6e06ad055b35b197b3083728c6c5d311fb12e57a (patch)
tree4bd685612b9f635cab5179396f9d8a31a60acd46
parent95cdc61248fc470eb093309c2c4da2170d639a0e (diff)
Update fontchain to read from additional sequences
Test: make fontchain_lint Bug: 37520224 Bug: 37169477 Change-Id: Ie01a2aca85314701654cc2397f0bcf8eafdbe608
-rwxr-xr-xtools/fonts/fontchain_lint.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/fonts/fontchain_lint.py b/tools/fonts/fontchain_lint.py
index f5b904220f76..c0475eeb0c7e 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(