summaryrefslogtreecommitdiff
path: root/Makefile.fetch
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2017-12-17 09:12:59 +0100
committerMichael Meeks <michael.meeks@collabora.com>2017-12-18 10:23:23 +0100
commit49cc6bc8300223d9cbb7f1e9444ac7eca44cca92 (patch)
tree74e2533ee52b291a423dc9e90b90d6479b42940c /Makefile.fetch
parentb3589dd6b4b4ed78b934187f21c96cbca51382f1 (diff)
reduce the size of Noto fonts package (484M->101M)
* do not install UI font variants * do not install monospaced CJK fonts * install Region-specific Subset OpenType/CFF (Subset OTF) for CJK * this is the logical choice on Linux: see: https://www.google.com/get/noto/help/cjk/ * keep only 2 weights, Regular and Bold for CJK fonts Change-Id: I292c7a656a55b76a5c07c4fb24529ac36b5bc34b Reviewed-on: https://gerrit.libreoffice.org/46637 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'Makefile.fetch')
-rw-r--r--Makefile.fetch8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.fetch b/Makefile.fetch
index c5eabd2d429c..63622b12d9ff 100644
--- a/Makefile.fetch
+++ b/Makefile.fetch
@@ -225,6 +225,14 @@ $(WORKDIR)/download: $(BUILDDIR)/config_host.mk $(SRCDIR)/download.lst $(SRCDIR)
, $(call fetch_Download_item,http://dev-www.libreoffice.org/src/libgltf,$(call fetch_Optional,LIBGLTF,LIBGLTF_TARBALL)))
$(foreach item, \
$(call fetch_Optional,NOTO_FONT,FONT_NOTO_TARBALL) \
+ $(call fetch_Optional,NOTO_FONT,FONT_NOTO_SANS_JP_TARBALL) \
+ $(call fetch_Optional,NOTO_FONT,FONT_NOTO_SANS_KR_TARBALL) \
+ $(call fetch_Optional,NOTO_FONT,FONT_NOTO_SANS_SC_TARBALL) \
+ $(call fetch_Optional,NOTO_FONT,FONT_NOTO_SANS_TC_TARBALL) \
+ $(call fetch_Optional,NOTO_FONT,FONT_NOTO_SERIF_JP_TARBALL) \
+ $(call fetch_Optional,NOTO_FONT,FONT_NOTO_SERIF_KR_TARBALL) \
+ $(call fetch_Optional,NOTO_FONT,FONT_NOTO_SERIF_SC_TARBALL) \
+ $(call fetch_Optional,NOTO_FONT,FONT_NOTO_SERIF_TC_TARBALL) \
,$(call fetch_Download_item,https://noto-website-2.storage.googleapis.com/pkgs,$(item)))
@mkdir -p $(dir $@) && touch $@