From ae1b8331ee7f9226085d04ce47366db6d317cc35 Mon Sep 17 00:00:00 2001 From: Doug Felt Date: Tue, 5 Apr 2016 13:28:40 -0700 Subject: [PATCH] Tweaks to emoji build tools to deal with odds and ends. --- NotoColorEmoji.tmpl.ttx.tmpl | 4 ++-- check_emoji_sequences.py | 3 +++ generate_emoji_html.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/NotoColorEmoji.tmpl.ttx.tmpl b/NotoColorEmoji.tmpl.ttx.tmpl index cd92face7..1120c05e4 100644 --- a/NotoColorEmoji.tmpl.ttx.tmpl +++ b/NotoColorEmoji.tmpl.ttx.tmpl @@ -13,7 +13,7 @@ - + @@ -156,7 +156,7 @@ Noto Color Emoji - Version 1.25 + Version 1.27 NotoColorEmoji diff --git a/check_emoji_sequences.py b/check_emoji_sequences.py index 97f5508af..c2649ad25 100755 --- a/check_emoji_sequences.py +++ b/check_emoji_sequences.py @@ -130,12 +130,15 @@ def _check_skintone(sorted_seqs): cp, len(modifiers), ', '.join('%04x' % cp for cp in sorted(modifiers))) + def check_sequences(seqs): sorted_seqs = sorted(seqs) + print 'checking %d sequences' % len(seqs) _check_valid_emoji(sorted_seqs) _check_zwj(sorted_seqs) _check_flags(sorted_seqs) _check_skintone(sorted_seqs) + print 'done.' def _collect_sequences(dirs, prefix='emoji_u'): diff --git a/generate_emoji_html.py b/generate_emoji_html.py index e33bcc1b5..813401ac3 100755 --- a/generate_emoji_html.py +++ b/generate_emoji_html.py @@ -131,7 +131,7 @@ def _get_image_data(image_dir, ext, prefix): filename = path.basename(f) m = expect_re.match(filename) if not m: - if filename.startswith('unknown_flag.'): + if filename.startswith('unknown_flag.') or filename.startswith('p4p_'): continue fails.append('"%s" did not match: "%s"' % (expect_re.pattern, filename)) continue