From 2bb6175be208b986b399f34a721c9f4c593f4c80 Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Mon, 24 Jun 2013 07:53:24 -0500 Subject: [PATCH] Fix devangari rendering. --- gnu-free-fonts-devanagari-rendering.patch | 40 +++++++++++++++++++++++ gnu-free-fonts.spec | 7 +++- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 gnu-free-fonts-devanagari-rendering.patch diff --git a/gnu-free-fonts-devanagari-rendering.patch b/gnu-free-fonts-devanagari-rendering.patch new file mode 100644 index 0000000..9923b05 --- /dev/null +++ b/gnu-free-fonts-devanagari-rendering.patch @@ -0,0 +1,40 @@ +--- freefont-20120503/sfd/FreeSansBold.sfd 2012-05-03 18:53:49.000000000 +0530 ++++ freefont-20120503/sfd/FreeSansBold.sfd 2013-05-16 12:39:06.399829387 +0530 +@@ -59117,6 +59117,7 @@ Substitution2: "Substitute rakaar.blf fo + Ligature2: "Substitute rakaar for virama-ra in Devanagari-subtable" virama radeva + LCarets2: 1 0 + Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama ++Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva + EndChar + + StartChar: dev_ha_rrvocalic.blws +--- freefont-20120503/sfd/FreeSans.sfd 2012-05-03 18:53:49.000000000 +0530 ++++ freefont-20120503/sfd/FreeSans.sfd 2013-05-16 12:42:00.215227977 +0530 +@@ -83796,6 +83796,7 @@ EndSplineSet + Validated: 3073 + LCarets2: 1 0 + Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama ++Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva + EndChar + + StartChar: dev_ra_anusvara.rphf +--- freefont-20120503/sfd/FreeSerifBold.sfd 2012-05-03 18:53:49.000000000 +0530 ++++ freefont-20120503/sfd/FreeSerifBold.sfd 2013-05-16 13:37:31.159274925 +0530 +@@ -112581,6 +112581,7 @@ EndSplineSet + Validated: 3073 + LCarets2: 1 0 + Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama ++Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva + Ligature2: "Substitute rakaar for virama-ra in Devanagari-subtable" virama radeva + Substitution2: "Substitute rakaar.blf for rakaar in Devanagari" dev_rakaar.blwf + EndChar +--- freefont-20120503/sfd/FreeSerif.sfd 2012-05-03 18:53:49.000000000 +0530 ++++ freefont-20120503/sfd/FreeSerif.sfd 2013-05-16 13:36:04.382132354 +0530 +@@ -328421,6 +328421,7 @@ Validated: 1 + LCarets2: 1 0 + Ligature2: "Substitute rakaar for virama-ra in Devanagari-subtable" virama radeva + Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama ++Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva + Substitution2: "Substitute rakaar.blf for rakaar in Devanagari" dev_rakaar.blwf + EndChar + diff --git a/gnu-free-fonts.spec b/gnu-free-fonts.spec index 113f3be..c6c0d8e 100644 --- a/gnu-free-fonts.spec +++ b/gnu-free-fonts.spec @@ -3,7 +3,7 @@ Name: %{fontname}-fonts Version: 20120503 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Free UCS Outline Fonts Group: User Interface/X # Standard font exception @@ -13,6 +13,7 @@ Source0: http://ftp.gnu.org/gnu/freefont/freefont-src-%{version}.tar.gz Source2: %{fontconf}-mono.conf Source3: %{fontconf}-sans.conf Source4: %{fontconf}-serif.conf +Patch0: gnu-free-fonts-devanagari-rendering.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: fontpackages-devel fontforge @@ -78,6 +79,7 @@ This package contains the GNU FreeFont serif font. %prep %setup -qn freefont-%{version} +%patch0 -p1 -b .devanagari %build make @@ -121,6 +123,9 @@ rm -rf %{buildroot} %doc AUTHORS ChangeLog CREDITS COPYING README %changelog +* Mon Jun 24 2013 Jon Ciesla 20120503-7 +- Patch for devanagari rendering, BZ 961298. + * Wed May 15 2013 Jon Ciesla 20120503-6 - Additional Indic rendering fix, BZ 871252.