Mon Sep 12 18:06:44 2016 UTC ()
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.


(wiz)
diff -r1.106 -r1.107 pkgsrc/graphics/freetype2/Makefile
diff -r1.59 -r1.60 pkgsrc/graphics/freetype2/distinfo
diff -r1.3 -r1.4 pkgsrc/graphics/freetype2/options.mk

cvs diff -r1.106 -r1.107 pkgsrc/graphics/freetype2/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/freetype2/Makefile 2016/07/22 10:30:11 1.106
+++ pkgsrc/graphics/freetype2/Makefile 2016/09/12 18:06:44 1.107
@@ -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
3DISTNAME= freetype-2.6.5 3DISTNAME= freetype-2.7
4PKGNAME= ${DISTNAME:S/-/2-/} 4PKGNAME= ${DISTNAME:S/-/2-/}
5CATEGORIES= graphics 5CATEGORIES= graphics
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} \ 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} \
7 http://download.savannah.gnu.org/releases/freetype/ 7 http://download.savannah.gnu.org/releases/freetype/
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.freetype.org/ 11HOMEPAGE= http://www.freetype.org/
12COMMENT= Font rendering engine and library API 12COMMENT= Font rendering engine and library API
13LICENSE= gnu-gpl-v2 13LICENSE= gnu-gpl-v2
14 14
15USE_LIBTOOL= yes 15USE_LIBTOOL= yes
16USE_TOOLS+= grep gmake pkg-config 16USE_TOOLS+= grep gmake pkg-config

cvs diff -r1.59 -r1.60 pkgsrc/graphics/freetype2/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/freetype2/distinfo 2016/07/22 10:30:11 1.59
+++ pkgsrc/graphics/freetype2/distinfo 2016/09/12 18:06:44 1.60
@@ -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
3SHA1 (freetype-2.6.5.tar.bz2) = 5db38ae2308c5a2c519c8e071e98b70d61585201 3SHA1 (freetype-2.7.tar.bz2) = f251029d5ab542a96dd4531605fe577185077560
4RMD160 (freetype-2.6.5.tar.bz2) = aa7a75433ed1e54b1904a8c57d924ba45d7ff47e 4RMD160 (freetype-2.7.tar.bz2) = 5a175dceeb4454f87d79fcbd5719f3fed837abeb
5SHA512 (freetype-2.6.5.tar.bz2) = d60f057e12992b4dccd7d5e232bda5c344e6ed0d74362032fbbc52526bac42d600fe0aa04c6442a9502a27a88f5d5155fb42e723531127400ccfce0d1911487f 5SHA512 (freetype-2.7.tar.bz2) = cd5bcde276d6d59379d9c60a90095be59b0692ec8fd2817aa44ff80ebb84840e8a72be2cfbbbcf7e13258026fa691f28c2673f03c3a3961a859900e61a62d761
6Size (freetype-2.6.5.tar.bz2) = 1779603 bytes 6Size (freetype-2.7.tar.bz2) = 1789896 bytes
7SHA1 (patch-ab) = 5c6998020bda378828035bafe5dfcca6f9cd8fca 7SHA1 (patch-ab) = 5c6998020bda378828035bafe5dfcca6f9cd8fca

cvs diff -r1.3 -r1.4 pkgsrc/graphics/freetype2/options.mk (expand / switch to unified diff)

--- pkgsrc/graphics/freetype2/options.mk 2016/07/09 12:23:16 1.3
+++ pkgsrc/graphics/freetype2/options.mk 2016/09/12 18:06:44 1.4
@@ -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
3PKG_OPTIONS_VAR= PKG_OPTIONS.freetype2 3PKG_OPTIONS_VAR= PKG_OPTIONS.freetype2
4PKG_SUPPORTED_OPTIONS= png subpixel 4PKG_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) 
10CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING 
11.endif 
12 
13.if !empty(PKG_OPTIONS:Mpng) 8.if !empty(PKG_OPTIONS:Mpng)
14CONFIGURE_ARGS+= --with-png=yes 9CONFIGURE_ARGS+= --with-png=yes
15.include "../../graphics/png/buildlink3.mk" 10.include "../../graphics/png/buildlink3.mk"
16.else 11.else
17CONFIGURE_ARGS+= --with-png=no 12CONFIGURE_ARGS+= --with-png=no
18.endif 13.endif