diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2014-07-10 00:50:29 -0700 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2014-07-10 20:14:29 -0700 |
commit | 6036d3526a38a2b2403c1b4d87f0ce6eca66d916 (patch) | |
tree | 9f12b6a3660d48961825b8dad0626739adb61c5f | |
parent | b5e0aad4d6c42e3f1d5b343566f9ebcb6b365bbf (diff) | |
download | noto-fonts-6036d3526a38a2b2403c1b4d87f0ce6eca66d916.tar.gz |
Add an extended Noto Color Emoji with 215 additional flags.
The flags are based on public domain flags made available by The World
Factbook website. They are supported using standard two-character sequences
of Regional Indicator Symbols through GSUB substitutions. Not all
territories are included yet.
Additionally, characters for ASCII digits and number sign have been added
and GSUB substitutions for two-character sequences combining those and the
combining keycap character (U+20E3) have been added.
The new font is only included in the EXTENDED_FONT_FOOTPRINT profile. File
size is increased by 2993KB.
Bug: 7557244
Change-Id: I37aada4538213c3722e0cf44f102534a66c7ffd6
-rw-r--r-- | Android.mk | 27 | ||||
-rw-r--r-- | NotoColorEmoji-with-flags.ttf | bin | 0 -> 6315720 bytes |
2 files changed, 26 insertions, 1 deletions
@@ -56,7 +56,6 @@ endif # EXTENDED_FONT_FOOTPRINT ############################################################################# ifneq ($(SMALLER_FONT_FOOTPRINT),true) font_src_files += \ - NotoColorEmoji.ttf \ NotoSansBengali-Regular.ttf \ NotoSansBengali-Bold.ttf \ NotoSansBengaliUI-Regular.ttf \ @@ -135,3 +134,29 @@ endef $(foreach f, $(font_src_files), $(call build-one-font-module, $(f))) build-one-font-module := font_src_files := + +############################################################################# +# Use Noto Color Emoji with all the flags on EXTENDED_FONT_FOOTPRINT builds, +# but without it on other builds. On SMALLER_FONT_FOOTPRINT devices, no +# color emoji font is included. +############################################################################# + +ifneq ($(SMALLER_FONT_FOOTPRINT),true) + +ifeq ($(EXTENDED_FONT_FOOTPRINT),true) +color_emoji_src := NotoColorEmoji-with-flags.ttf +else # !EXTENDED_FONT_FOOTPRINT +color_emoji_src := NotoColorEmoji.ttf +endif # EXTENDED_FONT_FOOTPRINT + +include $(CLEAR_VARS) +LOCAL_MODULE := NotoColorEmoji.ttf +LOCAL_SRC_FILES := $(color_emoji_src) +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts +include $(BUILD_PREBUILT) + +color_emoji_src := + +endif # !SMALLER_FONT_FOOTPRINT diff --git a/NotoColorEmoji-with-flags.ttf b/NotoColorEmoji-with-flags.ttf Binary files differnew file mode 100644 index 0000000..3f93f66 --- /dev/null +++ b/NotoColorEmoji-with-flags.ttf |