diff --git a/.gitignore b/.gitignore index bed8777..ae89dae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ /whichfont-1.0.5.tar.gz /whichfont-1.0.6.tar.gz +/whichfont-2.1.0.tar.gz +/whichfont-2.2.0.tar.gz +/whichfont-2.3.0.tar.gz +/whichfont-3.0.0.tar.gz +/whichfont-3.0.1.tar.gz diff --git a/sources b/sources index 445ff76..4411fe5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (whichfont-1.0.6.tar.gz) = b7afb5328e6458970446ab0b13528d62c88927e441230e8a0c603a8d5f3b71b8f5bc92031b0e88b8424ffc804037734f4f268ff5f9a65de469d3f969e442da82 +SHA512 (whichfont-3.0.1.tar.gz) = a7e43764da658c2b0b1f8cf767dea2c556fe8b071a9aff0871c2ab3bad2d5dd74e22827311560776191b8be60a47464bb59368ff0381e12b75b8783891ab7731 diff --git a/whichfont.spec b/whichfont.spec index 8537432..bd682f5 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,6 +1,6 @@ Name: whichfont -Version: 1.0.9 -Release: 1%{?dist} +Version: 3.0.1 +Release: 2%{?dist} Summary: Querying Fontconfig License: GPL-3.0-or-later @@ -11,6 +11,8 @@ BuildRequires: fontconfig-devel BuildRequires: meson BuildRequires: gcc BuildRequires: make +BuildRequires: pango-devel +BuildRequires: glib2-devel %description Querying fontconfig for certain code point. @@ -34,6 +36,52 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 3.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat May 09 2026 Sudip Shil - 3.0.1-1 +- whichfont will always accept and override --help option + +* Thu Apr 02 2026 Sudip Shil - 3.0.0-1 +- resolve snowflake emoji incorrectly defaulting to Symbola +- emoji detection for BMP ranges and remove redundant logic +- Integrate Pango API to segment and find fonts and refine hex detection logics +- Fix Pango sans-serif fallback and --language feature not giving output fixed +- Fix CI build by adding missing GLib and Pango dependencies + +* Sat Jan 17 2026 Fedora Release Engineering - 2.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 2.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Wed Jun 11 2025 Sudip Shil - 2.3.0-1 +- Improve input handling for -f option and Update test cases in to cover new scenarios and edge cases. +- now tests.sh can capture segmentation fault and save in test_error txt file +- Created github workflow action tests.yml in github - if test fails then it is usefull for CI and automation. + +* Thu May 08 2025 Sudip Shil - 2.2.0-1 +- Modified input_char to handle multiple words as a single input string, allowing space-separated characters. +- :: as the delimiter for Fontconfig parameters. +- help section in better format +- Modified tests.sh to include new test cases for space-separated inputs and :: parameter handling. + +* Tue Apr 15 2025 Sudip Shil - 2.1.0-0 +- Added --language (-l) CLI option to detect the default font for a given language code, which detects and prints the default font family that supports the specified language. +- Introduced valid_langs[] array containing known language codes supported by fontconfig, Rejects invalid language codes early with a clear error message. +- Checks not only if a font is returned, but whether it actually supports the given language. +- Updated --help output to include usage for --language option. +- updated readme with installation, build section. + +* Sun Jan 19 2025 Fedora Release Engineering - 1.0.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 1.0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Sep 21 2023 Sudip Shil - 1.0.9-1 - printing unicode by default. no option like -u or --unicode needed from now