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.diff -r1.106 -r1.107 pkgsrc/graphics/freetype2/Makefile
(wiz)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.106 2016/07/22 10:30:11 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.107 2016/09/12 18:06:44 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= freetype-2.6.5 | 3 | DISTNAME= freetype-2.7 | |
4 | PKGNAME= ${DISTNAME:S/-/2-/} | 4 | PKGNAME= ${DISTNAME:S/-/2-/} | |
5 | CATEGORIES= graphics | 5 | CATEGORIES= graphics | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} \ | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} \ | |
7 | http://download.savannah.gnu.org/releases/freetype/ | 7 | http://download.savannah.gnu.org/releases/freetype/ | |
8 | EXTRACT_SUFX= .tar.bz2 | 8 | EXTRACT_SUFX= .tar.bz2 | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://www.freetype.org/ | 11 | HOMEPAGE= http://www.freetype.org/ | |
12 | COMMENT= Font rendering engine and library API | 12 | COMMENT= Font rendering engine and library API | |
13 | LICENSE= gnu-gpl-v2 | 13 | LICENSE= gnu-gpl-v2 | |
14 | 14 | |||
15 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
16 | USE_TOOLS+= grep gmake pkg-config | 16 | USE_TOOLS+= grep gmake pkg-config |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.59 2016/07/22 10:30:11 adam Exp $ | 1 | $NetBSD: distinfo,v 1.60 2016/09/12 18:06:44 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (freetype-2.6.5.tar.bz2) = 5db38ae2308c5a2c519c8e071e98b70d61585201 | 3 | SHA1 (freetype-2.7.tar.bz2) = f251029d5ab542a96dd4531605fe577185077560 | |
4 | RMD160 (freetype-2.6.5.tar.bz2) = aa7a75433ed1e54b1904a8c57d924ba45d7ff47e | 4 | RMD160 (freetype-2.7.tar.bz2) = 5a175dceeb4454f87d79fcbd5719f3fed837abeb | |
5 | SHA512 (freetype-2.6.5.tar.bz2) = d60f057e12992b4dccd7d5e232bda5c344e6ed0d74362032fbbc52526bac42d600fe0aa04c6442a9502a27a88f5d5155fb42e723531127400ccfce0d1911487f | 5 | SHA512 (freetype-2.7.tar.bz2) = cd5bcde276d6d59379d9c60a90095be59b0692ec8fd2817aa44ff80ebb84840e8a72be2cfbbbcf7e13258026fa691f28c2673f03c3a3961a859900e61a62d761 | |
6 | Size (freetype-2.6.5.tar.bz2) = 1779603 bytes | 6 | Size (freetype-2.7.tar.bz2) = 1789896 bytes | |
7 | SHA1 (patch-ab) = 5c6998020bda378828035bafe5dfcca6f9cd8fca | 7 | SHA1 (patch-ab) = 5c6998020bda378828035bafe5dfcca6f9cd8fca |
@@ -1,18 +1,13 @@ | @@ -1,18 +1,13 @@ | |||
1 | # $NetBSD: options.mk,v 1.3 2016/07/09 12:23:16 adam Exp $ | 1 | # $NetBSD: options.mk,v 1.4 2016/09/12 18:06:44 wiz Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.freetype2 | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.freetype2 | |
4 | PKG_SUPPORTED_OPTIONS= png subpixel | 4 | PKG_SUPPORTED_OPTIONS= png | |
5 | 5 | |||
6 | .include "../../mk/bsd.options.mk" | 6 | .include "../../mk/bsd.options.mk" | |
7 | 7 | |||
8 | # subpixel (lcd) rendering, patent issues | |||
9 | .if !empty(PKG_OPTIONS:Msubpixel) | |||
10 | CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING | |||
11 | .endif | |||
12 | ||||
13 | .if !empty(PKG_OPTIONS:Mpng) | 8 | .if !empty(PKG_OPTIONS:Mpng) | |
14 | CONFIGURE_ARGS+= --with-png=yes | 9 | CONFIGURE_ARGS+= --with-png=yes | |
15 | .include "../../graphics/png/buildlink3.mk" | 10 | .include "../../graphics/png/buildlink3.mk" | |
16 | .else | 11 | .else | |
17 | CONFIGURE_ARGS+= --with-png=no | 12 | CONFIGURE_ARGS+= --with-png=no | |
18 | .endif | 13 | .endif |