mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-08 15:57:59 +00:00
One more map to space
This commit is contained in:
parent
48aa43748d
commit
9d0db6366a
2 changed files with 7 additions and 1 deletions
|
@ -78,7 +78,13 @@ def _map_flag_tag_chars_to_space(colr_font):
|
||||||
gn_space = _lookup_in_cmap(colr_font, ord(" "))
|
gn_space = _lookup_in_cmap(colr_font, ord(" "))
|
||||||
|
|
||||||
# Add all tag characters used in flags
|
# Add all tag characters used in flags
|
||||||
tag_cps = set(range(0xE0030, 0xE0039 + 1)) | set(range(0xE0061, 0xE007A + 1))
|
tag_cps = (
|
||||||
|
set(range(0xE0030, 0xE0039 + 1))
|
||||||
|
| set(range(0xE0061, 0xE007A + 1))
|
||||||
|
)
|
||||||
|
|
||||||
|
# Cancel tag maps to space in bitmap font
|
||||||
|
tag_cps |= {0xE007F}
|
||||||
|
|
||||||
# CBDT maps these things to space based on hb-shape testing
|
# CBDT maps these things to space based on hb-shape testing
|
||||||
# Android fontchain_lint is unhappy if no such mapping exists
|
# Android fontchain_lint is unhappy if no such mapping exists
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue