From 390a5c5dcaeb206b7fe38a4ee7bd8d856b45e71f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 08:44:11 +0000 Subject: [PATCH 01/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- whichfont.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichfont.spec b/whichfont.spec index 8537432..f70b0b9 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,6 +1,6 @@ Name: whichfont Version: 1.0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Querying Fontconfig License: GPL-3.0-or-later @@ -34,6 +34,9 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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 From 32ba164de8641f53035764f7dc31b9284fdda733 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 09:18:46 +0000 Subject: [PATCH 02/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- whichfont.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichfont.spec b/whichfont.spec index f70b0b9..04b0f3e 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,6 +1,6 @@ Name: whichfont Version: 1.0.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Querying Fontconfig License: GPL-3.0-or-later @@ -34,6 +34,9 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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 From a1ecc0590a107026fb84b2f2e321bd5336f4af6d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:59:06 +0000 Subject: [PATCH 03/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- whichfont.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichfont.spec b/whichfont.spec index 04b0f3e..d5967a3 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,6 +1,6 @@ Name: whichfont Version: 1.0.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Querying Fontconfig License: GPL-3.0-or-later @@ -34,6 +34,9 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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 From 9c840646919f06caf6dbcf2e54b03c36647acf88 Mon Sep 17 00:00:00 2001 From: Sudip Shil Date: Tue, 15 Apr 2025 15:06:53 +0530 Subject: [PATCH 04/11] new release 2.1.0 with --language feature --- .gitignore | 1 + sources | 2 +- whichfont.spec | 9 ++++++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bed8777..07d41a3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /whichfont-1.0.5.tar.gz /whichfont-1.0.6.tar.gz +/whichfont-2.1.0.tar.gz diff --git a/sources b/sources index 445ff76..881d4e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (whichfont-1.0.6.tar.gz) = b7afb5328e6458970446ab0b13528d62c88927e441230e8a0c603a8d5f3b71b8f5bc92031b0e88b8424ffc804037734f4f268ff5f9a65de469d3f969e442da82 +SHA512 (whichfont-2.1.0.tar.gz) = 1addb165703528e66c1111b77a77be8d983f32c863eccbd54e123078c9fc43b4bae8a9dc1c9d653df4f46cfba49344359ac89c6420f0fdd64f71e7fc47884f0f diff --git a/whichfont.spec b/whichfont.spec index d5967a3..2222aa7 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,5 +1,5 @@ Name: whichfont -Version: 1.0.9 +Version: 2.1.0 Release: 4%{?dist} Summary: Querying Fontconfig @@ -34,6 +34,13 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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 From e307a691141a928d681136f02c4f8e964a300df5 Mon Sep 17 00:00:00 2001 From: Sudip Shil Date: Thu, 8 May 2025 15:36:39 +0530 Subject: [PATCH 05/11] release 2.2.0 with space-separated input char, :: param feature, new help section and README update --- .gitignore | 1 + sources | 2 +- whichfont.spec | 10 ++++++++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 07d41a3..bcfae68 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /whichfont-1.0.5.tar.gz /whichfont-1.0.6.tar.gz /whichfont-2.1.0.tar.gz +/whichfont-2.2.0.tar.gz diff --git a/sources b/sources index 881d4e7..feb4d82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (whichfont-2.1.0.tar.gz) = 1addb165703528e66c1111b77a77be8d983f32c863eccbd54e123078c9fc43b4bae8a9dc1c9d653df4f46cfba49344359ac89c6420f0fdd64f71e7fc47884f0f +SHA512 (whichfont-2.2.0.tar.gz) = e944fc06b14d0acdafb7f89d661f58b52f2530cf4f639b5f4111f7ca599b1bbf7cea3e7029ae7aac91010d335f8b45484b1e2face9847bcd81c746fbd26ce5e9 diff --git a/whichfont.spec b/whichfont.spec index 2222aa7..a052152 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,6 +1,6 @@ Name: whichfont -Version: 2.1.0 -Release: 4%{?dist} +Version: 2.2.0 +Release: 1%{?dist} Summary: Querying Fontconfig License: GPL-3.0-or-later @@ -34,6 +34,12 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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. From 6cd70bc19ba9e7534f88b34e52d1e32d183fb130 Mon Sep 17 00:00:00 2001 From: Sudip Shil Date: Wed, 11 Jun 2025 04:15:07 +0530 Subject: [PATCH 06/11] new release 2.3.0 with -f option improvement, test case updated, github workflow in github upstream repo --- .gitignore | 1 + sources | 2 +- whichfont.spec | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bcfae68..e801ed0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /whichfont-1.0.6.tar.gz /whichfont-2.1.0.tar.gz /whichfont-2.2.0.tar.gz +/whichfont-2.3.0.tar.gz diff --git a/sources b/sources index feb4d82..a65f98d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (whichfont-2.2.0.tar.gz) = e944fc06b14d0acdafb7f89d661f58b52f2530cf4f639b5f4111f7ca599b1bbf7cea3e7029ae7aac91010d335f8b45484b1e2face9847bcd81c746fbd26ce5e9 +SHA512 (whichfont-2.3.0.tar.gz) = 85018911f247e8298b73a4e3860a782159cc10d1f978d6f212c3d4c6668ec7630f2d981ce1cc8c8b2044257a1e8525e4c944ec2aafd30b5a4e05b265d83025aa diff --git a/whichfont.spec b/whichfont.spec index a052152..6477a64 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,5 +1,5 @@ Name: whichfont -Version: 2.2.0 +Version: 2.3.0 Release: 1%{?dist} Summary: Querying Fontconfig @@ -34,6 +34,11 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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. From ce5f22c510393bb91b3207bdccb1960c3f5928e7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 20:24:12 +0000 Subject: [PATCH 07/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- whichfont.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichfont.spec b/whichfont.spec index 6477a64..4495cf0 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,6 +1,6 @@ Name: whichfont Version: 2.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Querying Fontconfig License: GPL-3.0-or-later @@ -34,6 +34,9 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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 From d486871fab0f5eb88a3cfe8fed2317b1100383e8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:13:24 +0000 Subject: [PATCH 08/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- whichfont.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichfont.spec b/whichfont.spec index 4495cf0..d02dad1 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,6 +1,6 @@ Name: whichfont Version: 2.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Querying Fontconfig License: GPL-3.0-or-later @@ -34,6 +34,9 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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 From 48093e2a08f0a5c4f25022b5dcbe7dbb90ef23fa Mon Sep 17 00:00:00 2001 From: Sudip Shil Date: Thu, 2 Apr 2026 11:47:14 +0530 Subject: [PATCH 09/11] new release 3.0.0 Integrate Pango API for font segmentation, refine emoji hex detection, and fix fallbac /CI bugs. --- .gitignore | 1 + sources | 2 +- whichfont.spec | 13 +++++++++++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e801ed0..8d0100e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /whichfont-2.1.0.tar.gz /whichfont-2.2.0.tar.gz /whichfont-2.3.0.tar.gz +/whichfont-3.0.0.tar.gz diff --git a/sources b/sources index a65f98d..387a10e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (whichfont-2.3.0.tar.gz) = 85018911f247e8298b73a4e3860a782159cc10d1f978d6f212c3d4c6668ec7630f2d981ce1cc8c8b2044257a1e8525e4c944ec2aafd30b5a4e05b265d83025aa +SHA512 (whichfont-3.0.0.tar.gz) = b31bb765a971e62d379a8ec1a9d079294a95522b46cc54d0fd6105e196e864fcf96118b76895f0ca3b19e14b7a6b0f17b986c4d2f620c8d85460be853f2c33b7 diff --git a/whichfont.spec b/whichfont.spec index d02dad1..2b8d1ec 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,6 +1,6 @@ Name: whichfont -Version: 2.3.0 -Release: 3%{?dist} +Version: 3.0.0 +Release: 1%{?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,13 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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 From b574bbf4c2459d45d1c1c56ec6e24c1ac5f0eaf2 Mon Sep 17 00:00:00 2001 From: Sudip Shil Date: Sat, 9 May 2026 13:18:14 +0530 Subject: [PATCH 10/11] whichfont will always accept and override --help option and update to 3.0.1 --- .gitignore | 1 + sources | 2 +- whichfont.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8d0100e..ae89dae 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /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 387a10e..4411fe5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (whichfont-3.0.0.tar.gz) = b31bb765a971e62d379a8ec1a9d079294a95522b46cc54d0fd6105e196e864fcf96118b76895f0ca3b19e14b7a6b0f17b986c4d2f620c8d85460be853f2c33b7 +SHA512 (whichfont-3.0.1.tar.gz) = a7e43764da658c2b0b1f8cf767dea2c556fe8b071a9aff0871c2ab3bad2d5dd74e22827311560776191b8be60a47464bb59368ff0381e12b75b8783891ab7731 diff --git a/whichfont.spec b/whichfont.spec index 2b8d1ec..02b7d25 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,5 +1,5 @@ Name: whichfont -Version: 3.0.0 +Version: 3.0.1 Release: 1%{?dist} Summary: Querying Fontconfig @@ -36,6 +36,9 @@ Querying fontconfig for certain code point. %{_bindir}/%{name} %changelog +* 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 From 812a675bd82eda30b2684fdb488b13e7e8578ece Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:47:45 +0000 Subject: [PATCH 11/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- whichfont.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichfont.spec b/whichfont.spec index 02b7d25..bd682f5 100644 --- a/whichfont.spec +++ b/whichfont.spec @@ -1,6 +1,6 @@ Name: whichfont Version: 3.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Querying Fontconfig License: GPL-3.0-or-later @@ -36,6 +36,9 @@ 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