RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/google-noto-fonts#65935a1857b920be0cafe3b9a28d1e41fc36ebb0
This commit is contained in:
Petr Šabata 2020-10-15 09:41:52 +02:00
parent f514da707f
commit 5f667f6525
95 changed files with 4497 additions and 0 deletions

13
.gitignore vendored
View File

@ -0,0 +1,13 @@
/NotoFonts-hinted-2013-04-11.tgz
/NotoFonts-hinted-2013-06-24.tgz
/NotoFonts-hinted-2013-08-07.tgz
/NotoFonts-unhinted-2013-08-07.tgz
/396bf23e32cf53820681144e109270ae1f4ee7c3.zip
/noto-aae16d0cd626.zip
/noto-762640379a51.zip
/noto-d47480343178.zip
/v2015-09-29-license-adobe.zip
/noto-fonts-86b2e553c3e3e4d6614dadd1fa0a7a6dafd74552.zip
/noto-fonts-db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06.zip
/noto-fonts-85e78f831469323c85847e23f95026c894159135.zip
/noto-fonts-a5e21f60336d8b9b76a0f230d07dd59e12d6da80.zip

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>pa</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Gurmukhi</string>
</edit>
</match>
<alias>
<family>Noto Sans Gurmukhi</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ar</string>
</test>
<test name="family">
<string>cursive</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Kufi Arabic</string>
</edit>
</match>
<alias>
<family>Noto Kufi Arabic</family>
<default>
<family>cursive</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ar</string>
</test>
<test name="family">
<string>cursive</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Naskh Arabic</string>
</edit>
</match>
<alias>
<family>Noto Naskh Arabic</family>
<default>
<family>cursive</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ur</string>
</test>
<test name="family">
<string>cursive</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Nastaliq Urdu</string>
</edit>
</match>
<alias>
<family>Noto Nastaliq Urdu</family>
<default>
<family>cursive</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>hy</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Armenian</string>
</edit>
</match>
<alias>
<family>Noto Sans Armenian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>bax</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Bamum</string>
</edit>
</match>
<alias>
<family>Noto Sans Bamum</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>bbc</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Batak</string>
</edit>
</match>
<alias>
<family>Noto Sans Batak</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>bn</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Bengali</string>
</edit>
</match>
<alias>
<family>Noto Sans Bengali</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>bug</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Buginese</string>
</edit>
</match>
<alias>
<family>Noto Sans Buginese</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>bku</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Buhid</string>
</edit>
</match>
<alias>
<family>Noto Sans Buhid</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>iu</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Canadian Aboriginal</string>
</edit>
</match>
<alias>
<family>Noto Sans Canadian Aboriginal</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>cjm</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Cham</string>
</edit>
</match>
<alias>
<family>Noto Sans Cham</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>chr</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Cherokee</string>
</edit>
</match>
<alias>
<family>Noto Sans Cherokee</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>cop</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Coptic</string>
</edit>
</match>
<alias>
<family>Noto Sans Coptic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>slv</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Cuneiform</string>
</edit>
</match>
<alias>
<family>Noto Sans Cuneiform</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>cy</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Cypriot</string>
</edit>
</match>
<alias>
<family>Noto Sans Cypriot</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,178 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>hi</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>mr</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>kok</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>ks@devanagari</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>sd@devanagari</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>mai</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>ne</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>bh</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>bho</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>brx</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>doi</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>hne</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>sa</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>sat</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari</string>
</edit>
</match>
<alias>
<family>Noto Sans Devanagari</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>am</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ethiopic</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>byn</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ethiopic</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>gez</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ethiopic</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>sid</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ethiopic</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>ti-er</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ethiopic</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>ti-et</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ethiopic</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>tig</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ethiopic</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>wal</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ethiopic</string>
</edit>
</match>
<alias>
<family>Noto Sans Ethiopic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ka</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Georgian</string>
</edit>
</match>
<alias>
<family>Noto Sans Georgian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>got</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Gothic</string>
</edit>
</match>
<alias>
<family>Noto Sans Gothic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>gu</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Gujarati</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Noto Sans Gujarati</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto Sans Gujarati</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>hnn</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Hanunoo</string>
</edit>
</match>
<alias>
<family>Noto Sans Hanunoo</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>he</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Hebrew</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>yi</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Hebrew</string>
</edit>
</match>
<alias>
<family>Noto Sans Hebrew</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>jv</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Javanese</string>
</edit>
</match>
<alias>
<family>Noto Sans Javanese</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>kn</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Kannada</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Noto Sans Kannada</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto Sans Kannada</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>km</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Khmer</string>
</edit>
</match>
<alias>
<family>Noto Sans Khmer</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>lo</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Lao</string>
</edit>
</match>
<alias>
<family>Noto Sans Lao</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>lep</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Lepcha</string>
</edit>
</match>
<alias>
<family>Noto Sans Lepcha</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>lif</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Limbu</string>
</edit>
</match>
<alias>
<family>Noto Sans Limbu</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>lo</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Lao</string>
</edit>
</match>
<alias>
<family>Noto Sans Lao</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ml</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Malayalam</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Noto Sans Malayalam</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto Sans Malayalam</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>mni</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Meetei Mayek</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Noto Sans Meetei Mayek</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto Sans Meetei Mayek</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>mn-cn</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Mongolian</string>
</edit>
</match>
<alias>
<family>Noto Sans Mongolian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>my</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Myanmar</string>
</edit>
</match>
<alias>
<family>Noto Sans Myanmar</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>khb</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans New Tai Lue</string>
</edit>
</match>
<alias>
<family>Noto Sans New Tai Lue</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>nqo</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans NKo</string>
</edit>
</match>
<alias>
<family>Noto Sans NKo</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>pgl</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ogham</string>
</edit>
</match>
<alias>
<family>Noto Sans Ogham</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>sat</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Ol Chiki</string>
</edit>
</match>
<alias>
<family>Noto Sans Ol Chiki</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>or</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Oriya</string>
</edit>
</match>
<alias>
<family>Noto Sans Oriya</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>rej</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Rejang</string>
</edit>
</match>
<alias>
<family>Noto Sans Rejang</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>gem</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Runic</string>
</edit>
</match>
<alias>
<family>Noto Sans Runic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>saz</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Saurashtra</string>
</edit>
</match>
<alias>
<family>Noto Sans Saurashtra</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>en@shaw</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Shavian</string>
</edit>
</match>
<alias>
<family>Noto Sans Shavian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>si</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Sinhala</string>
</edit>
</match>
<alias>
<family>Noto Sans Sinhala</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>su</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Sundanese</string>
</edit>
</match>
<alias>
<family>Noto Sans Sundanese</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>syr</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Syriac Eastern</string>
</edit>
</match>
<alias>
<family>Noto Sans Syriac Eastern</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>syr</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Syriac Estrangela</string>
</edit>
</match>
<alias>
<family>Noto Sans Syriac Estrangela</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>syr</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Syriac Western</string>
</edit>
</match>
<alias>
<family>Noto Sans Syriac Western</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>tl</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Tagalog</string>
</edit>
</match>
<alias>
<family>Noto Sans Tagalog</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>twb</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Tagbanwa</string>
</edit>
</match>
<alias>
<family>Noto Sans Tagbanwa</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ta</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Tamil</string>
</edit>
</match>
<alias>
<family>Noto Sans Tamil</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>te</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Telugu</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Noto Sans Telugu</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto Sans Telugu</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>dv</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Thaana</string>
</edit>
</match>
<alias>
<family>Noto Sans Thaana</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>th</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Thai</string>
</edit>
</match>
<alias>
<family>Noto Sans Thai</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>bo</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Tibetan</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>dz</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Tibetan</string>
</edit>
</match>
<alias>
<family>Noto Sans Tibetan</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ber-ma</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Tifinagh</string>
</edit>
</match>
<alias>
<family>Noto Sans Tifinagh</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>vai</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Vai</string>
</edit>
</match>
<alias>
<family>Noto Sans Vai</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>hy</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Armenian</string>
</edit>
</match>
<alias>
<family>Noto Serif Armenian</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ban</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Balinese</string>
</edit>
</match>
<alias>
<family>Noto Serif Balinese</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>bn</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Bengali</string>
</edit>
</match>
<alias>
<family>Noto Serif Bengali</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,178 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>hi</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>mr</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>kok</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>ks@devanagari</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>sd@devanagari</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>mai</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>ne</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>bh</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>bho</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>brx</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>doi</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>hne</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>sa</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>sat</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Devanagari</string>
</edit>
</match>
<alias>
<family>Noto Serif Devanagari</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ka</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Georgian</string>
</edit>
</match>
<alias>
<family>Noto Serif Georgian</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>gu</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Gujarati</string>
</edit>
</match>
<alias>
<family>Noto Serif Gujarati</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>kn</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Kannada</string>
</edit>
</match>
<alias>
<family>Noto Serif Kannada</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>km</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Khmer</string>
</edit>
</match>
<alias>
<family>Noto Serif Khmer</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>lo</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Lao</string>
</edit>
</match>
<alias>
<family>Noto Serif Lao</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ml</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Malayalam</string>
</edit>
</match>
<alias>
<family>Noto Serif Malayalam</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ta</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Tamil</string>
</edit>
</match>
<alias>
<family>Noto Serif Tamil</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>te</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Telugu</string>
</edit>
</match>
<alias>
<family>Noto Serif Telugu</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>th</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif Thai</string>
</edit>
</match>
<alias>
<family>Noto Serif Thai</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ar</string>
</test>
<test name="family">
<string>cursive</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Naskh Arabic UI</string>
</edit>
</match>
<alias>
<family>Noto Naskh Arabic UI</family>
<default>
<family>cursive</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>bn</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Bengali UI</string>
</edit>
</match>
<alias>
<family>Noto Sans Bengali UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>hi</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>mr</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>kok</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>ks@devanagari</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>sd@devanagari</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>mai</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>ne</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>brx</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>doi</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<match>
<test name="lang" compare="contains">
<string>sa</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Devanagari UI</string>
</edit>
</match>
<alias>
<family>Noto Sans Devanagari UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>gu</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Gujarati UI</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Noto Sans Gujarati UI</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto Sans Gujarati UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>pa</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Gurmukhi</string>
</edit>
</match>
<alias>
<family>Noto Sans Gurmukhi</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>kn</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Kannada UI</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Noto Sans Kannada UI</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto Sans Kannada UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>km</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Khmer UI</string>
</edit>
</match>
<alias>
<family>Noto Sans Khmer UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>lo</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Lao UI</string>
</edit>
</match>
<alias>
<family>Noto Sans Lao UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ml</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Malayalam UI</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Noto Sans Malayalam UI</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto Sans Malayalam UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>my</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Myanmar UI</string>
</edit>
</match>
<alias>
<family>Noto Sans Myanmar UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>or</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Oriya UI</string>
</edit>
</match>
<alias>
<family>Noto Sans Oriya UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>ta</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Tamil UI</string>
</edit>
</match>
<alias>
<family>Noto Sans Tamil UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>te</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Telugu UI</string>
</edit>
</match>
<match target="font">
<test name="family" compare="eq">
<string>Noto Sans Telugu UI</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<alias>
<family>Noto Sans Telugu UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang" compare="contains">
<string>th</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans Thai UI</string>
</edit>
</match>
<alias>
<family>Noto Sans Thai UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

887
google-noto-fonts.spec Normal file
View File

