From af6a97e6fb0ca8c9996cfc953948f1adda30a4a2 Mon Sep 17 00:00:00 2001 From: Mosaab Alzoubi Date: Nov 05 2022 14:20:56 +0000 Subject: Add mixed Arabic-English text fix. #2140307 --- diff --git a/wine-arabic.patch b/wine-arabic.patch new file mode 100644 index 0000000..a3b6c01 --- /dev/null +++ b/wine-arabic.patch @@ -0,0 +1,12 @@ +diff -rupN a/dlls/win32u/font.c b/dlls/win32u/font.c +--- a/dlls/win32u/font.c 2022-07-01 22:00:33.000000000 +0300 ++++ b/dlls/win32u/font.c 2022-10-01 09:58:14.457449257 +0300 +@@ -412,7 +412,7 @@ static const struct nls_update_font_list + /* Arabic */ + { 1256, 720, "vgaoem.fon", "vgaf1256.fon", "vgas1256.fon", + "coue1256.fon", "sere1256.fon", "smae1256.fon", "ssee1256.fon", "ssef1256.fon", +- "Microsoft Sans Serif","Times New Roman", ++ "Tahoma","Times New Roman", + "Fixedsys,178", "System,178", + "Courier New,178", "MS Serif,178", "Small Fonts,178", + "MS Sans Serif,178", "MS Sans Serif,178", "MS Serif,178" diff --git a/wine.spec b/wine.spec index 175d8b9..0b733cb 100644 --- a/wine.spec +++ b/wine.spec @@ -47,7 +47,7 @@ Name: wine Version: 7.20 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A compatibility layer for windows applications License: LGPLv2+ @@ -96,6 +96,7 @@ Source502: wine-README-tahoma Patch100: wine-7.5-cross.patch Patch511: wine-cjk.patch +Patch512: wine-arabic.patch %if 0%{?wine_staging} # wine-staging patches @@ -723,6 +724,7 @@ This package adds the opencl driver for wine. %setup -qn wine-%{version} %patch100 -p1 -b.cross %patch511 -p1 -b.cjk +%patch512 -p1 -b.arabic %if 0%{?wine_staging} # setup and apply wine-staging patches @@ -2827,6 +2829,9 @@ fi %endif %changelog +* Wed Nov 2 2022 Mosaab Alzoubi - 7.20-2 +- Add mixed Arabic-English text fix. #2140307 + * Mon Oct 31 2022 Michael Cronenworth - 7.20-1 - version update