From 7a13dc008b9128a785c30471103b53136b05b5de Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 2 Sep 2016 08:24:01 +0200 Subject: [PATCH] Some preparations for the next release. * include/freetype/config/ftoption.h (TT_CONFIG_OPTION_SUBPIXEL_HINTING): Enable. * docs/CHANGES: Updated. --- ChangeLog | 9 ++++++ docs/CHANGES | 45 ++++++++++++++++++++++++++++-- include/freetype/config/ftoption.h | 2 +- 3 files changed, 52 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fc4087c95..75708e110 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2016-09-02 Werner Lemberg + + Some preparations for the next release. + + * include/freetype/config/ftoption.h + (TT_CONFIG_OPTION_SUBPIXEL_HINTING): Enable. + + * docs/CHANGES: Updated. + 2016-09-01 Alexei Podtelezhnikov [smooth] Simplify span rendering more. diff --git a/docs/CHANGES b/docs/CHANGES index d2d47cce4..089dd9028 100644 --- a/docs/CHANGES +++ b/docs/CHANGES @@ -1,7 +1,33 @@ CHANGES BETWEEN 2.6.5 and 2.7 - I. IMPORTANT BUG FIXES + 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 @@ -9,11 +35,24 @@ CHANGES BETWEEN 2.6.5 and 2.7 documented. - II. MISCELLANEOUS + III. MISCELLANEOUS - - A new macro `FT_IS_NAMED_INSTANCE' to test whether a given face + - 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. + ====================================================================== diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h index ab9efbe3e..90c123ef9 100644 --- a/include/freetype/config/ftoption.h +++ b/include/freetype/config/ftoption.h @@ -675,7 +675,7 @@ FT_BEGIN_HEADER /* [1] http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */ /* */ /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */ -/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */ +#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */