diff options
-rw-r--r-- | .SRCINFO | 46 | ||||
-rw-r--r-- | 40-noto-arabic.conf | 26 | ||||
-rw-r--r-- | 45-noto-cros.conf | 26 | ||||
-rw-r--r-- | 45-noto-mono.conf | 12 | ||||
-rw-r--r-- | 45-noto-sans.conf | 257 | ||||
-rw-r--r-- | 45-noto-serif.conf | 96 | ||||
-rw-r--r-- | 90-tt-noto-cros.conf | 68 | ||||
-rw-r--r-- | 90-tt-noto-mono.conf | 27 | ||||
-rw-r--r-- | 90-tt-noto-sans.conf | 847 | ||||
-rw-r--r-- | 90-tt-noto-serif.conf | 278 | ||||
-rw-r--r-- | PKGBUILD | 122 |
11 files changed, 1805 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7696567325b2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,46 @@ +# Generated by mksrcinfo v8 +# Mon Feb 27 16:17:31 UTC 2017 +pkgbase = ttf-noto-fonts-ib + pkgdesc = Google Noto TTF fonts + pkgver = 20170227 + pkgrel = 1 + url = http://www.google.com/get/noto/ + arch = any + groups = infinality-bundle-fonts + license = custom:OFL + depends = fontconfig + provides = noto-fonts + provides = ttf-font + conflicts = ttf-noto + conflicts = ttf-noto-svn + conflicts = ttf-google-webfonts-git + conflicts = noto-fonts + conflicts = ttf-croscore-fonts-ibx + conflicts = ttf-noto-sans-ib + conflicts = ttf-noto-serif-ib + replaces = ttf-croscore-fonts-ibx + replaces = ttf-noto-sans-ib + replaces = ttf-noto-serif-ib + source = https://github.com/googlei18n/noto-fonts/archive/84be0261e4a97cbdc315eff6e6648dd91300629f.zip + source = 40-noto-arabic.conf + source = 45-noto-cros.conf + source = 45-noto-sans.conf + source = 45-noto-serif.conf + source = 45-noto-mono.conf + source = 90-tt-noto-cros.conf + source = 90-tt-noto-sans.conf + source = 90-tt-noto-serif.conf + source = 90-tt-noto-mono.conf + sha256sums = dbb4b52a3334a2391eb57263490085493301bc18b87ce086890e2f48a8b4a281 + sha256sums = 734f20f62e6938601fe874c5af5994cd2e728e80bb121c08e1db8f084888e0ca + sha256sums = 3071752f837bca04c03d29f88a419c4a72682b91559353c7e26588c31a590572 + sha256sums = cb2fd6c63d1295fe73a15144b22178bed8a7471a603f6c45a86b0738b3565d6b + sha256sums = 39e6b5d115fbf0a63876f4890996d57693d8f6c64f93207c163bc5b6e38bc0b3 + sha256sums = 0a620443b25dc481bdf10b2955ae0a5fdf92982a47e6f8236fb1db92485a6134 + sha256sums = 974262f68a88905569a0685a4cd45d34882e348a1355e23f43e6c76dd38aa032 + sha256sums = 16c8a798a3f87e098ee5a20a6a34d63de84db3e2886d8d40a33f88a59fa6c80e + sha256sums = c3d526822a4787a2841f08859c3d1009d68ca97620a7d602ff855d2ff8f257ba + sha256sums = 17ec868a487b079dd94b68afbf3e23c2c00db426922d08f836684070dac9e5e5 + +pkgname = ttf-noto-fonts-ib + diff --git a/40-noto-arabic.conf b/40-noto-arabic.conf new file mode 100644 index 000000000000..d6c34667f52a --- /dev/null +++ b/40-noto-arabic.conf @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Noto Kufi Arabic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Naskh Arabic</family> + <default> + <family>fantasy</family> + </default> + </alias> + + <alias> + <family>Noto Naskh Arabic UI</family> + <default> + <family>fantasy</family> + </default> + </alias> + +</fontconfig> diff --git a/45-noto-cros.conf b/45-noto-cros.conf new file mode 100644 index 000000000000..2005305aa024 --- /dev/null +++ b/45-noto-cros.conf @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Arimo</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Cousine</family> + <default> + <family>monospace</family> + </default> + </alias> + + <alias> + <family>Tinos</family> + <default> + <family>serif</family> + </default> + </alias> + +</fontconfig> diff --git a/45-noto-mono.conf b/45-noto-mono.conf new file mode 100644 index 000000000000..8051d4a4f02a --- /dev/null +++ b/45-noto-mono.conf @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Noto Mono</family> + <default> + <family>monospace</family> + </default> + </alias> + +</fontconfig> diff --git a/45-noto-sans.conf b/45-noto-sans.conf new file mode 100644 index 000000000000..3867ac4192ca --- /dev/null +++ b/45-noto-sans.conf @@ -0,0 +1,257 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Noto Sans</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Armenian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Bengali</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Bengali UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Cham</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Devanagari</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Devanagari UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Ethiopic</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Georgian</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Gujarati</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Gujarati UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Gurmukhi</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Gurmukhi UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Hebrew</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Kannada</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Kannada UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Khmer</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Khmer UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Lao</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Lao UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Malayalam</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Malayalam UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Myanmar</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Myanmar UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Oriya</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Oriya UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Sinhala</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tamil</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tamil UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Telugu</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Telugu UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Thaana</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Thai</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Thai UI</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>Noto Sans Tibetan</family> + <default> + <family>sans-serif</family> + </default> + </alias> + +</fontconfig> diff --git a/45-noto-serif.conf b/45-noto-serif.conf new file mode 100644 index 000000000000..c1aa6eeee3de --- /dev/null +++ b/45-noto-serif.conf @@ -0,0 +1,96 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>Noto Serif</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Armenian</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Bengali</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Devanagari</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Georgian</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Gujarati</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Kannada</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Khmer</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Lao</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Malayalam</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Tamil</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Telugu</family> + <default> + <family>serif</family> + </default> + </alias> + + <alias> + <family>Noto Serif Thai</family> + <default> + <family>serif</family> + </default> + </alias> + +</fontconfig> diff --git a/90-tt-noto-cros.conf b/90-tt-noto-cros.conf new file mode 100644 index 000000000000..42a2967ec186 --- /dev/null +++ b/90-tt-noto-cros.conf @@ -0,0 +1,68 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Arimo</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Cousine</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Tinos</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + +</fontconfig> diff --git a/90-tt-noto-mono.conf b/90-tt-noto-mono.conf new file mode 100644 index 000000000000..1bd21412a28f --- /dev/null +++ b/90-tt-noto-mono.conf @@ -0,0 +1,27 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <!-- Noto Mono --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Mono</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> + +</fontconfig> diff --git a/90-tt-noto-sans.conf b/90-tt-noto-sans.conf new file mode 100644 index 000000000000..8b886bdba6c3 --- /dev/null +++ b/90-tt-noto-sans.conf @@ -0,0 +1,847 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <!-- Noto Sans --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + </match> + + <!-- Noto Sans --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Kufi Arabic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Naskh Arabic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Naskh Arabic UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Nastaliq Urdu Draft</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Armenian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Bengali</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Bengali UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Cham</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Devanagari</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Devanagari UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Ethiopic</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Georgian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Gujarati</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Gujarati UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Gurmukhi</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Gurmukhi UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Hebrew</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Kannada</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Kannada UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Khmer</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Khmer UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Lao</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Lao UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Malayalam</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Malayalam UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Myanmar</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Myanmar UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Oriya</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Oriya UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Sinhala</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tamil</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tamil UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Telugu</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Telugu UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Thaana</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Thai</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Thai UI</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Sans Tibetan</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + +</fontconfig> diff --git a/90-tt-noto-serif.conf b/90-tt-noto-serif.conf new file mode 100644 index 000000000000..0cc84ece8561 --- /dev/null +++ b/90-tt-noto-serif.conf @@ -0,0 +1,278 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Armenian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Bengali</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Devanagari</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Georgian</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Gujarati</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Kannada</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Khmer</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Lao</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Malayalam</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Tamil</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Telugu</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>Noto Serif Thai</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + +</fontconfig> diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ffec3f0d0767 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,122 @@ +# Maintainer: bohoomil <@zoho.com> +# Contributor: julroy67 <julroy67@gmail.com> + +pkgname=ttf-noto-fonts-ib +_pkgcr=ttf-noto-fonts-cros-ib +_pkgsa=ttf-noto-fonts-sans-ib +_pkgse=ttf-noto-fonts-serif-ib +_pkgmo=ttf-noto-fonts-mono-ib +_pkgver=2017-02-27 +_commit=84be0261e4a97cbdc315eff6e6648dd91300629f +pkgver=${_pkgver//-} +pkgrel=1 +pkgdesc="Google Noto TTF fonts" +url="http://www.google.com/get/noto/" +arch=(any) +groups=(infinality-bundle-fonts) +depends=(fontconfig) +conflicts=(ttf-noto ttf-noto-svn ttf-google-webfonts-git noto-fonts ttf-croscore-fonts-ibx ttf-noto-sans-ib ttf-noto-serif-ib) +replaces=(ttf-croscore-fonts-ibx ttf-noto-sans-ib ttf-noto-serif-ib) +provides=(noto-fonts ttf-font) +license=(custom:OFL) +source=("https://github.com/googlei18n/noto-fonts/archive/$_commit.zip" + 40-noto-arabic.conf + 45-noto-cros.conf + 45-noto-sans.conf + 45-noto-serif.conf + 45-noto-mono.conf + 90-tt-noto-cros.conf + 90-tt-noto-sans.conf + 90-tt-noto-serif.conf + 90-tt-noto-mono.conf) +sha256sums=('dbb4b52a3334a2391eb57263490085493301bc18b87ce086890e2f48a8b4a281' + '734f20f62e6938601fe874c5af5994cd2e728e80bb121c08e1db8f084888e0ca' + '3071752f837bca04c03d29f88a419c4a72682b91559353c7e26588c31a590572' + 'cb2fd6c63d1295fe73a15144b22178bed8a7471a603f6c45a86b0738b3565d6b' + '39e6b5d115fbf0a63876f4890996d57693d8f6c64f93207c163bc5b6e38bc0b3' + '0a620443b25dc481bdf10b2955ae0a5fdf92982a47e6f8236fb1db92485a6134' + '974262f68a88905569a0685a4cd45d34882e348a1355e23f43e6c76dd38aa032' + '16c8a798a3f87e098ee5a20a6a34d63de84db3e2886d8d40a33f88a59fa6c80e' + 'c3d526822a4787a2841f08859c3d1009d68ca97620a7d602ff855d2ff8f257ba' + '17ec868a487b079dd94b68afbf3e23c2c00db426922d08f836684070dac9e5e5') + +package() { + cd noto-fonts-* + cd hinted + + # Arimo, Cousine, Tinos + _cr=(Arimo-Bold.ttf Arimo-BoldItalic.ttf Arimo-Italic.ttf Arimo-Regular.ttf Cousine-Bold.ttf Cousine-BoldItalic.ttf Cousine-Italic.ttf Cousine-Regular.ttf Tinos-Bold.ttf Tinos-BoldItalic.ttf Tinos-Italic.ttf Tinos-Regular.ttf) + + install -m755 -d "${pkgdir}"/usr/share/fonts/"${_pkgcr}" + + for fnt in "${_cr[@]}"; do + install -m644 "$fnt" "${pkgdir}"/usr/share/fonts/"${_pkgcr}" + done + + # Noto Sans + _sans=(NotoKufiArabic-Bold.ttf NotoKufiArabic-Regular.ttf NotoNaskhArabic-Bold.ttf NotoNaskhArabic-Regular.ttf NotoNaskhArabicUI-Bold.ttf NotoNaskhArabicUI-Regular.ttf NotoSans-Bold.ttf NotoSans-BoldItalic.ttf NotoSans-Italic.ttf NotoSans-Regular.ttf NotoSansArmenian-Bold.ttf NotoSansArmenian-Regular.ttf NotoSansBengali-Bold.ttf NotoSansBengali-Regular.ttf NotoSansBengaliUI-Bold.ttf NotoSansBengaliUI-Regular.ttf NotoSansDevanagari-Bold.ttf NotoSansDevanagari-Regular.ttf NotoSansDevanagariUI-Bold.ttf NotoSansDevanagariUI-Regular.ttf NotoSansEthiopic-Bold.ttf NotoSansEthiopic-Regular.ttf NotoSansGeorgian-Bold.ttf NotoSansGeorgian-Regular.ttf NotoSansGujarati-Bold.ttf NotoSansGujarati-Regular.ttf NotoSansGujaratiUI-Bold.ttf NotoSansGujaratiUI-Regular.ttf NotoSansGurmukhi-Bold.ttf NotoSansGurmukhi-Regular.ttf NotoSansGurmukhiUI-Bold.ttf NotoSansGurmukhiUI-Regular.ttf NotoSansHebrew-Bold.ttf NotoSansHebrew-Regular.ttf NotoSansKannada-Bold.ttf NotoSansKannada-Regular.ttf NotoSansKannadaUI-Bold.ttf NotoSansKannadaUI-Regular.ttf NotoSansKhmer-Bold.ttf NotoSansKhmer-Regular.ttf NotoSansKhmerUI-Bold.ttf NotoSansKhmerUI-Regular.ttf NotoSansLao-Bold.ttf NotoSansLao-Regular.ttf NotoSansLaoUI-Bold.ttf NotoSansLaoUI-Regular.ttf NotoSansMalayalam-Bold.ttf NotoSansMalayalam-Regular.ttf NotoSansMalayalamUI-Bold.ttf NotoSansMalayalamUI-Regular.ttf NotoSansMyanmar-Bold.ttf NotoSansMyanmar-Regular.ttf NotoSansMyanmarUI-Bold.ttf NotoSansMyanmarUI-Regular.ttf NotoSansOriya-Bold.ttf NotoSansOriya-Regular.ttf NotoSansOriyaUI-Bold.ttf NotoSansOriyaUI-Regular.ttf NotoSansSinhala-Bold.ttf NotoSansSinhala-Regular.ttf NotoSansTamil-Bold.ttf NotoSansTamil-Regular.ttf NotoSansTamilUI-Bold.ttf NotoSansTamilUI-Regular.ttf NotoSansTelugu-Bold.ttf NotoSansTelugu-Regular.ttf NotoSansTeluguUI-Bold.ttf NotoSansTeluguUI-Regular.ttf NotoSansThaana-Bold.ttf NotoSansThaana-Regular.ttf NotoSansThai-Bold.ttf NotoSansThai-Regular.ttf NotoSansThaiUI-Bold.ttf NotoSansThaiUI-Regular.ttf NotoSansTibetan-Bold.ttf NotoSansTibetan-Regular.ttf NotoSansUI-Bold.ttf NotoSansUI-BoldItalic.ttf NotoSansUI-Italic.ttf NotoSansUI-Regular.ttf NotoSansCham-Bold.ttf NotoSansCham-Regular.ttf) + + install -m755 -d "${pkgdir}"/usr/share/fonts/"${_pkgsa}" + + for fnt in "${_sans[@]}"; do + install -m644 "$fnt" "${pkgdir}"/usr/share/fonts/"${_pkgsa}" + done + + # Noto Serif + _serif=(NotoSerif-Bold.ttf NotoSerif-BoldItalic.ttf NotoSerif-Italic.ttf NotoSerif-Regular.ttf NotoSerifArmenian-Bold.ttf NotoSerifArmenian-Regular.ttf NotoSerifGeorgian-Bold.ttf NotoSerifGeorgian-Regular.ttf NotoSerifKhmer-Bold.ttf NotoSerifKhmer-Regular.ttf NotoSerifLao-Bold.ttf NotoSerifLao-Regular.ttf NotoSerifThai-Bold.ttf NotoSerifThai-Regular.ttf NotoSerifBengali-Bold.ttf NotoSerifBengali-Regular.ttf NotoSerifDevanagari-Bold.ttf NotoSerifDevanagari-Regular.ttf NotoSerifGujarati-Bold.ttf NotoSerifGujarati-Regular.ttf NotoSerifKannada-Bold.ttf NotoSerifKannada-Regular.ttf NotoSerifMalayalam-Bold.ttf NotoSerifMalayalam-Regular.ttf NotoSerifTamil-Bold.ttf NotoSerifTamil-Regular.ttf NotoSerifTelugu-Bold.ttf NotoSerifTelugu-Regular.ttf) + + install -m755 -d "${pkgdir}"/usr/share/fonts/"${_pkgse}" + + for fnt in "${_serif[@]}"; do + install -m644 "$fnt" "${pkgdir}"/usr/share/fonts/"${_pkgse}" + done + + # Noto Mono + _mono=(NotoMono-Regular.ttf) + + install -m755 -d "${pkgdir}"/usr/share/fonts/"${_pkgmo}" + + for fnt in "${_mono[@]}"; do + install -m644 "$fnt" "${pkgdir}"/usr/share/fonts/"${_pkgmo}" + done + + # License + install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname" + install -m644 ../LICENSE \ + "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" + + cd "${srcdir}" + + # fontconfig templates + install -m755 -d "${pkgdir}"/etc/fonts/conf.d + install -m755 -d "${pkgdir}"/etc/fonts/conf.avail + install -m644 40-noto-arabic.conf \ + "${pkgdir}"/etc/fonts/conf.avail/40-noto-arabic.conf + install -m644 45-noto-cros.conf \ + "${pkgdir}"/etc/fonts/conf.avail/45-noto-cros.conf + install -m644 45-noto-sans.conf \ + "${pkgdir}"/etc/fonts/conf.avail/45-noto-sans.conf + install -m644 45-noto-serif.conf \ + "${pkgdir}"/etc/fonts/conf.avail/45-noto-serif.conf + install -m644 45-noto-mono.conf \ + "${pkgdir}"/etc/fonts/conf.avail/45-noto-mono.conf + install -m644 90-tt-noto-cros.conf \ + "${pkgdir}"/etc/fonts/conf.avail/90-tt-noto-cros.conf + install -m644 90-tt-noto-sans.conf \ + "${pkgdir}"/etc/fonts/conf.avail/90-tt-noto-sans.conf + install -m644 90-tt-noto-serif.conf \ + "${pkgdir}"/etc/fonts/conf.avail/90-tt-noto-serif.conf + install -m644 90-tt-noto-mono.conf \ + "${pkgdir}"/etc/fonts/conf.avail/90-tt-noto-mono.conf + + cd "${pkgdir}"/etc/fonts/conf.d + ln -s ../conf.avail/40-noto-arabic.conf . + ln -s ../conf.avail/45-noto-cros.conf . + ln -s ../conf.avail/45-noto-sans.conf . + ln -s ../conf.avail/45-noto-serif.conf . + ln -s ../conf.avail/45-noto-mono.conf . + ln -s ../conf.avail/90-tt-noto-cros.conf . + ln -s ../conf.avail/90-tt-noto-sans.conf . + ln -s ../conf.avail/90-tt-noto-serif.conf . + ln -s ../conf.avail/90-tt-noto-mono.conf . +} |