[packages/freetype] - up to 2.4.12; lets try adobe hinting engine

arekm arekm at pld-linux.org
Thu May 9 10:28:44 CEST 2013


commit 3117ed1d05fcb7d8bbe586c757b501f5e082ea9b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu May 9 10:28:41 2013 +0200

    - up to 2.4.12; lets try adobe hinting engine

 freetype-hinting-adobe.patch | 12 ++++++++++++
 freetype.spec                | 12 +++++++-----
 2 files changed, 19 insertions(+), 5 deletions(-)
---
diff --git a/freetype.spec b/freetype.spec
index f76451f..ce78058 100644
--- a/freetype.spec
+++ b/freetype.spec
@@ -12,18 +12,19 @@ Summary(pt_BR.UTF-8):	Biblioteca de renderização de fontes TrueType
 Summary(ru.UTF-8):	Растеризатор шрифтов TrueType
 Summary(uk.UTF-8):	Растеризатор шрифтів TrueType
 Name:		freetype
-Version:	2.4.11
-Release:	2
+Version:	2.4.12
+Release:	1
 Epoch:		1
 License:	GPL v2 or FTL
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/freetype/%{name}-%{version}.tar.bz2
-# Source0-md5:	b93435488942486c8d0ca22e8f768034
+# Source0-md5:	3463102764315eb86c0d3c2e1f3ffb7d
 Source1:	http://downloads.sourceforge.net/freetype/%{name}-doc-%{version}.tar.bz2
-# Source1-md5:	20f148103e069093f53584ce5ba16581
+# Source1-md5:	e3955ef324b2ceea74dc849e07fbfb7a
 Source2:	http://downloads.sourceforge.net/freetype/ft2demos-%{version}.tar.bz2
-# Source2-md5:	4c751f2b02bd181102c377a6396d8454
+# Source2-md5:	79d2329da1a118d559ec6bd77fddb210
 Patch0:		freetype-2.2.1-enable-valid.patch
+Patch1:		freetype-hinting-adobe.patch
 URL:		http://www.freetype.org/
 BuildRequires:	automake
 BuildRequires:	bzip2-devel
@@ -191,6 +192,7 @@ Programy demonstracyjne do biblioteki FreeType.
 %prep
 %setup -q -a1 -a2
 %patch0 -p1
+%patch1 -p1
 
 %build
 CFLAGS="%{rpmcflags} %{rpmcppflags} \
diff --git a/freetype-hinting-adobe.patch b/freetype-hinting-adobe.patch
new file mode 100644
index 0000000..0faa1e3
--- /dev/null
+++ b/freetype-hinting-adobe.patch
@@ -0,0 +1,12 @@
+diff -urN freetype-2.4.12.org/src/cff/cffobjs.c freetype-2.4.12/src/cff/cffobjs.c
+--- freetype-2.4.12.org/src/cff/cffobjs.c	2013-05-01 11:34:28.000000000 +0200
++++ freetype-2.4.12/src/cff/cffobjs.c	2013-05-09 10:27:13.286264482 +0200
+@@ -1056,7 +1056,7 @@
+ 
+ 
+     /* set default property values */
+-    driver->hinting_engine    = FT_CFF_HINTING_FREETYPE;
++    driver->hinting_engine    = FT_CFF_HINTING_ADOBE;
+     driver->no_stem_darkening = FALSE;
+ 
+     return FT_Err_Ok;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/freetype.git/commitdiff/3117ed1d05fcb7d8bbe586c757b501f5e082ea9b



More information about the pld-cvs-commit mailing list