From 0f204aaee7765a4df0509086f3883019465a20c3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Dec 05 2008 21:20:50 +0000 Subject: - Add freetype-autohinter-ligature.patch - Resolves: #368561 --- diff --git a/freetype-autohinter-ligature.patch b/freetype-autohinter-ligature.patch new file mode 100644 index 0000000..9f16787 --- /dev/null +++ b/freetype-autohinter-ligature.patch @@ -0,0 +1,15 @@ +Index: src/autofit/aflatin.c +=================================================================== +RCS file: /cvsroot/freetype/freetype2/src/autofit/aflatin.c,v +retrieving revision 1.65 +diff -u -p -d -r1.65 aflatin.c +--- src/autofit/aflatin.c 7 Jul 2007 07:30:39 -0000 1.65 ++++ src/autofit/aflatin.c 5 Dec 2008 21:15:46 -0000 +@@ -2144,6 +2144,7 @@ + { 0x20A0, 0x20CF }, /* Currency Symbols */ + { 0x2150, 0x218F }, /* Number Forms */ + { 0x2460, 0x24FF }, /* Enclosed Alphanumerics */ ++ { 0xFB00, 0xFB06 }, /* Latin Ligatures */ + { 0 , 0 } + }; + diff --git a/freetype.spec b/freetype.spec index 8fd74ae..aa59210 100644 --- a/freetype.spec +++ b/freetype.spec @@ -1,6 +1,8 @@ # Patented bytecode interpreter and patented subpixel rendering disabled by default. # Pass '--with bytecode_interpreter' and '--with subpixel_rendering' on rpmbuild # command-line to enable them. +%define _with_subpixel_rendering 1} +%define _without_subpixel_rendering 0} %{!?_with_bytecode_interpreter: %{!?_without_bytecode_interpreter: %define _without_bytecode_interpreter --without-bytecode_interpreter}} %{!?_with_subpixel_rendering: %{!?_without_subpixel_rendering: %define _without_subpixel_rendering --without-subpixel_rendering}} @@ -9,7 +11,7 @@ Summary: A free and portable font rendering engine Name: freetype Version: 2.3.7 -Release: 1%{?dist} +Release: 2%{?dist} License: FTL or GPLv2+ Group: System Environment/Libraries URL: http://www.freetype.org @@ -32,6 +34,7 @@ Patch88: freetype-multilib.patch Patch89: freetype-2.2.1-memcpy-fix.patch # Upstream patches +Patch101: freetype-autohinter-ligature.patch Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) @@ -93,6 +96,8 @@ popd %patch88 -p1 -b .multilib %patch89 -p1 -b .memcpy +%patch101 -p0 -b .autohinter-ligature + %build %configure --disable-static @@ -208,6 +213,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/ %changelog +* Fri Dec 05 2008 Behdad Esfahbod 2.3.7-2 +- Add freetype-autohinter-ligature.patch +- Resolves: #368561 + * Tue Aug 14 2008 Behdad Esfahbod 2.3.7-1 - Update to 2.3.7