@ -0,0 +1,887 @@
%global _fontname google-noto
%global _fontnamevf google-noto-vf
%global _fontvfdir %{_fontbasedir}/%{_fontnamevf}
%global fontname %{_fontname}
%global fontconf %{_fontname}
%global common_desc Noto fonts aims to remove tofu from web by providing fonts for all \
Unicode supported scripts. Its design goal is to achieve visual harmonization\
between multiple scripts. Noto family supports almost all scripts available\
in Unicode.\
%{nil}
%global commit a5e21f60336d8b9b76a0f230d07dd59e12d6da80
%global hprio 65
%global mprio 66
%global lprio 67
Name: %{fontname}-fonts
Version: 20181223
Release: 8%{?dist}
Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts
License: OFL
URL: https://github.com/googlei18n/noto-fonts/
# downloaded from https://github.com/googlei18n/noto-fonts/commits/a5e21f60336d8b9b76a0f230d07dd59e12d6da80 -> download [zip]
# link https://github.com/googlei18n/noto-fonts/archive/a5e21f60336d8b9b76a0f230d07dd59e12d6da80.zip
Source0: noto-fonts-%{commit}.zip
Source3: %{mprio}-%{fontconf}-sans-armenian.conf
Source5: %{mprio}-%{fontconf}-sans-bengali.conf
Source6: %{lprio}-%{fontconf}-sans-bengali-ui.conf
Source9: %{mprio}-%{fontconf}-sans-cherokee.conf
Source10: %{mprio}-%{fontconf}-sans-coptic.conf
Source12: %{mprio}-%{fontconf}-sans-devanagari.conf
Source13: %{lprio}-%{fontconf}-sans-devanagari-ui.conf
Source15: %{mprio}-%{fontconf}-sans-ethiopic.conf
Source16: %{mprio}-%{fontconf}-sans-georgian.conf
Source18: %{mprio}-%{fontconf}-sans-hebrew.conf
Source21: %{mprio}-%{fontconf}-sans-kannada.conf
Source24: %{mprio}-%{fontconf}-sans-khmer.conf
Source25: %{lprio}-%{fontconf}-sans-khmer-ui.conf
Source26: %{mprio}-%{fontconf}-sans-lao.conf
Source27: %{lprio}-%{fontconf}-sans-lao-ui.conf
Source28: %{mprio}-%{fontconf}-sans-lisu.conf
Source31: %{mprio}-%{fontconf}-sans-malayalam.conf
Source32: %{lprio}-%{fontconf}-sans-malayalam-ui.conf
Source34: %{mprio}-%{fontconf}-sans-meetei-mayek.conf
Source35: %{mprio}-%{fontconf}-sans-nko.conf
Source40: %{mprio}-%{fontconf}-sans-shavian.conf
Source42: %{mprio}-%{fontconf}-sans-tagalog.conf
Source44: %{mprio}-%{fontconf}-sans-tamil.conf
Source45: %{lprio}-%{fontconf}-sans-tamil-ui.conf
Source46: %{mprio}-%{fontconf}-sans-telugu.conf
Source47: %{mprio}-%{fontconf}-sans-thai.conf
Source48: %{lprio}-%{fontconf}-sans-thai-ui.conf
Source51: %{mprio}-%{fontconf}-sans-vai.conf
Source52: %{mprio}-%{fontconf}-serif-armenian.conf
Source54: %{mprio}-%{fontconf}-serif-georgian.conf
Source55: %{mprio}-%{fontconf}-serif-khmer.conf
Source56: %{mprio}-%{fontconf}-serif-lao.conf
Source57: %{mprio}-%{fontconf}-serif-thai.conf
Source58: %{lprio}-%{fontconf}-sans-kannada-ui.conf
Source59: %{lprio}-%{fontconf}-sans-telugu-ui.conf
Source60: %{mprio}-%{fontconf}-sans-gujarati.conf
Source61: %{lprio}-%{fontconf}-sans-gujarati-ui.conf
Source62: %{mprio}-%{fontconf}-sans-hanunoo.conf
Source64: %{mprio}-%{fontconf}-kufi-arabic.conf
Source65: %{mprio}-%{fontconf}-naskh-arabic.conf
Source66: %{lprio}-%{fontconf}-naskh-arabic-ui.conf
Source67: %{mprio}-%{fontconf}-serif-balinese.conf
Source68: %{mprio}-%{fontconf}-sans-bamum.conf
Source69: %{mprio}-%{fontconf}-sans-batak.conf
Source70: %{mprio}-%{fontconf}-sans-buginese.conf
Source71: %{mprio}-%{fontconf}-sans-buhid.conf
Source72: %{mprio}-%{fontconf}-sans-canadian-aboriginal.conf
Source73: %{mprio}-%{fontconf}-sans-cham.conf
Source74: %{mprio}-%{fontconf}-sans-cuneiform.conf
Source75: %{mprio}-%{fontconf}-sans-cypriot.conf
Source76: %{mprio}-%{fontconf}-sans-gothic.conf
Source77: %{hprio}-0-%{fontconf}-sans-gurmukhi.conf
Source78: %{lprio}-%{fontconf}-sans-gurmukhi-ui.conf
Source81: %{mprio}-%{fontconf}-sans-javanese.conf
Source82: %{mprio}-%{fontconf}-sans-lepcha.conf
Source83: %{mprio}-%{fontconf}-sans-limbu.conf
Source85: %{mprio}-%{fontconf}-sans-mongolian.conf
Source86: %{mprio}-%{fontconf}-sans-myanmar.conf
Source87: %{lprio}-%{fontconf}-sans-myanmar-ui.conf
Source88: %{mprio}-%{fontconf}-sans-new-tai-lue.conf
Source89: %{mprio}-%{fontconf}-sans-ogham.conf
Source90: %{mprio}-%{fontconf}-sans-ol-chiki.conf
Source94: %{mprio}-%{fontconf}-sans-rejang.conf
Source95: %{mprio}-%{fontconf}-sans-runic.conf
Source97: %{mprio}-%{fontconf}-sans-saurashtra.conf
Source98: %{mprio}-%{fontconf}-sans-sinhala.conf
Source99: %{mprio}-%{fontconf}-sans-sundanese.conf
Source101: %{mprio}-%{fontconf}-sans-syriac-eastern.conf
Source102: %{mprio}-%{fontconf}-sans-syriac-estrangela.conf
Source103: %{mprio}-%{fontconf}-sans-syriac-western.conf
Source105: %{mprio}-%{fontconf}-sans-tifinagh.conf
Source107: %{mprio}-%{fontconf}-sans-tagbanwa.conf
Source108: %{mprio}-%{fontconf}-sans-thaana.conf
Source156: %{mprio}-%{fontconf}-sans-oriya.conf
Source157: %{lprio}-%{fontconf}-sans-oriya-ui.conf
Source158: %{mprio}-%{fontconf}-nastaliq-urdu.conf
Source159: %{mprio}-%{fontconf}-sans-tibetan.conf
Source161: %{mprio}-%{fontconf}-serif-bengali.conf
Source162: %{mprio}-%{fontconf}-serif-devanagari.conf
Source163: %{mprio}-%{fontconf}-serif-gujarati.conf
Source164: %{mprio}-%{fontconf}-serif-kannada.conf
Source165: %{mprio}-%{fontconf}-serif-malayalam.conf
Source166: %{mprio}-%{fontconf}-serif-tamil.conf
Source167: %{mprio}-%{fontconf}-serif-telugu.conf
# Add appstream metadata files
Source200: %{fontname}.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
%common_desc
%package common
Summary: Common files for Noto fonts
%description common
Common files for Google Noto fonts.
# notopkg [-a AltFontName] [-o old-name] Font Name
# -a overrides the FontName
# -o adds an obsoletes for an older package name
# -p overrides fontconfig .conf priority (default 66)
# -v packages a variable font
%define notopkg(c:a:o:p:v)\
%define _pname %(echo %{*} | tr "A-Z " "a-z-")\
%define pname %{_pname}%{-v:-vf}\
%{!-a:%define fname %(echo %{*} | sed -e "s/ //g")}\
%define subpkg %{_fontname}-%{pname}\
%define fconf %{-p*}%{!-p:%{-v:%{hprio}}%{!-v:%{mprio}}}-%{fontconf}-%{pname}.conf\
%package -n %{subpkg}-fonts\
Summary: %{*}%{-v: variable} font\
Requires: fontpackages-filesystem\
Requires: %{name}-common = %{version}-%{release}\
%{?-o:Obsoletes: %{_fontname}-%{-o*}-fonts < %{version}-%{release}}\
\
%description -n %{subpkg}-fonts\
%common_desc\
Noto %1 font%{?2: for %(echo %* | sed -e "s/%1 //")}.\
\
%{!-v:%_font_pkg -n %{pname} -f %{fconf} Noto%{-a*}%{!-a:%{fname}}-*.*tf} \
%{-v:%files -n %{_fontname}-%{pname}-fonts\
%dir %{_fontvfdir} \
%{_fontvfdir}/Noto%{-a*}%{!-a:%{fname}}-*VF.*tf \
%{_fontconfig_templatedir}/%{fconf} \
%config(noreplace) %{_fontconfig_confdir}/%{fconf}} \
%{_metainfodir}/%{subpkg}.metainfo.xml
%notopkg Kufi Arabic
%notopkg Music
%notopkg Naskh Arabic
%notopkg -p %{lprio} Naskh Arabic UI
%notopkg Sans
%notopkg -p %{lprio} -o sans-ui Sans Display
%notopkg Sans Adlam
%notopkg Sans Adlam Unjoined
%notopkg Sans Anatolian Hieroglyphs
%notopkg Sans Arabic
%notopkg -p %{lprio} Sans Arabic UI
%notopkg Sans Armenian
%notopkg Sans Avestan
%notopkg Sans Bamum
%notopkg Sans Bassa Vah
%notopkg Sans Batak
%notopkg Sans Bengali
%notopkg -p %{lprio} Sans Bengali UI
%notopkg Sans Bhaiksuki
%notopkg Sans Brahmi
%notopkg Sans Buginese
%notopkg Sans Buhid
%notopkg Sans Canadian Aboriginal
%notopkg Sans Caucasian Albanian
%notopkg Sans Carian
%notopkg Sans Chakma
%notopkg Sans Cham
%notopkg Sans Cherokee
%notopkg Sans Coptic
%notopkg Sans Cuneiform
%notopkg Sans Cypriot
%notopkg Sans Deseret
%notopkg Sans Devanagari
%notopkg -p %{lprio} Sans Devanagari UI
%notopkg Sans Duployan
%notopkg Sans Egyptian Hieroglyphs
%notopkg Sans Elbasan
%notopkg Sans Ethiopic
%notopkg Sans Georgian
%notopkg Sans Glagolitic
%notopkg Sans Gothic
%notopkg Sans Grantha
%notopkg Sans Gujarati
%notopkg -p %{lprio} Sans Gujarati UI
%notopkg -p %{hprio}-0 Sans Gurmukhi
%notopkg -p %{lprio} Sans Gurmukhi UI
%notopkg -o sans-hanunno Sans Hanunoo
%notopkg Sans Hatran
%notopkg Sans Hebrew
%notopkg Sans Imperial Aramaic
%notopkg Sans Inscriptional Pahlavi
%notopkg Sans Inscriptional Parthian
%notopkg Sans Javanese
%notopkg Sans Kaithi
%notopkg Sans Kannada
%notopkg -p %{lprio} Sans Kannada UI
%notopkg Sans Kayah Li
%notopkg Sans Kharoshthi
%notopkg Sans Khmer
%notopkg -p %{lprio} Sans Khmer UI
%notopkg Sans Khojki
%notopkg Sans Khudawadi
%notopkg Sans Lao
%notopkg -p %{lprio} Sans Lao UI
%notopkg Sans Lepcha
%notopkg Sans Limbu
%notopkg Sans Linear A
%notopkg -o sans-linearb Sans Linear B
%notopkg Sans Lisu
%notopkg Sans Lycian
%notopkg Sans Lydian
%notopkg Sans Mahajani
%notopkg Sans Malayalam
%notopkg -p %{lprio} Sans Malayalam UI
%notopkg Sans Mandaic
%notopkg Sans Manichaean
%notopkg Sans Marchen
%notopkg -p %{lprio} Sans Math
%notopkg -o sans-meeteimayek Sans Meetei Mayek
%notopkg Sans Mende Kikakui
%notopkg Sans Meroitic
%notopkg Sans Miao
%notopkg Sans Modi
%notopkg Sans Mongolian
%notopkg Sans Mro
%notopkg Sans Multani
%notopkg Sans Myanmar
%notopkg -p %{lprio} Sans Myanmar UI
%notopkg Sans Nabataean
%notopkg Sans New Tai Lue
%notopkg Sans Newa
%notopkg Sans NKo
%notopkg Sans Ogham
%notopkg Sans Ol Chiki
%notopkg Sans Old Hungarian
%notopkg Sans Old Italic
%notopkg Sans Old North Arabian
%notopkg Sans Old Permic
%notopkg Sans Old Persian
%notopkg Sans Old South Arabian
%notopkg Sans Old Turkic
%notopkg Sans Osage
%notopkg Sans Osmanya
%notopkg Sans Pahawh Hmong
%notopkg Sans Palmyrene
%notopkg Sans Pau Cin Hau
%notopkg Sans Phags Pa
%notopkg Sans Phoenician
%notopkg Sans Psalter Pahlavi
%notopkg Sans Rejang
%notopkg Sans Runic
%notopkg Sans Samaritan
%notopkg Sans Saurashtra
%notopkg Sans Sharada
%notopkg Sans Shavian
%notopkg -p %{mprio} Sans Sinhala
%notopkg -p %{lprio} Sans Sinhala UI
%notopkg Sans Sora Sompeng
%notopkg Sans Sundanese
%notopkg Sans Syloti Nagri
%notopkg Sans Symbols
%notopkg Sans Symbols2
%notopkg Sans Syriac
%notopkg Sans Syriac Eastern
%notopkg Sans Syriac Estrangela
%notopkg Sans Syriac Western
%notopkg Sans Tagalog
%notopkg Sans Tagbanwa
%notopkg Sans Takri
%notopkg Sans Tai Le
%notopkg Sans Tai Tham
%notopkg Sans Tai Viet
%notopkg Sans Tamil
%notopkg -p %{lprio} Sans Tamil UI
%notopkg Sans Telugu
%notopkg -p %{lprio} Sans Telugu UI
%notopkg Sans Thaana
%notopkg Sans Thai
%notopkg -p %{lprio} Sans Thai UI
%notopkg Sans Tifinagh
%notopkg Sans Tirhuta
%notopkg Sans Ugaritic
%notopkg Sans Vai
%notopkg Sans Warang Citi
%notopkg Sans Yi
%notopkg Serif
%notopkg Serif Ahom
%notopkg Serif Armenian
%notopkg -o sans-balinese Serif Balinese
%notopkg -p %{lprio} Serif Display
%notopkg Serif Ethiopic
%notopkg Serif Georgian
%notopkg Serif Hebrew
%notopkg Serif Khmer
%notopkg Serif Lao
%notopkg Serif Myanmar
%notopkg Serif Tamil Slanted
%notopkg Serif Thai
%notopkg Sans Oriya
%notopkg -p %{lprio} Sans Oriya UI
%notopkg Sans Tibetan
%notopkg Nastaliq Urdu
%notopkg -o mono Sans Mono
%notopkg Serif Bengali
%notopkg Serif Devanagari
%notopkg Serif Gujarati
%notopkg Serif Gurmukhi
%notopkg Serif Kannada
%notopkg Serif Malayalam
%notopkg Serif Sinhala
%notopkg Serif Tamil
%notopkg Serif Telugu
%notopkg Serif Tibetan
%global fontname %{_fontnamevf}
%notopkg -v Sans
%notopkg -v Sans Arabic
%notopkg -v -p %{lprio} Sans Arabic UI
%notopkg -v Sans Armenian
%notopkg -v Sans Bengali
%notopkg -v -p %{lprio} Sans Bengali UI
%notopkg -v Sans Canadian Aboriginal
%notopkg -v Sans Cham
%notopkg -v Sans Cherokee
%notopkg -v Sans Devanagari
%notopkg -v -p %{lprio} Sans Devanagari UI
%notopkg -v -p %{lprio} Sans Display
%notopkg -v Sans Ethiopic
%notopkg -v Sans Georgian
%notopkg -v Sans Hebrew
%notopkg -v Sans Kannada
%notopkg -v -p %{lprio} Sans Kannada UI
%notopkg -v Sans Khmer
%notopkg -v -p %{lprio} Sans Khmer UI
%notopkg -v Sans Lao
%notopkg -v -p %{lprio} Sans Lao UI
%notopkg -v Sans Malayalam
%notopkg -v -p %{lprio} Sans Malayalam UI
%notopkg -v Sans Mono
%notopkg -v Sans Myanmar
%notopkg -v -p %{lprio} Sans Myanmar UI
%notopkg -v -p %{hprio} Sans Sinhala
%notopkg -v Sans Symbols
%notopkg -v Sans Tamil
%notopkg -v -p %{lprio} Sans Tamil UI
%notopkg -v Sans Thaana
%notopkg -v Sans Thai
%notopkg -v -p %{lprio} Sans Thai UI
%notopkg -v Serif
%notopkg -v Serif Armenian
%notopkg -v -p %{lprio} Serif Display
%notopkg -v Serif Ethiopic
%notopkg -v Serif Georgian
%notopkg -v Serif Gujarati
%notopkg -v Serif Gurmukhi
%notopkg -v Serif Hebrew
%notopkg -v Serif Kannada
%notopkg -v Serif Khmer
%notopkg -v Serif Lao
%notopkg -v Serif Myanmar
%notopkg -v Serif Sinhala
%notopkg -v Serif Tamil
%notopkg -v Serif Tamil Slanted
%notopkg -v Serif Thai
%notopkg -v Serif Tibetan
%prep
%setup -q -n noto-fonts-%{commit}
%build
%install
%global fontname %{_fontname}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p unhinted/Noto*.ttf %{buildroot}%{_fontdir}
install -m 0644 -p hinted/Noto*.ttf %{buildroot}%{_fontdir}
%global fontname %{_fontnamevf}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p phaseIII_only/unhinted/variable-ttf/Noto*.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
# Add appstream metadata
install -Dm 0644 -p %{SOURCE200} \
%{buildroot}%{_metainfodir}/%{_fontname}.metainfo.xml
%define fcconfbuild(a:g:l:p:v)\
%define _pname %(echo %{*} | tr "A-Z " "a-z-")\
%define pname %{_pname}%{-v:-vf}\
%define fconf %{-p*}%{!-p:%{-v:%{hprio}}%{!-v:%{mprio}}}-%{fontconf}-%{pname}.conf\
cat<<_EOL_>%{buildroot}%{_fontconfig_templatedir}/%{fconf}\
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
<!DOCTYPE fontconfig SYSTEM \"fonts.dtd\">\
<fontconfig>\
%{-v:<match>\
<test name="family">\
<string>%{-g*}</string>\
</test>\
%{-l:<test name="lang">\
<string>%{-l*}</string>\
</test>}\
<edit name="family" mode="prepend">\
<string>Noto %{*}</string>\
</edit>\
<edit name="fonthashint" mode="append">\
<bool>false</bool>\
</edit>\
</match>}\
%{!-v:<match>\
<test name="family">\
<string>%{-g*}</string>\
</test>\
<edit name="family" mode="prepend">\
<string>Noto %{*}</string>\
</edit>\
<edit name="fonthashint" mode="append">\
<bool>true</bool>\
</edit>\
</match>}\
<alias>\
<family>Noto %{*}</family>\
<default>\
<family>%{-g*}</family>\
</default>\
</alias>\
</fontconfig>\
_EOL_
%fcconfbuild -g fantasy Music
%fcconfbuild -g sans-serif Sans Adlam
%fcconfbuild -g sans-serif Sans Adlam Unjoined
%fcconfbuild -g sans-serif Sans Anatolian Hieroglyphs
%fcconfbuild -g sans-serif Sans Arabic
%fcconfbuild -p %{lprio} -g sans-serif Sans Arabic UI
%fcconfbuild -g sans-serif Sans Avestan
%fcconfbuild -g sans-serif Sans Bassa Vah
%fcconfbuild -g sans-serif Sans Bhaiksuki
%fcconfbuild -g sans-serif Sans Brahmi
%fcconfbuild -g sans-serif Sans Carian
%fcconfbuild -g sans-serif Sans Caucasian Albanian
%fcconfbuild -g sans-serif Sans Chakma
%fcconfbuild -g sans-serif Sans Deseret
%fcconfbuild -p %{lprio} -g sans-serif Sans Display
%fcconfbuild -g sans-serif Sans Duployan
%fcconfbuild -g sans-serif Sans Egyptian Hieroglyphs
%fcconfbuild -g sans-serif Sans Elbasan
%fcconfbuild -g sans-serif Sans Glagolitic
%fcconfbuild -g sans-serif Sans Grantha
%fcconfbuild -g sans-serif Sans Hatran
%fcconfbuild -g sans-serif Sans Imperial Aramaic
%fcconfbuild -g sans-serif Sans Inscriptional Pahlavi
%fcconfbuild -g sans-serif Sans Inscriptional Parthian
%fcconfbuild -g sans-serif Sans Kaithi
%fcconfbuild -g sans-serif Sans Kayah Li
%fcconfbuild -g sans-serif Sans Kharoshthi
%fcconfbuild -g sans-serif Sans Khojki
%fcconfbuild -g sans-serif Sans Khudawadi
%fcconfbuild -g sans-serif Sans Linear A
%fcconfbuild -g sans-serif Sans Linear B
%fcconfbuild -g sans-serif Sans Lycian
%fcconfbuild -g sans-serif Sans Lydian
%fcconfbuild -g sans-serif Sans Mahajani
%fcconfbuild -g sans-serif Sans Mandaic
%fcconfbuild -g sans-serif Sans Manichaean
%fcconfbuild -g sans-serif Sans Marchen
%fcconfbuild -g sans-serif -p %{lprio} Sans Math
%fcconfbuild -g sans-serif Sans Mende Kikakui
%fcconfbuild -g sans-serif Sans Meroitic
%fcconfbuild -g sans-serif Sans Miao
%fcconfbuild -g sans-serif Sans Modi
%fcconfbuild -g monospace Sans Mono
%fcconfbuild -g sans-serif Sans Mro
%fcconfbuild -g sans-serif Sans Multani
%fcconfbuild -g sans-serif Sans Nabataean
%fcconfbuild -g sans-serif Sans Newa
%fcconfbuild -g sans-serif Sans Old Hungarian
%fcconfbuild -g sans-serif Sans Old Italic
%fcconfbuild -g sans-serif Sans Old North Arabian
%fcconfbuild -g sans-serif Sans Old Permic
%fcconfbuild -g sans-serif Sans Old Persian
%fcconfbuild -g sans-serif Sans Old South Arabian
%fcconfbuild -g sans-serif Sans Old Turkic
%fcconfbuild -g sans-serif Sans Osage
%fcconfbuild -g sans-serif Sans Osmanya
%fcconfbuild -g sans-serif Sans Pahawh Hmong
%fcconfbuild -g sans-serif Sans Palmyrene
%fcconfbuild -g sans-serif Sans Pau Cin Hau
%fcconfbuild -g sans-serif Sans Phags Pa
%fcconfbuild -g sans-serif Sans Phoenician
%fcconfbuild -g sans-serif Sans Psalter Pahlavi
%fcconfbuild -g sans-serif Sans Samaritan
%fcconfbuild -g sans-serif Sans Sharada
%fcconfbuild -p %{lprio} -g sans-serif Sans Sinhala UI
%fcconfbuild -g sans-serif Sans Sora Sompeng
%fcconfbuild -g sans-serif Sans Syloti Nagri
%fcconfbuild -g fantasy Sans Symbols
%fcconfbuild -g fantasy Sans Symbols2
%fcconfbuild -g sans-serif Sans Syriac
%fcconfbuild -g sans-serif Sans Tai Le
%fcconfbuild -g sans-serif Sans Tai Tham
%fcconfbuild -g sans-serif Sans Tai Viet
%fcconfbuild -g sans-serif Sans Takri
%fcconfbuild -g sans-serif Sans Tirhuta
%fcconfbuild -g sans-serif Sans Ugaritic
%fcconfbuild -g sans-serif Sans Warang Citi
%fcconfbuild -g sans-serif Sans Yi
%fcconfbuild -g sans-serif Sans
%fcconfbuild -g serif Serif Ahom
%fcconfbuild -p %{lprio} -g serif Serif Display
%fcconfbuild -g serif Serif Ethiopic
%fcconfbuild -g serif Serif Gurmukhi
%fcconfbuild -g serif Serif Hebrew
%fcconfbuild -g serif Serif Myanmar
%fcconfbuild -g serif Serif Sinhala
%fcconfbuild -g serif Serif Tamil Slanted
%fcconfbuild -g serif Serif Tibetan
%fcconfbuild -g serif Serif
%fcconfbuild -v -g sans-serif Sans
%fcconfbuild -v -g sans-serif -l ar Sans Arabic
%fcconfbuild -v -g sans-serif -l ar -p %{lprio} Sans Arabic UI
%fcconfbuild -v -g sans-serif -l hy Sans Armenian
%fcconfbuild -v -g sans-serif -l bn Sans Bengali
%fcconfbuild -v -g sans-serif -l bn -p %{lprio} Sans Bengali UI
%fcconfbuild -v -g sans-serif Sans Canadian Aboriginal
%fcconfbuild -v -g sans-serif Sans Cham
%fcconfbuild -v -g sans-serif -l chr Sans Cherokee
%fcconfbuild -v -g sans-serif -l hi Sans Devanagari
%fcconfbuild -v -g sans-serif -l hi -p %{lprio} Sans Devanagari UI
%fcconfbuild -v -g sans-serif -p %{lprio} Sans Display
%fcconfbuild -v -g sans-serif Sans Ethiopic
%fcconfbuild -v -g sans-serif -l ka Sans Georgian
%fcconfbuild -v -g sans-serif -l he Sans Hebrew
%fcconfbuild -v -g sans-serif -l kn Sans Kannada
%fcconfbuild -v -g sans-serif -l kn -p %{lprio} Sans Kannada UI
%fcconfbuild -v -g sans-serif -l km Sans Khmer
%fcconfbuild -v -g sans-serif -l km -p %{lprio} Sans Khmer UI
%fcconfbuild -v -g sans-serif -l lo Sans Lao
%fcconfbuild -v -g sans-serif -l lo -p %{lprio} Sans Lao UI
%fcconfbuild -v -g sans-serif -l ml Sans Malayalam
%fcconfbuild -v -g sans-serif -l ml -p %{lprio} Sans Malayalam UI
%fcconfbuild -v -g monospace Sans Mono
%fcconfbuild -v -g sans-serif Sans Myanmar
%fcconfbuild -v -g sans-serif -p %{lprio} Sans Myanmar UI
%fcconfbuild -v -g sans-serif -l si -p %{hprio} Sans Sinhala
%fcconfbuild -v -g fantasy Sans Symbols
%fcconfbuild -v -g sans-serif -l ta Sans Tamil
%fcconfbuild -v -g sans-serif -l ta -p %{lprio} Sans Tamil UI
%fcconfbuild -v -g sans-serif Sans Thaana
%fcconfbuild -v -g sans-serif -l th Sans Thai
%fcconfbuild -v -g sans-serif -l th -p %{lprio} Sans Thai UI
%fcconfbuild -v -g serif Serif
%fcconfbuild -v -g serif -l hy Serif Armenian
%fcconfbuild -v -g serif -p %{lprio} Serif Display
%fcconfbuild -v -g serif Serif Ethiopic
%fcconfbuild -v -g serif -l ka Serif Georgian
%fcconfbuild -v -g serif -l gu Serif Gujarati
%fcconfbuild -v -g serif -l pa Serif Gurmukhi
%fcconfbuild -v -g serif -l he Serif Hebrew
%fcconfbuild -v -g serif -l kn Serif Kannada
%fcconfbuild -v -g serif -l km Serif Khmer
%fcconfbuild -v -g serif -l lo Serif Lao
%fcconfbuild -v -g serif Serif Myanmar
%fcconfbuild -v -g serif -l si Serif Sinhala
%fcconfbuild -v -g serif -l ta Serif Tamil
%fcconfbuild -v -g serif -l ta Serif Tamil Slanted
%fcconfbuild -v -g serif -l th Serif Thai
%fcconfbuild -v -g serif -l bo Serif Tibetan
for f in \
kufi-arabic music naskh-arabic naskh-arabic-ui \
sans sans-adlam sans-adlam-unjoined sans-anatolian-hieroglyphs \
sans-arabic sans-arabic-ui \
sans-armenian sans-avestan sans-bamum sans-bassa-vah \
sans-batak sans-bhaiksuki sans-bengali sans-bengali-ui sans-brahmi \
sans-buginese sans-buhid sans-canadian-aboriginal sans-caucasian-albanian \
sans-carian \
sans-chakma sans-cham sans-cherokee sans-coptic sans-cuneiform \
sans-cypriot sans-deseret sans-devanagari sans-devanagari-ui \
sans-duployan \
sans-egyptian-hieroglyphs sans-elbasan sans-ethiopic sans-georgian \
sans-glagolitic sans-gothic sans-grantha sans-gujarati sans-gujarati-ui \
sans-gurmukhi sans-gurmukhi-ui sans-hanunoo sans-hatran sans-hebrew \
sans-imperial-aramaic sans-inscriptional-pahlavi \
sans-inscriptional-parthian sans-javanese \
sans-kaithi sans-kannada sans-kannada-ui sans-kayah-li \
sans-kharoshthi sans-khmer sans-khmer-ui sans-khojki sans-khudawadi sans-lao \
sans-lao-ui sans-lepcha sans-limbu sans-linear-a sans-linear-b sans-lisu \
sans-lycian sans-lydian sans-mahajani sans-malayalam sans-malayalam-ui \
sans-mandaic sans-manichaean sans-marchen sans-meetei-mayek sans-math \
sans-mende-kikakui \
sans-meroitic sans-miao sans-modi sans-mongolian sans-mro sans-multani \
sans-myanmar \
sans-myanmar-ui sans-nabataean sans-new-tai-lue sans-newa sans-nko sans-ogham \
sans-ol-chiki sans-old-hungarian sans-old-italic sans-old-north-arabian \
sans-old-permic sans-old-persian \
sans-old-south-arabian sans-old-turkic sans-osage sans-osmanya \
sans-pahawh-hmong sans-palmyrene sans-pau-cin-hau \
sans-phags-pa sans-phoenician sans-psalter-pahlavi sans-rejang sans-runic \
sans-samaritan sans-saurashtra sans-sharada sans-shavian sans-sinhala sans-sinhala-ui \
sans-sora-sompeng \
sans-sundanese sans-syloti-nagri sans-symbols sans-symbols2 sans-syriac sans-syriac-eastern \
sans-syriac-estrangela sans-syriac-western sans-tagalog \
sans-tagbanwa sans-takri sans-tai-le sans-tai-tham sans-tai-viet \
sans-tamil sans-tamil-ui sans-telugu sans-telugu-ui \
sans-thaana sans-thai sans-thai-ui sans-tifinagh sans-tirhuta \
sans-ugaritic sans-display sans-vai sans-warang-citi sans-yi \
serif serif-ahom serif-armenian serif-display serif-ethiopic serif-georgian \
serif-gurmukhi \
serif-hebrew serif-khmer serif-lao serif-myanmar serif-sinhala serif-thai \
sans-oriya sans-oriya-ui sans-tibetan nastaliq-urdu sans-mono \
serif-balinese serif-bengali serif-devanagari serif-gujarati serif-kannada \
serif-malayalam serif-tamil serif-tamil-slanted serif-telugu serif-tibetan \
sans-vf sans-arabic-vf sans-arabic-ui-vf sans-armenian-vf sans-bengali-vf \
sans-bengali-ui-vf sans-canadian-aboriginal-vf sans-cham-vf sans-cherokee-vf \
sans-devanagari-vf sans-devanagari-ui-vf sans-display-vf sans-ethiopic-vf \
sans-georgian-vf sans-hebrew-vf sans-kannada-vf sans-kannada-ui-vf \
sans-khmer-vf sans-khmer-ui-vf sans-lao-vf sans-lao-ui-vf sans-malayalam-vf \
sans-malayalam-ui-vf sans-mono-vf sans-myanmar-vf sans-myanmar-ui-vf \
sans-sinhala-vf sans-symbols-vf sans-tamil-vf sans-tamil-ui-vf \
sans-thaana-vf sans-thai-vf sans-thai-ui-vf \
serif-vf serif-armenian-vf serif-display-vf serif-ethiopic-vf serif-georgian-vf \
serif-gujarati-vf serif-gurmukhi-vf serif-hebrew-vf serif-kannada-vf \
serif-khmer-vf serif-lao-vf serif-myanmar-vf serif-sinhala-vf \
serif-tamil-vf serif-tamil-slanted-vf serif-thai-vf serif-tibetan-vf \
; do
fconf=$(basename -a %{_sourcedir}/*-%{fontconf}-$f.conf)
ifconf=$(basename -a %{buildroot}%{_fontconfig_templatedir}/*-%{fontconf}-$f.conf)
if [ "$(echo $fconf | wc -w)" -ne 1 -o "$(echo $ifconf | wc -w)" -ne 1 ]; then
echo "Did not find unique \*-%{fontconf}-$f.conf file"
exit 1
fi
if [ -f %{_sourcedir}/${fconf} ]; then
install -m 0644 -p %{_sourcedir}/${fconf} \
%{buildroot}%{_fontconfig_templatedir}/${fconf}
else
fconf=$ifconf
fi
ln -s %{_fontconfig_templatedir}/${fconf} \
%{buildroot}%{_fontconfig_confdir}/${fconf}
meta=%{_fontname}-$f.metainfo.xml
echo '<?xml version="1.0" encoding="UTF-8"?>' > $meta
echo '<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->' >> $meta
echo '<component type="font">' >> $meta
echo " <id>google-noto-$f</id>" >> $meta
echo ' <metadata_license>CC-BY-3.0</metadata_license>' >> $meta
echo ' <extends>google-noto</extends>' >> $meta
echo '</component>' >> $meta
install -Dm 0644 -p %{_fontname}-$f.metainfo.xml \
%{buildroot}%{_metainfodir}/%{_fontname}-$f.metainfo.xml
done
%files common
%license LICENSE
%doc README.md FAQ.md
%{_metainfodir}/%{_fontname}.metainfo.xml
%changelog
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20181223-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20181223-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Aug 12 2019 Akira TAGOH <tagoh@redhat.com> - 20181223-6
- Make variable fonts priority more than non variable fonts. (#1739976)
* Fri Jul 26 2019 Parag Nemade <pnemade AT redhat DOT com> - 20181223-5
- Resolves:rh#1554988 - google-noto-sans-gurmkukhi-fonts default for pa_IN locale
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20181223-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jun 4 2019 Akira TAGOH <tagoh@redhat.com> - 20181223-3
- Install metainfo files under %%{_metainfodir}.
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20181223-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Dec 27 2018 Akira TAGOH <tagoh@redhat.com> - 20181223-1
- Updates to 20181223.
- Add new sub-packages for variable fonts.
* Mon Dec 17 2018 Akira TAGOH <tagoh@redhat.com> - 20181130-2
- Make Display and UI fonts lower priority.
- Add more languages to google-noto-*-devanagari.conf, google-noto-sans-ethiopic.conf,
and google-noto-sans-hebrew.conf
* Fri Dec 7 2018 Akira TAGOH <tagoh@redhat.com> - 20181130-1
- Updates to 20181130.
- Noto Sans Balinese is now Noto Serif Balinese.
- Add new sub-packages: google-noto-music-fonts,
google-noto-sans-bassa-vah-fonts, google-noto-sans-bhaiksuki-fonts,
google-noto-sans-caucasian-albanian-fonts, google-noto-sans-duployan-fonts,
google-noto-sans-elbasan-fonts, google-noto-sans-grantha-fonts,
google-noto-sans-hatran-fonts, google-noto-sans-khojki-fonts,
google-noto-sans-khudawadi-fonts, google-noto-sans-linear-a-fonts,
google-noto-sans-mahajani-fonts, google-noto-sans-manichaean-fonts,
google-noto-sans-marchen-fonts, google-noto-sans-mende-kikakui-fonts,
google-noto-sans-meroitic-fonts, google-noto-sans-miao-fonts,
google-noto-sans-modi-fonts, google-noto-sans-mro-fonts,
google-noto-sans-multani-fonts, google-noto-sans-nabataean-fonts,
google-noto-sans-newa-fonts, google-noto-sans-old-hungarian-fonts,
google-noto-sans-old-north-arabian-fonts, google-noto-sans-old-permic-fonts,
google-noto-sans-pahawh-hmong-fonts, google-noto-sans-palmyrene-fonts,
google-noto-sans-pau-cin-hau-fonts, google-noto-sans-psalter-pahlavi-fonts,
google-noto-sans-sharada-fonts, google-noto-sans-sora-sompeng-fonts,
google-noto-sans-syriac-fonts, google-noto-sans-takri-fonts,
google-noto-sans-tirhuta-fonts, google-noto-sans-warang-citi-fonts,
google-noto-serif-ahom-fonts, google-noto-serif-gurmukhi-fonts,
google-noto-serif-tamil-slanted-fonts, google-noto-serif-tibetan-fonts
* Fri Sep 21 2018 Akira TAGOH <tagoh@redhat.com> - 20180905-1
- Updates to 20180905.
- Remove Group tag.
- Don't call fc-cache in scriptlets. this isn't needed anymore.
- Drop BR: fontforge.
- Generate fontconfig config files in macro for simple one.
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Apr 5 2018 Jens Petersen <petersen@redhat.com> - 20161022-7
- change the Sinhala fontconfig priority to 65 (#1450802)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Dec 11 2017 Jens Petersen <petersen@redhat.com> - 20161022-5
- use _font_pkg
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jul 5 2017 Jens Petersen <petersen@redhat.com> - 20161022-3
- add a fontconfig priority option to the notopkg macro,
which allows overriding the default 66 priority
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Nov 07 2016 Pravin Satpute <psatpute@redhat.com> - 20161022-1
- Resolves #1321685 - Added Noto Mono font.
- License changed from ASL 2.0 to OFL.
- New package addition: Mono, Serif Bengali, Serif Devanagari
- Serif Gujarari, Serif Malayalam, Serif Tamil and Serif Telugu.
* Wed Aug 24 2016 Pravin Satpute <psatpute@redhat.com> - 20150929-2
- Resolves #1368772 - Fixes issue with LICENSE file.
* Thu Apr 28 2016 Pravin Satpute <psatpute@redhat.com> - 20150929-1
- Resolves #1269404 - Update to new git release 20150929
- Upstream divided google-noto-fonts package into noto-cjk-font and noto-emoji
- Removed packages: google-noto-color-emoji-fonts, google-noto-sans (cjk-fonts,
- japanese-fonts, simplified-chinese-fonts and traditional-chinese-fonts)
- Replaced by google-noto-cjk-fonts and google-noto-emoji-fonts
- New subpackages - google-noto-nastaliq-urdu-fonts and google-noto-sans-tibetan-fonts
* Thu Feb 04 2016 Parag Nemade <pnemade AT redhat DOT com> - 20150417-4
- Fix for python2 fonttools
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20150417-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150417-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Apr 17 2015 Pravin Satpute <psatpute@redhat.com> - 20150417-1
- Updating to git snapshot d47480343178.
- Remove Thaana and Oriya from under-development list.
- Add Syriac requirements from Unicode Core Specification.
* Fri Mar 27 2015 Pravin Satpute <psatpute@redhat.com> - 20150325-1
- Updating to git snapshot 762640379a51.
- Added 2 new packages Oriya and Oriya-UI.
- Update Hebrew, Georgian, and Ethiopic fonts.
- Fix cmap of U+06F7 to Urdu form of digit 7.
* Tue Jan 13 2015 Pravin Satpute <psatpute@redhat.com> - 20141117-6
- Resolves #1162341: Packaged Noto Color Emoji
* Mon Dec 15 2014 Jens Petersen <petersen@redhat.com> - 20141117-5
- improve generated font subpackage descriptions
- it is Hanunoo not Hanuno!
- specify font filenames more precisely
* Mon Dec 15 2014 Jens Petersen <petersen@redhat.com> - 20141117-4
- add obsoletes to cover the change of package names for Hanuno, Linear B,
and Meetei Mayek
* Tue Dec 2 2014 Jens Petersen <petersen@redhat.com> - 20141117-3
- create the fonts subpackages with a macro
* Fri Nov 21 2014 Jens Petersen <petersen@redhat.com> - 20141117-2
- move cjk fonts fontconfig priority from 65-0 to 66
- generate the appinfo metainfo for the subpackages
- use a single for-loop to install the font config and appdata files
- move parent appinfo metainfo to common (Parag Nemade)
* Thu Nov 20 2014 Jens Petersen <petersen@redhat.com> - 20141117-1
- update to latest git (aae16d0cd626)
- package Japanese, Korean, and CJK fonts
- add Thaana font
- add common subpackage for license and doc files
- order spec subpackages lexically
* Wed Nov 19 2014 Peng Wu <pwu@redhat.com> - 20141001-5
- Rename Chinese sub-packages
* Wed Nov 12 2014 Peng Wu <pwu@redhat.com> - 20141001-4
- Add Chinese fonts
* Tue Nov 11 2014 Parag Nemade <pnemade AT redhat DOT com> - 20141001-3
- Add metainfo file to show this font in gnome-software
* Mon Nov 03 2014 Pravin Satpute <psatpute@redhat.com> - 20141001-2
- Resolves #1159562: Typo in fontconfig file
* Wed Oct 01 2014 Pravin Satpute <psatpute@redhat.com> - 20141001-1
- Google stops release tarball. Zip file derived from git Download zip.
- 45 new packages added as follows.
- kufi-arabic-fonts, naskh-arabic-fonts, naskh-arabic-ui-fonts, sans-balinese-fonts,
- sans-bamum-fonts, sans-batak-fonts, sans-buginese-fonts, sans-buhid-fonts,
- sans-canadian-aboriginal-fonts, sans-cham-fonts, sans-cuneiform-fonts, sans-cypriot-fonts,
- sans-gothic-fonts, sans-gurmukhi-fonts, sans-gurmukhi-ui-fonts,
- sans-inscriptional-pahlavi-fonts, sans-inscriptional-parthian-fonts, sans-javanese-fonts,
- sans-lepcha-fonts, sans-limbu-fonts, sans-linearb-fonts, sans-mongolian-fonts,
- sans-myanmar-fonts, sans-myanmar-ui-fonts, sans-new-tai-lue-fonts, sans-ogham-fonts,
- sans-ol-chiki-fonts, sans-old-italic-fonts, sans-old-persian-fonts, sans-phags-pa-fonts,
- sans-rejang-fonts, sans-runic-fonts, sans-samaritan-fonts, sans-saurashtra-fonts,
- sans-sinhala-fonts, sans-sundanese-fonts, sans-syloti-nagri-fonts, sans-syriac-eastern-fonts,
- sans-syriac-estrangela-fonts, sans-syriac-western-fonts, sans-tagbanwa-fonts,
- sans-tai-le-fonts, sans-tifinagh-fonts, sans-yi-fonts
- Resolves #1148413
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130807-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Aug 14 2013 Pravin Satpute <psatpute@redhat.com> - 20130807-1
- Upstream new release of 20130807 tarball.
- Packages Non Hinted upstream tarball.
- This pulled fonts for number of missing Unicode scripts in Fedora
* Tue Jul 16 2013 Pravin Satpute <psatpute@redhat.com> - 20130624-1
- Resolved #984459 :- Upstream new release.
- Added new package google-noto-serif-khmer-fonts
* Mon Jun 24 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-5
- Resolved #971886 :- Georgian Serif fontconfig file error
* Mon Jun 10 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-4
- Resolved #971886 :- Georgian fontconfig file error
* Mon May 06 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-3
- Initial import
- Updated spec file
* Fri Apr 19 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-2
- Updated package as per 3rd comment on review request #953859
* Fri Apr 19 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-1
- Initial packaging

18
google-noto.metainfo.xml Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>google-noto</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>Noto</name>
<summary>Hinted and Non Hinted open type fonts for Unicode scripts</summary>
<description>
<p>
Noto fonts aims to remove tofu from web by providing fonts for all
Unicode supported script. Its design goal is to achieve visual harmonization
between multiple scripts. Noto family supports almost all script available
in Unicode.
</p>
</description>
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
<url type="homepage">https://code.google.com/p/noto</url>
</component>

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (noto-fonts-a5e21f60336d8b9b76a0f230d07dd59e12d6da80.zip) = 82f8a78a7c5e848d6e857ebe6869ab89c9c414ce9c6668a3a2edccbf11d6cb293d6e5649ff3c373771802884af5b95b7f0ebdf8b904bfb021a9f4e2586b194b9

View File

@ -0,0 +1,67 @@
# Ansible role for tests using fontconfig
Put this role in your `tests.yml` playbook. The playbook will first install
package dependencies listed on playbook on your localhost, then it will proceed
to run testing. You can redefine the following variables:
* **artifacts**: An artifacts directory on localhost to store logs
* **remote_artifacts**: The directory on the system under test where the logs
are stored. Note: if this variable is left undefined, it will default to
`/tmp/artifacts`
* **required_packages**: A list of prerequisite packages required by tests.
Please note that for Atomic Host, additional packages will be installed
using the `rpm-ostree` command which is affecting the test subject (it's
similar as rebuilding an rpm package to be tested) so this should be used
with caution on only when necessary.
* **path_prefix**: The directory on the system where fonts are installed.
please use one in coverage sub-parameter if having different path_prefix
per sub-packages.
* **package**: The package name to test. this is used to find out fontconfig
config file. please use one in families sub-parameter if having different
config files per sub-packages.
* **coverage**: A list of languages for language coverage tests.
* **families**: A list of family test cases.
## Language coverage test parameters
Supporting two types of formats. one is a simple list of languages:
coverage:
- en
- fr
Another one is a dictionary that has a language as a key and values as parameters:
coverage:
en:
...
fr:
...
You can redefine the following variables for dictionary format:
* **exclude**: A list of font file names to exclude on this testing. this is
useful to avoid unexpected failures on iterating tests when a package has
multiple font files and has different coverages but you need to prevent
testing for few fonts which has different coverages to them.
Please note that the file name is relative to `path_prefix` parameter. also
good to consider using `include` if non-targeted files is more than targeted.
* **include**: A list of font file names to include on this testing. this is
useful to avoid unexpected failures on iterating tests when a pcakge has
multiple font files and has different coverages but you need to prevent
testing for few fonts which has different coverages to them.
Please note that the file name is relative to `path_prefix` parameter. also
good to consider using `exclude` if targeted files is more than non-targeted.
* **name**: The name to store logs. the test script is trying to make an unique
file names to store logs but not perfectly working in some cases. this is
optional parameter to make it unique by yourself.
* **path_prefix**: A list of directory names where fonts are installed on system.
## Family test parameters
* **lang**: A language to test family name for.
* **alias**: An alias name to test.
* **family**: A family name to test, which is supposed to be assinged to the alias.
* **package**: The package name to test. this is used to find out fontconfig
config file. this is optional. if not specified here, global `package`
parameter will be used.

View File

@ -0,0 +1,7 @@
---
role_pkgs_req:
- fontconfig
- fontconfig-devel
- pkg-config
- rsync

View File

@ -0,0 +1,162 @@
#! /bin/bash -efu
debug() {
if [ -n "$DEBUG" ]; then
echo "$*" >&2
fi
}
msg_usage() {
cat <<_EOF_
Run family test.
Usage:
$PROG <options>
Options:
-h, --help Display this help and exit
-v, --verbose Turn on debug
-l, --lang=LANG Test LANG language coverage (default: en)
-f, --family=FILE Set a family name supposed to be assigned for alias.
-g, --alias=STR Set an alias name. (default: sans-serif)
-a, --artifactsdir=DIR Set environment dir to store artifacts
-k, --package=NAME Set a package name for fonts.
_EOF_
}
PROG="${PROG:-${0##*/}}"
DEBUG="${DEBUG:-}"
OPT_LANG="${OPT_LANG:-en}"
OPT_FAMILY="${OPT_FAMILY:-}"
OPT_ARTIFACTS_DIR="${OPT_ARTIFACTS_DIR:-}"
OPT_ALIAS="${OPT_ALIAS:-sans-serif}"
OPT_PACKAGE="${OPT_PACKAGE:-}"
opt=$(getopt -n "$0" --options "hvl:f:t:a:g:k:" --longoptions "help,verbose,lang:,family:,test:,artifactsdir:,alias:,package:" -- "$@")
eval set -- "$opt"
while [[ $# -gt 0 ]]; do
case "$1" in
-k|--package)
OPT_PACKAGE="$2"
shift 2
;;
-g|--alias)
OPT_ALIAS="$2"
shift 2
;;
-a|--artifactsdir)
OPT_ARTIFACTS_DIR="$2"
shift 2
;;
-f|--family)
OPT_FAMILY="$2"
shift 2
;;
-l|--lang)
OPT_LANG="$2"
shift 2
;;
-v|--verbose)
DEBUG="-v"
shift
;;
-h|--help)
msg_usage
exit 0
;;
--)
shift
;;
*)
msg_usage
exit 1
esac
done
if [ -z "$OPT_ARTIFACTS_DIR" ] || [ -z "$OPT_LANG" ] || [ -z "$OPT_FAMILY" ]; then
echo "Use: $PROG -h for help."
exit 0
fi
debug "Alias: $OPT_ALIAS"
debug "Family: $OPT_FAMILY"
debug "Lang: $OPT_LANG"
debug "Artifacts dir: $OPT_ARTIFACTS_DIR"
debug "Package name: $OPT_PACKAGE"
STR_TEST_DASHED=$(echo "${OPT_PACKAGE}_${OPT_ALIAS}_${OPT_LANG}" | sed -e 's/\//-/g' -e 's/ /-/g')
debug "Log file: $STR_TEST_DASHED.log"
clean_exit() {
rc=$?;
trap - SIGINT SIGTERM SIGABRT EXIT
echo "Run test $OPT_ALIAS: done. Test's exit code: $rc"
for pid in $(ps -o pid --no-headers --ppid $$); do
if [ -n "$(ps -p $pid -o pid=)" ]; then
kill -s HUP $pid
fi
done
local log_file_name="$STR_TEST_DASHED.log"
local log_file_path="$OPT_ARTIFACTS_DIR/$log_file_name"
local status
if [[ $rc -eq 127 ]]; then
status="ERROR"
elif grep -q "RESULT: WARN" "$log_file_path"; then
status="ERROR"
elif grep -q "RESULT: FAIL" "$log_file_path"; then
status="FAIL"
elif grep -q "RESULT: PASS" "$log_file_path"; then
status="PASS"
elif grep -q "FAIL" "$log_file_path"; then
status="FAIL"
elif grep -q "PASS" "$log_file_path"; then
status="PASS"
else
status="ERROR"
fi
echo "$status $OPT_ALIAS" >> "$OPT_ARTIFACTS_DIR/test.log"
mv "$log_file_path" "$OPT_ARTIFACTS_DIR/${status}-${log_file_name}"
local results="$OPT_ARTIFACTS_DIR/results.yml"
local result=$(echo $status | tr '[:upper:]' '[:lower:]')
test -f "$results" || echo 'results:' > "$results"
printf '%s\n' '' \
"- test: $OPT_ALIAS" \
" result: $result" \
" logs:" \
" - ${status}_${log_file_name}" \
>> "$results"
exit 0
}
trap clean_exit SIGINT SIGTERM SIGABRT EXIT
cachedir=`pkg-config --variable cachedir fontconfig`
tmpconfd=`mktemp --tmpdir -d fontsci.XXXXXXXX`
conf=$(for i in `rpm -ql $OPT_PACKAGE | grep conf.d`; do
echo "<include>$i</include>"
done)
cat <<_EOF_> $tmpconfd/fonts.conf
<fontconfig>
<dir>/usr/share/fonts</dir>
$conf
<cachedir>$cachedir</cachedir>
</fontconfig>
_EOF_
debug "Config: `cat $tmpconfd/fonts.conf`"
mkdir -p "$OPT_ARTIFACTS_DIR"
export OUTPUTFILE="$(realpath "$OPT_ARTIFACTS_DIR")/$STR_TEST_DASHED-out.log"
logfile="$OPT_ARTIFACTS_DIR/$STR_TEST_DASHED.log"
logfile="$(realpath "$logfile")"
exec > >(tee -a "$logfile") 2>&1
debug "Check family assignment"
res=`FONTCONFIG_FILE=$tmpconfd/fonts.conf fc-match -f "%{family[0]}" :family=$OPT_ALIAS:lang=$OPT_LANG`
ret=0
if [ "x$res" = "x$OPT_FAMILY" ]; then
echo "RESULT: PASS: $OPT_FAMILY was assigned to $OPT_ALIAS as expected"
else
echo "RESULT: FAIL: $OPT_FAMILY wasn't assigned to $OPT_ALIAS (actual result: $res)"
ret=1
fi
rm -rf $tmpconfd
exit $ret

