summaryrefslogtreecommitdiff
path: root/graphics/freetype2
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-01-27 19:29:32 +0000
committerdrochner <drochner@pkgsrc.org>2009-01-27 19:29:32 +0000
commitb05f554ebc17abeb4078e52395bf77e4d2a6f26b (patch)
treef76c7af0a35bcc18bdc1eb1972da6afe19cf4c14 /graphics/freetype2
parent9303c3add3035c6ca232be835eb138186f5da427 (diff)
downloadpkgsrc-b05f554ebc17abeb4078e52395bf77e4d2a6f26b.tar.gz
update to 2.3.8
changes: -improvements for fonts in an SFNT wrapper (used on Mac) -FT_MulFix is now an inlined function; by default, assembler code is provided for x86 and ARM. See FT_CONFIG_OPTION_INLINE_MULFIX and FT_CONFIG_OPTION_NO_ASSEMBLER (in ftoption.h) for more -handling of `tricky' fonts has been generalized and changed slightly -API additions -bugfixes
Diffstat (limited to 'graphics/freetype2')
-rw-r--r--graphics/freetype2/Makefile4
-rw-r--r--graphics/freetype2/PLIST3
-rw-r--r--graphics/freetype2/distinfo9
-rw-r--r--graphics/freetype2/patches/patch-aa22
4 files changed, 31 insertions, 7 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile
index 85ac51b57ce..3c48dec0d17 100644
--- a/graphics/freetype2/Makefile
+++ b/graphics/freetype2/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.66 2008/07/14 03:55:29 tnn Exp $
+# $NetBSD: Makefile,v 1.67 2009/01/27 19:29:32 drochner Exp $
-DISTNAME= freetype-2.3.7
+DISTNAME= freetype-2.3.8
PKGNAME= ${DISTNAME:S/-/2-/}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} \
diff --git a/graphics/freetype2/PLIST b/graphics/freetype2/PLIST
index a9bffd41377..937de216b28 100644
--- a/graphics/freetype2/PLIST
+++ b/graphics/freetype2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2008/06/11 10:35:21 drochner Exp $
+@comment $NetBSD: PLIST,v 1.16 2009/01/27 19:29:32 drochner Exp $
bin/freetype-config
include/freetype2/freetype/config/ftconfig.h
include/freetype2/freetype/config/ftheader.h
@@ -6,6 +6,7 @@ include/freetype2/freetype/config/ftmodule.h
include/freetype2/freetype/config/ftoption.h
include/freetype2/freetype/config/ftstdlib.h
include/freetype2/freetype/freetype.h
+include/freetype2/freetype/ftadvanc.h
include/freetype2/freetype/ftbbox.h
include/freetype2/freetype/ftbdf.h
include/freetype2/freetype/ftbitmap.h
diff --git a/graphics/freetype2/distinfo b/graphics/freetype2/distinfo
index a01a27f9386..60c06b36af9 100644
--- a/graphics/freetype2/distinfo
+++ b/graphics/freetype2/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.28 2008/07/14 03:55:29 tnn Exp $
+$NetBSD: distinfo,v 1.29 2009/01/27 19:29:32 drochner Exp $
-SHA1 (freetype-2.3.7.tar.bz2) = f16f849d6e739ce8842008586af36371a32ac064
-RMD160 (freetype-2.3.7.tar.bz2) = 7333507c5f42d451bf0541f007fe44165f090418
-Size (freetype-2.3.7.tar.bz2) = 1310542 bytes
+SHA1 (freetype-2.3.8.tar.bz2) = 0a15d4498139c6743c0ea388c40aaf40cafd4f44
+RMD160 (freetype-2.3.8.tar.bz2) = e460e8a3aed21727973ac4add4ac8be70ac18534
+Size (freetype-2.3.8.tar.bz2) = 1343318 bytes
+SHA1 (patch-aa) = 655e8ddd41774e86f7307e62589bb3da2351bf4c
diff --git a/graphics/freetype2/patches/patch-aa b/graphics/freetype2/patches/patch-aa
new file mode 100644
index 00000000000..9bc0afdfefe
--- /dev/null
+++ b/graphics/freetype2/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.15 2009/01/27 19:29:32 drochner Exp $
+
+--- src/truetype/ttinterp.c.orig 2008-11-29 22:36:18.000000000 +0100
++++ src/truetype/ttinterp.c
+@@ -5099,7 +5099,7 @@
+ return;
+ }
+
+- if ( ( args[0] & 0x100 ) != 0 && CUR.tt_metrics.ppem < A )
++ if ( ( args[0] & 0x100 ) != 0 && CUR.tt_metrics.ppem <= A )
+ CUR.GS.scan_control = TRUE;
+
+ if ( ( args[0] & 0x200 ) != 0 && CUR.tt_metrics.rotated )
+@@ -5108,7 +5108,7 @@
+ if ( ( args[0] & 0x400 ) != 0 && CUR.tt_metrics.stretched )
+ CUR.GS.scan_control = TRUE;
+
+- if ( ( args[0] & 0x800 ) != 0 && CUR.tt_metrics.ppem >= A )
++ if ( ( args[0] & 0x800 ) != 0 && CUR.tt_metrics.ppem > A )
+ CUR.GS.scan_control = FALSE;
+
+ if ( ( args[0] & 0x1000 ) != 0 && CUR.tt_metrics.rotated )