From acbe0a51c55f9ab3450b282ec553a4d519ed3637 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 29 May 2023 10:32:39 +0530 Subject: [PATCH] Resolves:rh#1813728 - Square four dot Unicode character has incorrect glyph --- gnu-free-fonts.spec | 10 +- gnu-free-sans-square-dot-glyph-fix.patch | 143 +++++++++++++++++++++++ 2 files changed, 149 insertions(+), 4 deletions(-) create mode 100644 gnu-free-sans-square-dot-glyph-fix.patch diff --git a/gnu-free-fonts.spec b/gnu-free-fonts.spec index b8efd9d..b02b1da 100644 --- a/gnu-free-fonts.spec +++ b/gnu-free-fonts.spec @@ -3,7 +3,7 @@ Name: %{fontname}-fonts Version: 20120503 -Release: 29%{?dist} +Release: 30%{?dist} Summary: Free UCS Outline Fonts # Standard font exception @@ -19,6 +19,7 @@ Source7: %{fontname}-sans.metainfo.xml Source8: %{fontname}-serif.metainfo.xml Patch0: gnu-free-fonts-devanagari-rendering.patch +Patch1: gnu-free-sans-square-dot-glyph-fix.patch BuildArch: noarch BuildRequires: make @@ -85,9 +86,7 @@ This package contains the GNU FreeFont serif font. %prep -%setup -qn freefont-%{version} - -%patch0 -p1 -b .devanagari +%autosetup -n freefont-%{version} -p1 # move build scripts to python3 compatible code pushd tools @@ -152,6 +151,9 @@ install -Dm 0644 -p %{SOURCE8} \ %{_datadir}/appdata/%{fontname}.metainfo.xml %changelog +* Sat May 27 2023 Parag Nemade - 20120503-30 +- Resolves:rh#1813728 - Square four dot Unicode character has incorrect glyph + * Wed Mar 01 2023 Gwyn Ciesla - 20120503-29 - migrated to SPDX license diff --git a/gnu-free-sans-square-dot-glyph-fix.patch b/gnu-free-sans-square-dot-glyph-fix.patch new file mode 100644 index 0000000..b13dece --- /dev/null +++ b/gnu-free-sans-square-dot-glyph-fix.patch @@ -0,0 +1,143 @@ +--- freefont-20120503.old/sfd/FreeSans.sfd 2023-05-11 13:54:34.003872193 +0530 ++++ freefont-20120503.old/sfd/FreeSans.sfd 2023-05-18 12:13:57.320957919 +0530 +@@ -193447,8 +193448,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2a +-Encoding: 11818 11818 6215 ++StartChar: uni2e2c ++Encoding: 11818 11820 6215 + Width: 660 + Flags: HMW + LayerCount: 2 +@@ -193460,8 +193461,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2b +-Encoding: 11819 11819 6216 ++StartChar: uni2e2a ++Encoding: 11819 11818 6216 + Width: 623 + Flags: HMW + LayerCount: 2 +@@ -193470,8 +193471,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2c +-Encoding: 11820 11820 6217 ++StartChar: uni2e2b ++Encoding: 11820 11819 6217 + Width: 623 + Flags: HMW + LayerCount: 2 + +--- freefont-20120503.old/sfd/FreeSansBold.sfd 2023-05-27 11:49:31.972472859 +0530 ++++ freefont-20120503/sfd/FreeSansBold.sfd 2023-05-27 12:01:21.108967266 +0530 +@@ -52288,8 +52289,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2a +-Encoding: 11818 11818 2645 ++StartChar: uni2e2c ++Encoding: 11818 11820 2645 + Width: 660 + Flags: HW + LayerCount: 2 +@@ -52301,8 +52302,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2b +-Encoding: 11819 11819 2646 ++StartChar: uni2e2a ++Encoding: 11819 11818 2646 + Width: 623 + Flags: HW + LayerCount: 2 +@@ -52311,8 +52312,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2c +-Encoding: 11820 11820 2647 ++StartChar: uni2e2b ++Encoding: 11820 11819 2647 + Width: 623 + Flags: HW + LayerCount: 2 + +--- freefont-20120503.old/sfd/FreeSansBoldOblique.sfd 2012-05-03 18:53:49.000000000 +0530 ++++ freefont-20120503/sfd/FreeSansBoldOblique.sfd 2023-05-27 11:59:28.625015029 +0530 +@@ -46080,8 +46081,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2a +-Encoding: 11818 11818 2392 ++StartChar: uni2e2c ++Encoding: 11818 11820 2392 + Width: 660 + Flags: HW + LayerCount: 2 +@@ -46093,8 +46094,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2b +-Encoding: 11819 11819 2393 ++StartChar: uni2e2a ++Encoding: 11819 11818 2393 + Width: 660 + Flags: HW + LayerCount: 2 +@@ -46105,8 +46106,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2c +-Encoding: 11820 11820 2394 ++StartChar: uni2e2b ++Encoding: 11820 11819 2394 + Width: 660 + Flags: HW + LayerCount: 2 + +--- freefont-20120503.old/sfd/FreeSansOblique.sfd 2012-05-03 18:53:49.000000000 +0530 ++++ freefont-20120503/sfd/FreeSansOblique.sfd 2023-05-27 11:57:01.703453459 +0530 +@@ -76021,8 +76022,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2a +-Encoding: 11818 11818 3026 ++StartChar: uni2e2c ++Encoding: 11818 11820 3026 + Width: 660 + Flags: HW + LayerCount: 2 +@@ -76034,8 +76035,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2b +-Encoding: 11819 11819 3027 ++StartChar: uni2e2a ++Encoding: 11819 11818 3027 + Width: 623 + Flags: HW + LayerCount: 2 +@@ -76046,8 +76047,8 @@ + Validated: 32769 + EndChar + +-StartChar: uni2e2c +-Encoding: 11820 11820 3028 ++StartChar: uni2e2b ++Encoding: 11820 11819 3028 + Width: 623 + Flags: HW + LayerCount: 2