View File

@ -0,0 +1,233 @@
#! /bin/bash -efu
debug() {
if [ -n "$DEBUG" ]; then
echo "$*" >&2
fi
}
msg_usage() {
cat <<_EOF_
Run language coverage test.
Usage:
$PROG <options>
Options:
-h, --help Display this help and exit
-v, --verbose Turn on debug
-l, --lang=LANG Test LANG language coverage (default: en)
-p, --path=PATH Test fonts on PATH
-n, --name=NAME Set NAME to store a log file.
-a, --artifactsdir=DIR test environment dir to store artifacts
-e, --exclude=FILE Exclude FILE to check.
-i, --include=FILE Include File to check.
_EOF_
}
PROG="${PROG:-${0##*/}}"
DEBUG="${DEBUG:-}"
OPT_LANG="${OPT_LANG:-en}"
OPT_PATH=()
OPT_ARTIFACTS_DIR="${OPT_ARTIFACTS_DIR:-}"
OPT_EXCLUDE=()
OPT_INCLUDE=()
OPT_NAME="${OPT_NAME:-}"
opt=$(getopt -n "$0" --options "hvl:p:n:a:e:i:" --longoptions "help,verbose,lang:,path:,name:,artifactsdir:,exclude:,include:" -- "$@")
eval set -- "$opt"
while [[ $# -gt 0 ]]; do
case "$1" in
-n|--name)
OPT_NAME="$2"
shift 2
;;
-i|--include)
OPT_INCLUDE+=("$2")
shift 2
;;
-e|--exclude)
OPT_EXCLUDE+=("$2")
shift 2
;;
-a|--artifactsdir)
OPT_ARTIFACTS_DIR="$2"
shift 2
;;
-p|--path)
OPT_PATH+=("$2")
shift 2
;;
-l|--lang)
OPT_LANG="$2"
shift 2
;;
-v|--verbose)
DEBUG="-v"
shift
;;
-h|--help)
msg_usage
exit 0
;;
--)
shift
;;
*)
msg_usage
exit 1
esac
done
if [ -z "$OPT_ARTIFACTS_DIR" ] || [ -z "$OPT_LANG" ] || [ -z "$OPT_PATH" ]; then
echo "Use: $PROG -h for help."
exit 0
fi
STR_TEST_DASHED=$(echo "${OPT_NAME:-$OPT_LANG}" | sed -e 's/\//-/g')
clean_exit() {
rc=$?;
trap - SIGINT SIGTERM SIGABRT EXIT
echo "Run test $OPT_LANG: done. Test's exit code: $rc"
for pid in $(ps -o pid --no-headers --ppid $$); do
if [ -n "$(ps -p $pid -o pid=)" ]; then
kill -s HUP $pid
fi
done
local log_file_name="$STR_TEST_DASHED.log"
local log_file_path="$OPT_ARTIFACTS_DIR/$log_file_name"
local status
if [[ $rc -eq 127 ]]; then
status="ERROR"
elif grep -q "RESULT: WARN" "$log_file_path"; then
status="ERROR"
elif grep -q "RESULT: FAIL" "$log_file_path"; then
status="FAIL"
elif grep -q "RESULT: PASS" "$log_file_path"; then
status="PASS"
elif grep -q "WARN" "$log_file_path"; then
status="ERROR"
elif grep -q "FAIL" "$log_file_path"; then
status="FAIL"
elif grep -q "PASS" "$log_file_path"; then
status="PASS"
else
status="ERROR"
fi
echo "$status $OPT_LANG" >> "$OPT_ARTIFACTS_DIR/test.log"
mv "$log_file_path" "$OPT_ARTIFACTS_DIR/${status}-${log_file_name}"
local results="$OPT_ARTIFACTS_DIR/results.yml"
local result=$(echo $status | tr '[:upper:]' '[:lower:]')
test -f "$results" || echo 'results:' > "$results"
printf '%s\n' '' \
"- test: $OPT_LANG" \
" result: $result" \
" logs:" \
" - ${status}_${log_file_name}" \
>> "$results"
exit 0
}
trap clean_exit SIGINT SIGTERM SIGABRT EXIT
mkdir -p "$OPT_ARTIFACTS_DIR"
export OUTPUTFILE="$(realpath "$OPT_ARTIFACTS_DIR")/$STR_TEST_DASHED-out.log"
logfile="$OPT_ARTIFACTS_DIR/$STR_TEST_DASHED.log"
logfile="$(realpath "$logfile")"
exec > >(tee -a "$logfile") 2>&1
expand_regex() {
local p ret=()
local regex="$1"
shift
debug "Expanding $regex"
for p; do
set +f
debug "$p: $regex"
(cd $p;
local x=$(find -regextype posix-egrep -regex "./$regex" -print|sed -e 's,^\./,,g')
debug "$x"
ret+=($x)
set -f
echo -n ${ret[@]}
)
done
echo -n ${ret[@]}
}
iv=()
ev=()
x=()
for p in ${OPT_INCLUDE[@]}; do
x=$(expand_regex $p ${OPT_PATH[@]})
if [ "x$x" == "x" ]; then
echo "RESULT: WARN: No matches on \"$p\". maybe typo or something changed?"
continue
fi
iv=("${iv[@]}" "${x[@]}")
done
for p in ${OPT_EXCLUDE[@]}; do
x=$(expand_regex $p ${OPT_PATH[@]})
if [ "x$x" == "x" ]; then
echo "RESULT: WARN: No matches on \"$p\". maybe typo or something changed?"
continue
fi
ev=("${ev[@]}" "${x[@]}")
done
OPT_EXCLUDE=(${ev[@]})
OPT_INCLUDE=(${iv[@]})
debug "Path: ${OPT_PATH[@]}"
debug "Lang: $OPT_LANG"
debug "Artifacts dir: $OPT_ARTIFACTS_DIR"
debug "Exclude: ${#OPT_EXCLUDE[@]}: ${OPT_EXCLUDE[@]}"
debug "Include: ${#OPT_INCLUDE[@]}: ${OPT_INCLUDE[@]}"
contains() {
local e match="$1"
shift
for e; do [[ "$e" == "$match" ]] && return 1; done
return 0
}
debug "Check language coverage"
ret=0
set +f
for p in ${OPT_PATH[@]}; do
for i in `find $p -regex '.*/*\.\(t1\)?\(ttf\)?\(otf\)?\(ttc\)?\(pcf.*\)?\(pfa\)?'`; do
set -f
debug "$i"
if test -f $i; then
n=`basename $i`
set +e
contains "$n" "${OPT_EXCLUDE[@]}"
ret=$?
set -e
if [ $ret -eq 1 ]; then
debug "ignoring $i"
continue
fi
if [ ${#OPT_INCLUDE[@]} -ne 0 ]; then
set +e
contains "$n" "${OPT_INCLUDE[@]}"
ret=$?
set -e
if [ $ret -eq 0 ]; then
debug "$i isn't targeted file"
continue
fi
NOT_MATCHED=("${NOT_MATCHED[@]/$n}")
fi
debug " $i"
res=`fc-validate -l $OPT_LANG $i || :`
if echo $res | grep -q Missing; then
echo "RESULT: FAIL: $i doesn't satisfy $OPT_LANG language coverage."
ret=1
else
echo "RESULT: PASS: $i satisfy $OPT_LANG language coverage."
fi
fi
done
done
exit $ret

View File

@ -0,0 +1,4 @@
---
dependencies:
- role: str-common-init

View File

@ -0,0 +1,52 @@
---
- block:
- name: language coverage
environment:
LANG: "en_US.UTF-8"
script: run-lang-coverage-test --lang "{{ item }}" {% if coverage.values is not defined or coverage[item].path_prefix is not defined %} --path {{ path_prefix }} {% else %} {{ '--path "' + (coverage[item].path_prefix | join('" --path "')) + '"' }} {% endif %} --artifactsdir "{{ remote_artifacts }}" {{ "" if coverage.values is not defined or coverage[item].name is not defined else "--name " + coverage[item].name }} {{ "" if coverage.values is not defined or coverage[item].exclude is not defined else '--exclude "' + (coverage[item].exclude | join('" --exclude "')) + '"'}} {{ "" if coverage.values is not defined or coverage[item].include is not defined else '--include "' + (coverage[item].include | join('" --include "')) + '"'}}
with_items:
- "{{ coverage if coverage.keys is not defined else coverage.keys()|list }}"
- name: generic family assignment
environment:
LANG: "en_US.UTF-8"
when: families is defined
script: run-family-test --lang {{ item.lang }} --family '{{ item.family }}' --alias {{ item.alias }} --artifactsdir {{ remote_artifacts }} --package {{ package if item.package is not defined else item.package }}
with_items:
- "{{ families }}"
- name: Collect all of failures into one file
shell: |
grep -v PASS "{{ remote_artifacts }}"/FAIL_*.log > "{{ remote_artifacts }}"/FAIL-all.log || :
- name: Check the results
shell: |
log="{{ remote_artifacts }}/test.log"
if [ ! -f "$log" ]; then
echo ERROR
echo "Test results not found." 1>&2
elif grep ^ERROR "$log" 1>&2; then
echo ERROR
elif grep ^FAIL "$log" 1>&2; then
echo FAIL
elif grep -q ^PASS "$log"; then
echo PASS
else
echo ERROR
echo "No test results found." 1>&2
fi
register: test_results
- name: Set role result
set_fact:
role_result: "{{ test_results.stdout }}"
role_message: "{{ test_results.stderr|d('test execution error.') }}"
role_result_failed: "{{ test_results.stdout != 'PASS' }}"
role_result_msg: "{{ test_results.stderr|d('test execution error.') }}"
- include_role:
name: str-common-final
- name: Validate the result
shell: echo "test_results.stdout"
failed_when: test_results.stdout != 'PASS'

537
tests/tests.yml Normal file
View File

@ -0,0 +1,537 @@
- hosts: localhost
tags:
- classic
roles:
- role: custom-test-fonts
required_packages:
- google-noto-kufi-arabic-fonts
- google-noto-music-fonts
- google-noto-naskh-arabic-fonts
- google-noto-naskh-arabic-ui-fonts
- google-noto-sans-fonts
- google-noto-sans-display-fonts
- google-noto-sans-adlam-fonts
- google-noto-sans-adlam-unjoined-fonts
- google-noto-sans-anatolian-hieroglyphs-fonts
- google-noto-sans-arabic-fonts
- google-noto-sans-arabic-ui-fonts
- google-noto-sans-armenian-fonts
- google-noto-sans-avestan-fonts
- google-noto-sans-bamum-fonts
- google-noto-sans-bassa-vah-fonts
- google-noto-sans-batak-fonts
- google-noto-sans-bengali-fonts
- google-noto-sans-bengali-ui-fonts
- google-noto-sans-bhaiksuki-fonts
- google-noto-sans-brahmi-fonts
- google-noto-sans-buginese-fonts
- google-noto-sans-buhid-fonts
- google-noto-sans-canadian-aboriginal-fonts
- google-noto-sans-caucasian-albanian-fonts
- google-noto-sans-carian-fonts
- google-noto-sans-chakma-fonts
- google-noto-sans-cham-fonts
- google-noto-sans-cherokee-fonts
- google-noto-sans-coptic-fonts
- google-noto-sans-cuneiform-fonts
- google-noto-sans-cypriot-fonts
- google-noto-sans-deseret-fonts
- google-noto-sans-devanagari-fonts
- google-noto-sans-devanagari-ui-fonts
- google-noto-sans-duployan-fonts
- google-noto-sans-egyptian-hieroglyphs-fonts
- google-noto-sans-elbasan-fonts
- google-noto-sans-ethiopic-fonts
- google-noto-sans-georgian-fonts
- google-noto-sans-glagolitic-fonts
- google-noto-sans-gothic-fonts
- google-noto-sans-grantha-fonts
- google-noto-sans-gujarati-fonts
- google-noto-sans-gujarati-ui-fonts
- google-noto-sans-gurmukhi-fonts
- google-noto-sans-gurmukhi-ui-fonts
- google-noto-sans-hanunoo-fonts
- google-noto-sans-hatran-fonts
- google-noto-sans-hebrew-fonts
- google-noto-sans-imperial-aramaic-fonts
- google-noto-sans-inscriptional-pahlavi-fonts
- google-noto-sans-inscriptional-parthian-fonts
- google-noto-sans-javanese-fonts
- google-noto-sans-kaithi-fonts
- google-noto-sans-kannada-fonts
- google-noto-sans-kannada-ui-fonts
- google-noto-sans-kayah-li-fonts
- google-noto-sans-kharoshthi-fonts
- google-noto-sans-khmer-fonts
- google-noto-sans-khmer-ui-fonts
- google-noto-sans-khojki-fonts
- google-noto-sans-khudawadi-fonts
- google-noto-sans-lao-fonts
- google-noto-sans-lao-ui-fonts
- google-noto-sans-lepcha-fonts
- google-noto-sans-limbu-fonts
- google-noto-sans-linear-a-fonts
- google-noto-sans-linear-b-fonts
- google-noto-sans-lisu-fonts
- google-noto-sans-lycian-fonts
- google-noto-sans-lydian-fonts
- google-noto-sans-mahajani-fonts
- google-noto-sans-malayalam-fonts
- google-noto-sans-malayalam-ui-fonts
- google-noto-sans-mandaic-fonts
- google-noto-sans-manichaean-fonts
- google-noto-sans-marchen-fonts
- google-noto-sans-math-fonts
- google-noto-sans-meetei-mayek-fonts
- google-noto-sans-mende-kikakui-fonts
- google-noto-sans-meroitic-fonts
- google-noto-sans-miao-fonts
- google-noto-sans-modi-fonts
- google-noto-sans-mongolian-fonts
- google-noto-sans-mro-fonts
- google-noto-sans-multani-fonts
- google-noto-sans-myanmar-fonts
- google-noto-sans-myanmar-ui-fonts
- google-noto-sans-nabataean-fonts
- google-noto-sans-new-tai-lue-fonts
- google-noto-sans-newa-fonts
- google-noto-sans-nko-fonts
- google-noto-sans-ogham-fonts
- google-noto-sans-ol-chiki-fonts
- google-noto-sans-old-hungarian-fonts
- google-noto-sans-old-italic-fonts
- google-noto-sans-old-north-arabian-fonts
- google-noto-sans-old-permic-fonts
- google-noto-sans-old-persian-fonts
- google-noto-sans-old-south-arabian-fonts
- google-noto-sans-old-turkic-fonts
- google-noto-sans-osage-fonts
- google-noto-sans-osmanya-fonts
- google-noto-sans-pahawh-hmong-fonts
- google-noto-sans-palmyrene-fonts
- google-noto-sans-pau-cin-hau-fonts
- google-noto-sans-phags-pa-fonts
- google-noto-sans-phoenician-fonts
- google-noto-sans-psalter-pahlavi-fonts
- google-noto-sans-rejang-fonts
- google-noto-sans-runic-fonts
- google-noto-sans-samaritan-fonts
- google-noto-sans-saurashtra-fonts
- google-noto-sans-sharada-fonts
- google-noto-sans-shavian-fonts
- google-noto-sans-sinhala-fonts
- google-noto-sans-sinhala-ui-fonts
- google-noto-sans-sora-sompeng-fonts
- google-noto-sans-sundanese-fonts
- google-noto-sans-syloti-nagri-fonts
- google-noto-sans-symbols-fonts
- google-noto-sans-symbols2-fonts
- google-noto-sans-syriac-fonts
- google-noto-sans-syriac-eastern-fonts
- google-noto-sans-syriac-estrangela-fonts
- google-noto-sans-syriac-western-fonts
- google-noto-sans-tagalog-fonts
- google-noto-sans-tagbanwa-fonts
- google-noto-sans-takri-fonts
- google-noto-sans-tai-le-fonts
- google-noto-sans-tai-tham-fonts
- google-noto-sans-tai-viet-fonts
- google-noto-sans-tamil-fonts
- google-noto-sans-tamil-ui-fonts
- google-noto-sans-telugu-fonts
- google-noto-sans-telugu-ui-fonts
- google-noto-sans-thaana-fonts
- google-noto-sans-thai-fonts
- google-noto-sans-thai-ui-fonts
- google-noto-sans-tifinagh-fonts
- google-noto-sans-tirhuta-fonts
- google-noto-sans-ugaritic-fonts
- google-noto-sans-vai-fonts
- google-noto-sans-warang-citi-fonts
- google-noto-sans-yi-fonts
- google-noto-serif-fonts
- google-noto-serif-ahom-fonts
- google-noto-serif-armenian-fonts
- google-noto-serif-balinese-fonts
- google-noto-serif-display-fonts
- google-noto-serif-ethiopic-fonts
- google-noto-serif-georgian-fonts
- google-noto-serif-hebrew-fonts
- google-noto-serif-khmer-fonts
- google-noto-serif-lao-fonts
- google-noto-serif-myanmar-fonts
- google-noto-serif-tamil-slanted-fonts
- google-noto-serif-thai-fonts
- google-noto-sans-oriya-fonts
- google-noto-sans-oriya-ui-fonts
- google-noto-sans-tibetan-fonts
- google-noto-nastaliq-urdu-fonts
- google-noto-sans-mono-fonts
- google-noto-serif-bengali-fonts
- google-noto-serif-devanagari-fonts
- google-noto-serif-gujarati-fonts
- google-noto-serif-gurmukhi-fonts
- google-noto-serif-kannada-fonts
- google-noto-serif-malayalam-fonts
- google-noto-serif-sinhala-fonts
- google-noto-serif-tamil-fonts
- google-noto-serif-telugu-fonts
- google-noto-serif-tibetan-fonts
- google-noto-sans-vf-fonts
- google-noto-sans-arabic-vf-fonts
- google-noto-sans-arabic-ui-vf-fonts
- google-noto-sans-armenian-vf-fonts
- google-noto-sans-bengali-vf-fonts
- google-noto-sans-bengali-ui-vf-fonts
- google-noto-sans-canadian-aboriginal-vf-fonts
- google-noto-sans-cham-vf-fonts
- google-noto-sans-cherokee-vf-fonts
- google-noto-sans-devanagari-vf-fonts
- google-noto-sans-devanagari-ui-vf-fonts
- google-noto-sans-display-vf-fonts
- google-noto-sans-ethiopic-vf-fonts
- google-noto-sans-georgian-vf-fonts
- google-noto-sans-hebrew-vf-fonts
- google-noto-sans-kannada-vf-fonts
- google-noto-sans-kannada-ui-vf-fonts
- google-noto-sans-khmer-vf-fonts
- google-noto-sans-khmer-ui-vf-fonts
- google-noto-sans-lao-vf-fonts
- google-noto-sans-lao-ui-vf-fonts
- google-noto-sans-malayalam-vf-fonts
- google-noto-sans-malayalam-ui-vf-fonts
- google-noto-sans-mono-vf-fonts
- google-noto-sans-myanmar-vf-fonts
- google-noto-sans-myanmar-ui-vf-fonts
- google-noto-sans-sinhala-vf-fonts
- google-noto-sans-symbols-vf-fonts
- google-noto-sans-tamil-vf-fonts
- google-noto-sans-tamil-ui-vf-fonts
- google-noto-sans-thaana-vf-fonts
- google-noto-sans-thai-vf-fonts
- google-noto-sans-thai-ui-vf-fonts
- google-noto-serif-vf-fonts
- google-noto-serif-armenian-vf-fonts
- google-noto-serif-display-vf-fonts
- google-noto-serif-ethiopic-vf-fonts
- google-noto-serif-georgian-vf-fonts
- google-noto-serif-gujarati-vf-fonts
- google-noto-serif-gurmukhi-vf-fonts
- google-noto-serif-hebrew-vf-fonts
- google-noto-serif-kannada-vf-fonts
- google-noto-serif-khmer-vf-fonts
- google-noto-serif-lao-vf-fonts
- google-noto-serif-myanmar-vf-fonts
- google-noto-serif-sinhala-vf-fonts
- google-noto-serif-tamil-vf-fonts
- google-noto-serif-tamil-slanted-vf-fonts
- google-noto-serif-thai-vf-fonts
- google-noto-serif-tibetan-vf-fonts
coverage:
ar:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansArabic-*VF*.*tf
- NotoSansArabicUI-*VF*.*tf
- NotoSansArabic-*[^VF]*.*tf
bn:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansBengali-*VF*.*tf
- NotoSansBengaliUI-*VF*.*tf
- NotoSansBengali-*[^VF]*.*tf
bo:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSerifTibetan-*VF*.*tf
- NotoSansTibetan-*[^VF]*.*tf
chr:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansCherokee-*VF*.*tf
- NotoSansCherokee-*[^VF]*.*tf
gu:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSerifGujarati-*VF*.*tf
- NotoSansGujarati-*[^VF]*.*tf
- NotoSansGujaratiUI-*[^VF]*.*tf
- NotoSerifGujarati-*[^VF]*.*tf
hi:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansDevanagari-*VF*.*tf
- NotoSansDevanagariUI-*VF*.*tf
- NotoSansDevanagari-*[^VF]*.*tf
- NotoSansDevanagariUI-*[^VF]*.*tf
- NotoSerifDevanagari-*[^VF]*.*tf
he:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansHebrew-*VF*.*tf
- NotoSerifHebrew-*VF*.*tf
- NotoSansHebrew-*[^VF]*.*tf
- NotoSerifHebrew-*[^VF]*.*tf
hy:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansArmenian-*VF*.*tf
- NotoSerifArmenian-*VF*.*tf
- NotoSansArmenian-*[^VF]*.*tf
- NotoSerifArmenian-*[^VF]*.*tf
ka:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansGeorgian-*VF*.*tf
- NotoSerifGeorgian-*VF*.*tf
- NotoSansGeorgian-*[^VF]*.*tf
- NotoSerifGeorgian-*[^VF]*.*tf
kn:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansKannada-*VF*.*tf
- NotoSansKannadaUI-*VF*.*tf
- NotoSerifKannada-*VF*.*tf
- NotoSansKannada-*[^VF]*.*tf
- NotoSansKannadaUI-*[^VF]*.*tf
- NotoSerifKannada-*[^VF]*.*tf
km:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansKhmer-*VF*.*tf
- NotoSansKhmerUI-*VF*.*tf
- NotoSerifKhmer-*VF*.*tf
- NotoSansKhmer-*[^VF]*.*tf
- NotoSansKhmerUI-*[^VF]*.*tf
- NotoSerifKhmer-*[^VF]*.*tf
lo:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansLao-*VF*.*tf
- NotoSansLaoUI-*VF*.*tf
- NotoSerifLao-*VF*.*tf
- NotoSansLao-*[^VF]*.*tf
- NotoSansLaoUI-*[^VF]*.*tf
- NotoSerifLao-*[^VF]*.*tf
ml:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansMalayalam-*VF*.*tf
- NotoSansMalayalamUI-*VF*.*tf
- NotoSansMalayalam-*[^VF]*.*tf
- NotoSansMalayalamUI-*[^VF]*.*tf
- NotoSerifMalayalam-*[^VF]*.*tf
pa:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSerifGurmukhi-*VF*.*tf
- NotoSansGurmukhi-*[^VF]*.*tf
- NotoSansGurmukhiUI-*[^VF]*.*tf
- NotoSerifGurmukhi-*[^VF]*.*tf
si:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansSinhala-*VF*.*tf
- NotoSerifSinhala-*VF*.*tf
- NotoSansSinhala-*[^VF]*.*tf
- NotoSansSinhalaUI-*[^VF]*.*tf
- NotoSerifSinhala-*[^VF]*.*tf
ta:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansTamil-*VF*.*tf
- NotoSansTamilUI-*VF*.*tf
- NotoSerifTamil-*VF*.*tf
- NotoSerifTamilSlanted-.*VF*.*tf
- NotoSansTamil-*[^VF]*.*tf
- NotoSansTamilUI-*[^VF]*.*tf
- NotoSerifTamil-*[^VF]*.*tf
- NotoSerifTamilSlanted-*[^VF]*.*tf
th:
path_prefix:
- /usr/share/fonts/google-noto-vf
- /usr/share/fonts/google-noto
include:
- NotoSansThai-*VF*.*tf
- NotoSansThaiUI-*VF*.*tf
- NotoSerifThai-*VF*.*tf
- NotoSansThai-*[^VF]*.*tf
- NotoSansThaiUI-*[^VF]*.*tf
- NotoSerifThai-*[^VF]*.*tf
families:
- lang: ar
package: google-noto-sans-arabic-vf-fonts
alias: sans-serif
family: Noto Sans Arabic
- lang: ar
package: google-noto-sans-arabic-ui-vf-fonts
alias: sans-serif
family: Noto Sans Arabic UI
- lang: bn
package: google-noto-sans-bengali-vf-fonts
alias: sans-serif
family: Noto Sans Bengali
- lang: bn
package: google-noto-sans-bengali-ui-vf-fonts
alias: sans-serif
family: Noto Sans Bengali UI
- lang: chr
package: google-noto-sans-cherokee-vf-fonts
alias: sans-serif
family: Noto Sans Cherokee
- lang: hi
package: google-noto-sans-devanagari-vf-fonts
alias: sans-serif
family: Noto Sans Devanagari
- lang: hi
package: google-noto-sans-devanagari-ui-vf-fonts
alias: sans-serif
family: Noto Sans Devanagari UI
- lang: he
package: google-noto-sans-hebrew-vf-fonts
alias: sans-serif
family: Noto Sans Hebrew
- lang: hy
package: google-noto-sans-armenian-vf-fonts
alias: sans-serif
family: Noto Sans Armenian
- lang: ka
package: google-noto-sans-georgian-vf-fonts
alias: sans-serif
family: Noto Sans Georgian
- lang: kn
package: google-noto-sans-kannada-vf-fonts
alias: sans-serif
family: Noto Sans Kannada
- lang: kn
package: google-noto-sans-kannada-ui-vf-fonts
alias: sans-serif
family: Noto Sans Kannada UI
- lang: km
package: google-noto-sans-khmer-vf-fonts
alias: sans-serif
family: Noto Sans Khmer
- lang: km
package: google-noto-sans-khmer-ui-vf-fonts
alias: sans-serif
family: Noto Sans Khmer UI
- lang: lo
package: google-noto-sans-lao-vf-fonts
alias: sans-serif
family: Noto Sans Lao
- lang: lo
package: google-noto-sans-lao-ui-vf-fonts
alias: sans-serif
family: Noto Sans Lao UI
- lang: ml
package: google-noto-sans-malayalam-vf-fonts
alias: sans-serif
family: Noto Sans Malayalam
- lang: ml
package: google-noto-sans-malayalam-ui-vf-fonts
alias: sans-serif
family: Noto Sans Malayalam UI
- lang: si
package: google-noto-sans-sinhala-vf-fonts
alias: sans-serif
family: Noto Sans Sinhala
- lang: ta
package: google-noto-sans-tamil-vf-fonts
alias: sans-serif
family: Noto Sans Tamil
- lang: ta
package: google-noto-sans-tamil-ui-vf-fonts
alias: sans-serif
family: Noto Sans Tamil UI
- lang: th
package: google-noto-sans-thai-vf-fonts
alias: sans-serif
family: Noto Sans Thai
- lang: th
package: google-noto-sans-thai-ui-vf-fonts
alias: sans-serif
family: Noto Sans Thai UI
- lang: bo
package: google-noto-serif-tibetan-vf-fonts
alias: serif
family: Noto Serif Tibetan
- lang: gu
package: google-noto-serif-gujarati-vf-fonts
alias: serif
family: Noto Serif Gujarati
- lang: he
package: google-noto-serif-hebrew-vf-fonts
alias: serif
family: Noto Serif Hebrew
- lang: hy
package: google-noto-serif-armenian-vf-fonts
alias: serif
family: Noto Serif Armenian
- lang: ka
package: google-noto-serif-georgian-vf-fonts
alias: serif
family: Noto Serif Georgian
- lang: km
package: google-noto-serif-khmer-vf-fonts
alias: serif
family: Noto Serif Khmer
- lang: kn
package: google-noto-serif-kannada-vf-fonts
alias: serif
family: Noto Serif Kannada
- lang: lo
package: google-noto-serif-lao-vf-fonts
alias: serif
family: Noto Serif Lao
- lang: pa
package: google-noto-serif-gurmukhi-vf-fonts
alias: serif
family: Noto Serif Gurmukhi
- lang: si
package: google-noto-serif-sinhala-vf-fonts
alias: serif
family: Noto Serif Sinhala
- lang: ta
package: google-noto-serif-tamil-vf-fonts
alias: serif
family: Noto Serif Tamil
- lang: ta
package: google-noto-serif-tamil-slanted-vf-fonts
alias: serif
family: Noto Serif Tamil Slanted
- lang: th
package: google-noto-serif-thai-vf-fonts
alias: serif
family: Noto Serif Thai