Bug 2435265
| Summary: | gnu-free-fonts broken after Fedora 44 mass rebuild | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mattias Ellert <mattias.ellert> | ||||
| Component: | gnu-free-fonts | Assignee: | Gwyn Ciesla <gwync> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | gwync, pnemade | ||||
| Target Milestone: | --- | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | --- | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2026-02-06 21:18:21 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 2435066, 2435889 | ||||||
| Attachments: |
|
||||||
|
Description
Mattias Ellert
2026-01-29 13:38:09 UTC
Do any of these commands yield output? rpm --verify gnu-free-fonts-common rpm --verify gnu-free-fonts-mono-fonts rpm --verify gnu-free-fonts-sans-fonts rpm --verify gnu-free-fonts-serif-fonts (In reply to Gwyn Ciesla from comment #1) > Do any of these commands yield output? > > rpm --verify gnu-free-fonts-common > rpm --verify gnu-free-fonts-mono-fonts > rpm --verify gnu-free-fonts-sans-fonts > rpm --verify gnu-free-fonts-serif-fonts (I assume there is an extra "font" in the last three commands) <mock-chroot> sh-5.3# rpm --verify gnu-free-fonts-common <mock-chroot> sh-5.3# rpm --verify gnu-free-mono-fonts <mock-chroot> sh-5.3# rpm --verify gnu-free-sans-fonts <mock-chroot> sh-5.3# rpm --verify gnu-free-serif-fonts <mock-chroot> sh-5.3# rpm -q gnu-free-fonts-common gnu-free-fonts-common-20120503-37.fc44.noarch <mock-chroot> sh-5.3# rpm -q gnu-free-mono-fonts gnu-free-mono-fonts-20120503-37.fc44.noarch <mock-chroot> sh-5.3# rpm -q gnu-free-sans-fonts gnu-free-sans-fonts-20120503-37.fc44.noarch <mock-chroot> sh-5.3# rpm -q gnu-free-serif-fonts gnu-free-serif-fonts-20120503-37.fc44.noarch $ python3 Python 3.14.2 (main, Dec 5 2025, 00:00:00) [GCC 15.2.1 20251111 (Red Hat 15.2.1-4)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from fontTools import ttLib >>> tt43 = ttLib.TTFont("43/usr/share/fonts/gnu-free/FreeSans.ttf") >>> tt44 = ttLib.TTFont("44/usr/share/fonts/gnu-free/FreeSans.ttf") >>> tt43.keys() ['GlyphOrder', 'head', 'hhea', 'maxp', 'OS/2', 'hmtx', 'cmap', 'fpgm', 'prep', 'cvt ', 'loca', 'glyf', 'kern', 'name', 'post', 'gasp', 'FFTM', 'GDEF', 'GPOS', 'GSUB'] >>> tt44.keys() ['GlyphOrder', 'head', 'hhea', 'maxp', 'OS/2', 'hmtx', 'cmap', 'fpgm', 'prep', 'cvt ', 'loca', 'kern', 'name', 'post', 'gasp', 'FFTM', 'GDEF', 'GPOS', 'GSUB'] I.e. the 'glyf' table is missing in ths Fedora 44 version. The build create both .ttf and .otf files. The .ttf files are not working, but the .otf files are.
Can those be packaged instead?
It is not clear to me why the .ttf files that used to be create correctly in Fedora 43 no longer are so in Fedora 44.
The source package has not changed, but the fonts-rpm-macros and fontforge packages have both been updated between F43 and F44.
diff --git a/gnu-free-fonts.spec b/gnu-free-fonts.spec
index f27c862..e9a2905 100644
--- a/gnu-free-fonts.spec
+++ b/gnu-free-fonts.spec
@@ -96,7 +96,7 @@ make
%install
pushd sfd
install -m 0755 -d %{buildroot}%{_fontdir}
-install -p -m 644 *.ttf %{buildroot}%{_fontdir}
+install -p -m 644 *.otf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
@@ -128,11 +128,11 @@ install -Dm 0644 -p %{SOURCE7} \
install -Dm 0644 -p %{SOURCE8} \
%{buildroot}%{_datadir}/appdata/%{fontname}-serif.metainfo.xml
-%_font_pkg -n mono -f %{fontconf}-mono.conf FreeMono*.ttf
+%_font_pkg -n mono -f %{fontconf}-mono.conf FreeMono*.otf
%{_datadir}/appdata/%{fontname}-mono.metainfo.xml
-%_font_pkg -n sans -f %{fontconf}-sans.conf FreeSans*.ttf
+%_font_pkg -n sans -f %{fontconf}-sans.conf FreeSans*.otf
%{_datadir}/appdata/%{fontname}-sans.metainfo.xml
-%_font_pkg -n serif -f %{fontconf}-serif.conf FreeSerif*.ttf
+%_font_pkg -n serif -f %{fontconf}-serif.conf FreeSerif*.otf
%{_datadir}/appdata/%{fontname}-serif.metainfo.xml
%files common
I suspect there are many packages that symlink to the ttf fonts. I can also include the otf fonts, but the ttf fonts still probably need fixing. @pnemade Can you shed any light on the fontforge and fonts-rpm-macros changes? Created attachment 2128466 [details]
Patch removing no-hints
Removing the 'no-hints' from the flags in the build script results in working fonts.
Excellent, thank you! I'll get this to f45 and f44 ASAP. |