commit 35a104b4664e6c71b5f4c8c4b41892d7b6f2ed808ba73bc5361d9885a61c68aa Author: Adrian Schröter Date: Fri Feb 7 18:27:52 2025 +0100 Sync from SUSE:SLFO:Main google-noto-serif-cjk-fonts revision a35d2231ad8e0a9894848725d98213aa diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/02_NotoSerifCJK-OTF-VF.zip b/02_NotoSerifCJK-OTF-VF.zip new file mode 100644 index 0000000..f4fcfa4 --- /dev/null +++ b/02_NotoSerifCJK-OTF-VF.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:279c27b6314d103c068f90fa4451ba64dcfb0a0d2d4549f02ff82a57f399f200 +size 222807580 diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..7a98ea5 --- /dev/null +++ b/_constraints @@ -0,0 +1,10 @@ + + + + 4000 + + + 30 + + + diff --git a/google-noto-serif-cjk-fonts.changes b/google-noto-serif-cjk-fonts.changes new file mode 100644 index 0000000..a564ec5 --- /dev/null +++ b/google-noto-serif-cjk-fonts.changes @@ -0,0 +1,112 @@ +------------------------------------------------------------------- +Mon Mar 11 15:06:37 UTC 2024 - Marguerite Su + +- update version to 2.002 +- switch to VF variant, reduce size to about 17% + +------------------------------------------------------------------- +Fri Jul 29 08:40:07 UTC 2022 - Gordon Leung + +feat!: rename noto-*-cjk-fonts -> google-noto-*-cjk-fonts +- The Noto Coloremoji fonts have already been renamed by now +- The other Noto fonts will be renamed once upstream finishes migrating them to the new website + * https://github.com/notofonts/notofonts.github.io +fix: move zh_MO obsoletes and provides to Hong Kong TC fonts +- Macau is physically and culturally closer to Hong Kong than Taiwan + +------------------------------------------------------------------- +Sat Jul 23 07:49:33 UTC 2022 - Takashi Iwai + +- Move google-noto-serif-cjk-fonts into its own repository again + +------------------------------------------------------------------- +Sun Feb 20 09:09:10 UTC 2022 - Yunhe Guo + +- Update version to 2.001 +- Follow upstream versioning: use version numbers instead of dates + +------------------------------------------------------------------- +Tue May 25 18:38:27 CEST 2021 - tiwai@suse.de + +- Fix the source URL to be properly downloadable + +------------------------------------------------------------------- +Sun May 16 10:45:36 UTC 2021 - Dingzhong Chen + +- Update version to 2.002(20201202) + * The copyright year was changed from “2014–2019” to “2014–2020.” + * Addressed Issue #207 including glyph changes to U+4E08 and U+5C83. + Extension G encodings were added for U+30729, U+30EDD, U+30EDE, + and U+3106C and the previous GSUB rules were removed. + * Updated Korean glyph for U+58C4 as reported in Source Han Serif Issue #87 + * Addressed Issue #204 for U+50E7, U+89E6, U+8FD0, U+9EA4, U+25C4A + * Mapped HK U+5C13 尓 to JP glyph + * Fixed U+21B9 as reported in Issue #260 + * Changed Korean mapping for U+51A4 as reported in Issue #202 + * The weights for Kanbun glyphs U+3191–U+319F have been adjusted + as mentioned in the table at the beginning of Issue #205. + * Fixed Korean IVS mapping for U+8ACB as reported in Issue #276 + +------------------------------------------------------------------- +Fri Apr 17 15:09:06 UTC 2020 - Hillwood Yang + +- Update version to 2.001(20190410) + * A second flavor of Traditional Chinese, for Hong Kong and supporting the + HKSCS-2016 standard, was add- ed, which increased the total number of font + resources by 16, from 72 to 88. + * 155 new mappings have been added to the CMap resources. 66 are from BMP code + points, 22 are from Plane 1 code points, and the remaining 67 are from + Plane 2 code points. Among the 67 new Plane 2 code points, 57 are from + Extension B, two are from Extension C, three are from Extension E, and the + remaining five are from Extension F. + * As a result of removing approximately 1,750 glyphs in order to make room for + approximately 1,750 new glyphs, the CID assignments of the glyphs + necessarily—and drastically—changed. The CID assignments of exactly 200 + glyphs are unchanged from Version 1.004: 0–107, 2570–2633, 47223–47232, + 47262–47272, 47281–47286, and 65484. + * The Traditional Chinese form of the Radical #162 辶 component was improved. + * The URO is complete up through U+9FEF (Unicode Version 11.0). + * The glyphs for some of the kana were tweaked. + * The glyphs and support for bopomofo, along with their tone marks, were + improved. This involved adding the 'GDEF' (Glyph Definition) table, the + 'mark' (Mark Positioning) GPOS feature, and the 'ruby' (Ruby Nota- tion + Forms) GSUB feature. + * The language and script declarations in the 'locl' and 'vert' GSUB features + were improved. + * The 13-page glyph synopsis PDFs for the 500 pre-composed high-frequency + hangul syllables have been incorporated into the Unicode-base glyph synopsis + PDFs, and are bookmarked under the “Korean” book- mark. + * Placeholder glyphs for U+32FF, uni32FF (CID+2184) and uni32FF-V (CID+65359), + are included. This character has been reserved for the two-ideograph square + ligature that represents the name of Japan’s forthcoming new era which + starts on 2019-05-01, and will be the only character added in Unicode + Version 12.1. + * Like Source Han Serif, the CIDFont and CMap resources do not include XUID + arrays. + * Like Source Han Serif, there are no mappings for the range U+0000 through + U+001F. + * Like Source Han Serif, the code points that correspond to Halfwidth Jamo + variants map to glyphs that cor- respond to code points in the Hangul + Compatibility Jamo block. In other words, the glyphs for half-width jamo + have been removed. + * Like Source Han Serif, the 'name' table does not includes any Macintosh + (PlatformID=1) strings. + * Like Source Han Serif, the Regular weight is now style-linked to the Bold + weight. This means that the Bold weight may not appear in the font menu, + particularly when using applications that support style-linking as a way to + make text bold. + * Like Source Han Serif, the 'vert' GPOS feature is included. + * Like Source Han Serif, the deprecated 'hngl' (Hangul) GSUB feature is not + included in the Korean fonts and font instances. +- Split HongKong Fonts for NotoSans. + +------------------------------------------------------------------- +Thu May 4 14:43:30 CEST 2017 - tiwai@suse.de + +- fixed typos of *-extralight fonts that broke the build + +------------------------------------------------------------------- +Sat Apr 8 07:46:47 UTC 2017 - i@marguerite.su + +- initial version 20170403 + diff --git a/google-noto-serif-cjk-fonts.spec b/google-noto-serif-cjk-fonts.spec new file mode 100644 index 0000000..f3a3a52 --- /dev/null +++ b/google-noto-serif-cjk-fonts.spec @@ -0,0 +1,225 @@ +# +# spec file for package google-noto-serif-cjk-fonts +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + +Name: google-noto-serif-cjk-fonts +Version: 2.002 +Release: 0 +Summary: Noto Serif CJK Font Families +License: OFL-1.1 +Group: System/X11/Fonts +URL: https://github.com/googlefonts/noto-cjk +Source0: https://github.com/googlefonts/noto-cjk/releases/download/Serif%{version}/02_NotoSerifCJK-OTF-VF.zip +BuildRequires: fontpackages-devel +BuildRequires: unzip +BuildArch: noarch + +%description +Noto's design goal is to achieve visual harmonization (e.g., compatible heights and stroke +thicknesses) across languages. + +%package -n google-noto-serif-sc-fonts +Summary: Noto Serif Simplified Chinese Font +Group: System/X11/Fonts +Provides: noto-serif-sc-fonts = %{version} +Obsoletes: noto-serif-sc-fonts < %{version} +Provides: google-noto-serif-sc-regular-fonts = %{version} +Obsoletes: google-noto-serif-sc-regular-fonts < %{version} +Provides: google-noto-serif-sc-semibold-fonts = %{version} +Obsoletes: google-noto-serif-sc-semibold-fonts < %{version} +Provides: google-noto-serif-sc-light-fonts = %{version} +Obsoletes: google-noto-serif-sc-light-fonts < %{version} +Provides: google-noto-serif-sc-extralight-fonts = %{version} +Obsoletes: google-noto-serif-sc-extralight-fonts < %{version} +Provides: google-noto-serif-sc-bold-fonts = %{version} +Obsoletes: google-noto-serif-sc-bold-fonts < %{version} +Provides: google-noto-serif-sc-black-fonts = %{version} +Obsoletes: google-noto-serif-sc-black-fonts < %{version} +Provides: google-noto-serif-sc-medium-fonts = %{version} +Obsoletes: google-noto-serif-sc-medium-fonts < %{version} +Provides: google-noto-serif-sc-fonts-full = %{version} +Obsoletes: google-noto-serif-sc-fonts-full < %{version} +Provides: scalable-font-zh-CN +Provides: scalable-font-zh-SG +Provides: locale(zh_CN;zh_SG) + +%description -n google-noto-serif-sc-fonts +Noto's design goal is to achieve visual harmonization (e.g., compatible +heights and stroke thicknesses) across languages. This package contains +Serif font for Simplified Chinese, hinted and variable. + +%package -n google-noto-serif-tc-fonts +Summary: Noto Serif Traditional Chinese Font +Group: System/X11/Fonts +Provides: noto-serif-tc-fonts = %{version} +Obsoletes: noto-serif-tc-fonts < %{version} +Provides: google-noto-serif-tc-regular-fonts = %{version} +Obsoletes: google-noto-serif-tc-regular-fonts < %{version} +Provides: google-noto-serif-tc-semibold-fonts = %{version} +Obsoletes: google-noto-serif-tc-semibold-fonts < %{version} +Provides: google-noto-serif-tc-light-fonts = %{version} +Obsoletes: google-noto-serif-tc-light-fonts < %{version} +Provides: google-noto-serif-tc-extralight-fonts = %{version} +Obsoletes: google-noto-serif-tc-extralight-fonts < %{version} +Provides: google-noto-serif-tc-bold-fonts = %{version} +Obsoletes: google-noto-serif-tc-bold-fonts < %{version} +Provides: google-noto-serif-tc-black-fonts = %{version} +Obsoletes: google-noto-serif-tc-black-fonts < %{version} +Provides: google-noto-serif-tc-medium-fonts = %{version} +Obsoletes: google-noto-serif-tc-medium-fonts < %{version} +Provides: google-noto-serif-tc-fonts-full = %{version} +Obsoletes: google-noto-serif-tc-fonts-full < %{version} +Provides: scalable-font-zh-TW +Provides: locale(zh_TW) + +%description -n google-noto-serif-tc-fonts +Noto's design goal is to achieve visual harmonization (e.g., compatible +heights and stroke thicknesses) across languages. This package contains +Serif font for Traditional Chinese, hinted and variable. + +%package -n google-noto-serif-hk-fonts +Summary: Noto Serif Traditional Chinese (Hong Kong) Font +Group: System/X11/Fonts +Provides: noto-serif-hk-fonts = %{version} +Obsoletes: noto-serif-hk-fonts < %{version} +Provides: google-noto-serif-hk-regular-fonts = %{version} +Obsoletes: google-noto-serif-hk-regular-fonts < %{version} +Provides: google-noto-serif-hk-semibold-fonts = %{version} +Obsoletes: google-noto-serif-hk-semibold-fonts < %{version} +Provides: google-noto-serif-hk-light-fonts = %{version} +Obsoletes: google-noto-serif-hk-light-fonts < %{version} +Provides: google-noto-serif-hk-extralight-fonts = %{version} +Obsoletes: google-noto-serif-hk-extralight-fonts < %{version} +Provides: google-noto-serif-hk-bold-fonts = %{version} +Obsoletes: google-noto-serif-hk-bold-fonts < %{version} +Provides: google-noto-serif-hk-black-fonts = %{version} +Obsoletes: google-noto-serif-hk-black-fonts < %{version} +Provides: google-noto-serif-hk-medium-fonts = %{version} +Obsoletes: google-noto-serif-hk-medium-fonts < %{version} +Provides: google-noto-serif-hk-fonts-full = %{version} +Obsoletes: google-noto-serif-hk-fonts-full < %{version} +Provides: scalable-font-zh-HK +Provides: scalable-font-zh-MO +Provides: locale(zh_HK;zh_MO) + +%description -n google-noto-serif-hk-fonts +Noto's design goal is to achieve visual harmonization (e.g., compatible +heights and stroke thicknesses) across languages. This package contains +Serif font for Traditional Chinese (Hong Kong), hinted and variable. + +%package -n google-noto-serif-jp-fonts +Summary: Noto Serif Japanese Font +Group: System/X11/Fonts +Provides: noto-serif-jp-fonts = %{version} +Obsoletes: noto-serif-jp-fonts < %{version} +Provides: google-noto-serif-jp-regular-fonts = %{version} +Obsoletes: google-noto-serif-jp-regular-fonts < %{version} +Provides: google-noto-serif-jp-semibold-fonts = %{version} +Obsoletes: google-noto-serif-jp-semibold-fonts < %{version} +Provides: google-noto-serif-jp-light-fonts = %{version} +Obsoletes: google-noto-serif-jp-light-fonts < %{version} +Provides: google-noto-serif-jp-extralight-fonts = %{version} +Obsoletes: google-noto-serif-jp-extralight-fonts < %{version} +Provides: google-noto-serif-jp-bold-fonts = %{version} +Obsoletes: google-noto-serif-jp-bold-fonts < %{version} +Provides: google-noto-serif-jp-black-fonts = %{version} +Obsoletes: google-noto-serif-jp-black-fonts < %{version} +Provides: google-noto-serif-jp-medium-fonts = %{version} +Obsoletes: google-noto-serif-jp-medium-fonts < %{version} +Provides: google-noto-serif-jp-fonts-full = %{version} +Obsoletes: google-noto-serif-jp-fonts-full < %{version} +Provides: scalable-font-ja +Provides: locale(ja) + +%description -n google-noto-serif-jp-fonts +Noto's design goal is to achieve visual harmonization (e.g., compatible +heights and stroke thicknesses) across languages. This package contains +Serif font for Japanese, hinted and variable. + +%package -n google-noto-serif-kr-fonts +Summary: Noto Serif Korean Font +Group: System/X11/Fonts +Provides: noto-serif-kr-fonts = %{version} +Obsoletes: noto-serif-kr-fonts < %{version} +Provides: google-noto-serif-kr-regular-fonts = %{version} +Obsoletes: google-noto-serif-kr-regular-fonts < %{version} +Provides: google-noto-serif-kr-semibold-fonts = %{version} +Obsoletes: google-noto-serif-kr-semibold-fonts < %{version} +Provides: google-noto-serif-kr-light-fonts = %{version} +Obsoletes: google-noto-serif-kr-light-fonts < %{version} +Provides: google-noto-serif-kr-extralight-fonts = %{version} +Obsoletes: google-noto-serif-kr-extralight-fonts < %{version} +Provides: google-noto-serif-kr-bold-fonts = %{version} +Obsoletes: google-noto-serif-kr-bold-fonts < %{version} +Provides: google-noto-serif-kr-black-fonts = %{version} +Obsoletes: google-noto-serif-kr-black-fonts < %{version} +Provides: google-noto-serif-kr-medium-fonts = %{version} +Obsoletes: google-noto-serif-kr-medium-fonts < %{version} +Provides: google-noto-serif-kr-fonts-full = %{version} +Obsoletes: google-noto-serif-kr-fonts-full < %{version} +Provides: scalable-font-ko +Provides: locale(ko) + +%description -n google-noto-serif-kr-fonts +Noto's design goal is to achieve visual harmonization (e.g., compatible +heights and stroke thicknesses) across languages. This package contains +Serif font for Korean, hinted and variable. + +%prep +unzip -qqn %{SOURCE0} + +%build + +%install +mkdir -p %{buildroot}%{_ttfontsdir} +cp Variable/OTF/NotoSerifCJK*-VF.?tf %{buildroot}%{_ttfontsdir}/ + +%reconfigure_fonts_scriptlets -n google-noto-serif-sc-fonts + +%reconfigure_fonts_scriptlets -n google-noto-serif-tc-fonts + +%reconfigure_fonts_scriptlets -n google-noto-serif-hk-fonts + +%reconfigure_fonts_scriptlets -n google-noto-serif-jp-fonts + +%reconfigure_fonts_scriptlets -n google-noto-serif-kr-fonts + +%files -n google-noto-serif-sc-fonts +%defattr(0644,root,root,755) +%dir %{_ttfontsdir} +%{_ttfontsdir}/NotoSerifCJKsc-VF.?tf + +%files -n google-noto-serif-tc-fonts +%defattr(0644,root,root,755) +%dir %{_ttfontsdir} +%{_ttfontsdir}/NotoSerifCJKtc-VF.?tf + +%files -n google-noto-serif-hk-fonts +%defattr(0644,root,root,755) +%dir %{_ttfontsdir} +%{_ttfontsdir}/NotoSerifCJKhk-VF.?tf + +%files -n google-noto-serif-jp-fonts +%defattr(0644,root,root,755) +%dir %{_ttfontsdir} +%{_ttfontsdir}/NotoSerifCJKjp-VF.?tf + +%files -n google-noto-serif-kr-fonts +%defattr(0644,root,root,755) +%dir %{_ttfontsdir} +%{_ttfontsdir}/NotoSerifCJKkr-VF.?tf + +%changelog