pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/freetype2 Updated freetype2 to 2.7.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab128de7a1a5
branches: trunk
changeset: 352360:ab128de7a1a5
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Sep 12 18:06:44 2016 +0000
description:
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:
graphics/freetype2/Makefile | 4 ++--
graphics/freetype2/distinfo | 10 +++++-----
graphics/freetype2/options.mk | 9 ++-------
3 files changed, 9 insertions(+), 14 deletions(-)
diffs (49 lines):
diff -r c9fc4b2f0cfc -r ab128de7a1a5 graphics/freetype2/Makefile
--- a/graphics/freetype2/Makefile Mon Sep 12 17:44:51 2016 +0000
+++ b/graphics/freetype2/Makefile Mon Sep 12 18:06:44 2016 +0000
@@ -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 -r c9fc4b2f0cfc -r ab128de7a1a5 graphics/freetype2/distinfo
--- a/graphics/freetype2/distinfo Mon Sep 12 17:44:51 2016 +0000
+++ b/graphics/freetype2/distinfo Mon Sep 12 18:06:44 2016 +0000
@@ -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 -r c9fc4b2f0cfc -r ab128de7a1a5 graphics/freetype2/options.mk
--- a/graphics/freetype2/options.mk Mon Sep 12 17:44:51 2016 +0000
+++ b/graphics/freetype2/options.mk Mon Sep 12 18:06:44 2016 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index