diff --git a/.gitignore b/.gitignore index d8decb6..eac9401 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /debug-*.sh /noto-fonts-*/ /noto-fonts-0c78c8329.tar.xz +/NotoSansSinhala-v2.006.zip diff --git a/google-noto-fonts.spec b/google-noto-fonts.spec index 567f1e8..c4e771c 100644 --- a/google-noto-fonts.spec +++ b/google-noto-fonts.spec @@ -22,7 +22,7 @@ in Unicode.\ Name: %{fontname}-fonts Version: 20201206^1.git%{snapver} -Release: 4%{?dist} +Release: 5%{?dist} Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts License: OFL URL: https://github.com/googlefonts/noto-fonts/ @@ -31,6 +31,7 @@ Source0: noto-fonts-%{snapver}.tar.xz Source1: google-noto-sans-math-vf.conf Source2: google-noto-sans-math.conf Source3: google-noto-naskh-arabic-ex.conf +Source4: NotoSansSinhala-v2.006.zip BuildArch: noarch BuildRequires: fonts-rpm-macros @@ -1007,6 +1008,8 @@ rpm.define("notobuild_metainfo " .. _metainfobuild .. "\n") %prep %setup -q -c -n noto-fonts-%{srcver} +mkdir new-sinhala +unzip %{SOURCE4} NotoSansSinhala/* %build @@ -1024,6 +1027,12 @@ done install -m 0755 -d %{buildroot}%{_fontbasedir}/google-noto-vf install -m 0644 -p unhinted/slim-variable-ttf/Noto*.ttf %{buildroot}%{_fontbasedir}/google-noto-vf/ +# override updated sinhala fonts +for f in NotoSansSinhala/hinted/ttf/*; do + install -m 0644 -p $f %{buildroot}%{_fontbasedir}/google-noto/ +done +install -m 0644 -p NotoSansSinhala/unhinted/slim-variable-ttf/NotoSansSinhala\[wght\].ttf %{buildroot}%{_fontbasedir}/google-noto-vf/NotoSansSinhala-VF.ttf + # fc-scan in script expects fonts are already installed %{notobuild_metainfo} @@ -1057,6 +1066,10 @@ done %changelog +* Fri Sep 30 2022 Akira TAGOH - 20201606-1.git0c78c8329-5 +- Update Noto Sinhala fonts to the latest to fix some rendering issue in Sinhala scripts. + Resolves: rhbz#2129619 + * Thu Sep 15 2022 Akira TAGOH - 20201206-1.git0c78c8329-4 - Add Provides lines for Obsoletes packages. Resolves: rhbz#2126575 diff --git a/sources b/sources index 088a46d..609bd96 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (noto-fonts-0c78c8329.tar.xz) = 3ccf82ddccd007e3fdbf64cfc5225b1789c90283872090e9e32a8ac0bc248fe2ce92a5baf78d5fb9c88b9edd9d26599248281d0d793850a85314729f9d94f411 +SHA512 (NotoSansSinhala-v2.006.zip) = 2e53049a54e1479bcbd89519b87d006106ed4a7e2053d2f393b7966b648ffb35ce5a984b3da688acb90242fd5b9e7537765324bda254dbdaebe9d15a4fec0b12