mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-08 07:47:59 +00:00
Use waving black flag for subregion flag sequences.
This was a recent change from the UTC.
This commit is contained in:
parent
2dc2c4b53f
commit
bb776b85f7
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -160,7 +160,7 @@ $(RESIZED_FLAGS_DIR)/%.png: $(FLAGS_DIR)/%.png | $(RESIZED_FLAGS_DIR)
|
||||||
@convert -extent 136x128 -gravity center -background none "$<" "$@"
|
@convert -extent 136x128 -gravity center -background none "$<" "$@"
|
||||||
|
|
||||||
flag-symlinks: $(RESIZED_FLAG_FILES) | $(RENAMED_FLAGS_DIR)
|
flag-symlinks: $(RESIZED_FLAG_FILES) | $(RENAMED_FLAGS_DIR)
|
||||||
@$(subst ^, , \
|
$(subst ^, , \
|
||||||
$(join \
|
$(join \
|
||||||
$(FLAGS:%=ln^-fs^../resized_flags/%.png^), \
|
$(FLAGS:%=ln^-fs^../resized_flags/%.png^), \
|
||||||
$(RENAMED_FLAG_FILES:%=%; ) \
|
$(RENAMED_FLAG_FILES:%=%; ) \
|
||||||
|
|
|
@ -35,7 +35,7 @@ def hyphenated_code_to_glyph_name(sub_code):
|
||||||
sub_code = sub_code.lower()
|
sub_code = sub_code.lower()
|
||||||
if not subcode_re.match(sub_code):
|
if not subcode_re.match(sub_code):
|
||||||
raise Exception('%s is not a valid flag subcode' % sub_code)
|
raise Exception('%s is not a valid flag subcode' % sub_code)
|
||||||
cps = ['u1f3f3']
|
cps = ['u1f3f4']
|
||||||
cps.extend('e00%02x' % ord(cp) for cp in sub_code if cp != '-')
|
cps.extend('e00%02x' % ord(cp) for cp in sub_code if cp != '-')
|
||||||
cps.append('e007f')
|
cps.append('e007f')
|
||||||
return '_'.join(cps)
|
return '_'.join(cps)
|
||||||
|
|
Loading…
Add table
Reference in a new issue