summaryrefslogtreecommitdiff
path: root/graphics/freetype2
diff options
context:
space:
mode:
authorwiz <wiz>2016-09-12 18:06:44 +0000
committerwiz <wiz>2016-09-12 18:06:44 +0000
commit53e8cf04e16eb880af3fd1c296ace1f6ecc97f58 (patch)
tree088d2fc5ff8fc558e757709306fb41191906b399 /graphics/freetype2
parent73a1d49d44a9d3571ada1da8befc1f82ef415350 (diff)
downloadpkgsrc-53e8cf04e16eb880af3fd1c296ace1f6ecc97f58.tar.gz
Updated freetype2 to 2.7.
Remove subpixel option which is now on by default. CHANGES BETWEEN 2.6.5 and 2.7 I. IMPORTANT CHANGES - As announced earlier, the 2.7.x series now uses the new subpixel hinting mode as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change the `TT_CONFIG_OPTION_SUBPIXEL_HINTING' configuration option to adapt it to your taste (or use the new `FREETYPE_PROPERTIES' environment variable). See the corresponding entry below for version 2.6.4, which gives more information. - A new option `FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES' has been introduced. If set (which is the default), an environment variable `FREETYPE_PROPERTIES' can be used to control driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. See file `ftoption.h' for more. II. IMPORTANT BUG FIXES - After loading a named instance of a GX variation font, the `face_index' value in the returned `FT_Face' structure now correctly holds the named instance index in the upper 16bits as documented. III. MISCELLANEOUS - A new macro `FT_IS_NAMED_INSTANCE' to test whether a given face is a named instance. - More fixes to GX font handling. - Apple's `GETVARIATION' bytecode operator (needed for GX variation font support) has been implemented. - Another round of fuzzer fixes, mainly to reject invalid fonts faster. - Handling of raw CID fonts was broken (bug introduced in version 2.6.4). - The smooth rasterizer has been streamlined to make it faster by approx. 20%. - The `ftgrid' demo program now understands command line option `-d' to give start-up design coordinates. - The `ftdump' demo program has a new command line option `-p' to dump TrueType bytecode instructions.
Diffstat (limited to 'graphics/freetype2')
-rw-r--r--graphics/freetype2/Makefile4
-rw-r--r--graphics/freetype2/distinfo10
-rw-r--r--graphics/freetype2/options.mk9
3 files changed, 9 insertions, 14 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile
index be0903e183d..b80f3c3a354 100644
--- a/graphics/freetype2/Makefile
+++ b/graphics/freetype2/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.106 2016/07/22 10:30:11 adam Exp $
+# $NetBSD: Makefile,v 1.107 2016/09/12 18:06:44 wiz Exp $
-DISTNAME= freetype-2.6.5
+DISTNAME= freetype-2.7
PKGNAME= ${DISTNAME:S/-/2-/}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} \
diff --git a/graphics/freetype2/distinfo b/graphics/freetype2/distinfo
index c4a125e778f..94d07afbb29 100644
--- a/graphics/freetype2/distinfo
+++ b/graphics/freetype2/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.59 2016/07/22 10:30:11 adam Exp $
+$NetBSD: distinfo,v 1.60 2016/09/12 18:06:44 wiz Exp $
-SHA1 (freetype-2.6.5.tar.bz2) = 5db38ae2308c5a2c519c8e071e98b70d61585201
-RMD160 (freetype-2.6.5.tar.bz2) = aa7a75433ed1e54b1904a8c57d924ba45d7ff47e
-SHA512 (freetype-2.6.5.tar.bz2) = d60f057e12992b4dccd7d5e232bda5c344e6ed0d74362032fbbc52526bac42d600fe0aa04c6442a9502a27a88f5d5155fb42e723531127400ccfce0d1911487f
-Size (freetype-2.6.5.tar.bz2) = 1779603 bytes
+SHA1 (freetype-2.7.tar.bz2) = f251029d5ab542a96dd4531605fe577185077560
+RMD160 (freetype-2.7.tar.bz2) = 5a175dceeb4454f87d79fcbd5719f3fed837abeb
+SHA512 (freetype-2.7.tar.bz2) = cd5bcde276d6d59379d9c60a90095be59b0692ec8fd2817aa44ff80ebb84840e8a72be2cfbbbcf7e13258026fa691f28c2673f03c3a3961a859900e61a62d761
+Size (freetype-2.7.tar.bz2) = 1789896 bytes
SHA1 (patch-ab) = 5c6998020bda378828035bafe5dfcca6f9cd8fca
diff --git a/graphics/freetype2/options.mk b/graphics/freetype2/options.mk
index 8969f3509fc..8fd5b75a5ba 100644
--- a/graphics/freetype2/options.mk
+++ b/graphics/freetype2/options.mk
@@ -1,15 +1,10 @@
-# $NetBSD: options.mk,v 1.3 2016/07/09 12:23:16 adam Exp $
+# $NetBSD: options.mk,v 1.4 2016/09/12 18:06:44 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freetype2
-PKG_SUPPORTED_OPTIONS= png subpixel
+PKG_SUPPORTED_OPTIONS= png
.include "../../mk/bsd.options.mk"
-# subpixel (lcd) rendering, patent issues
-.if !empty(PKG_OPTIONS:Msubpixel)
-CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
-.endif
-
.if !empty(PKG_OPTIONS:Mpng)
CONFIGURE_ARGS+= --with-png=yes
.include "../../graphics/png/buildlink3.mk"