import UBI redhat-fonts-4.1.0-1.el10

This commit is contained in:
eabdullin 2025-11-11 21:48:44 +00:00
parent 170c9cf743
commit 3dd328ccd6
3 changed files with 21 additions and 9 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
RedHatFont-4.0.3.tar.gz
RedHatFont-4.1.0.tar.gz

View File

@ -25,8 +25,8 @@ The fonts were originally commissioned by Paula Scher / Pentagram \
and designed by Jeremy Mickel / MCKL for the new Red Hat identity.
Name: %{fontname}-fonts
Version: 4.0.3
Release: 14%{?dist}
Version: 4.1.0
Release: 1%{?dist}
Summary: Red Hat Typeface fonts
# Only the metainfo files are CC-BY-SA
License: OFL-1.1-RFN AND CC-BY-SA-4.0
@ -109,12 +109,20 @@ This package provides the variable font version of the Monospace fonts variant.
# Install fonts
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p fonts/*/static/otf/*.otf %{buildroot}%{_fontdir}
rm -f fonts/*/*VF*.ttf fonts/mono/RedHatMono.ttf fonts/mono/RedHatMono-Italic.ttf
# workaround to address crash issue/unexpected italic rendering with variable fonts
rm -f fonts/*/*-Italic*.ttf
install -m 0755 -d %{buildroot}%{_fontdir}-vf
install -m 0644 -p fonts/*/*.ttf %{buildroot}%{_fontdir}-vf
## Mono
install -m 0644 -p fonts/Mono/otf/*.otf %{buildroot}%{_fontdir}
## Mono VF
install -m 0644 -p fonts/Mono/variable/*.ttf %{buildroot}%{_fontdir}-vf
## Display/Text
install -m 0644 -p fonts/Proportional/*/otf/*.otf %{buildroot}%{_fontdir}
## Display/Text VF
install -m 0644 -p fonts/Proportional/*/variable/*.ttf %{buildroot}%{_fontdir}-vf
# Drop duplicate
rm -f %{buildroot}%{_fontdir}-vf/*VF*.ttf
# workaround to address crash issue/unexpected italic rendering with variable fonts
rm -f %{buildroot}%{_fontdir}-vf/*-Italic*.ttf
# Install fontconfig data
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
@ -186,6 +194,10 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainf
%changelog
* Thu Mar 27 2025 Akira TAGOH <tagoh@redhat.com> - 4.1.0-1
- New upstream release.
Resolves: RHEL-64904
* Fri Dec 6 2024 Akira TAGOH <tagoh@redhat.com> - 4.0.3-14
- Remove Italic variable fonts to workaround a crash issue
and unexpected italic rendering.

View File

@ -1 +1 @@
SHA512 (RedHatFont-4.0.3.tar.gz) = 53a4ad4089ecebe3ae9af92b7485554e34fd5218d0eda76eed5ee189aa829f95ef4245bcbf1536fdd68e5e39909049202a6c3a0a573a5cc12c058a628febeac4
SHA512 (RedHatFont-4.1.0.tar.gz) = f4660602b7f3d19321c5b4e6bfd0d537a96265b1a44e01f8b8d1f6a5d9b613f46a3dfc29f33034e6b4c5b701dc24eb89cee733dd73245de4dac2e353183df846