Some preparations for the next release. * include/freetype/config/ftoption.h (TT_CONFIG_OPTION_SUBPIXEL_HINTING): Enable. * docs/CHANGES: Updated.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
diff --git a/ChangeLog b/ChangeLog
index fc4087c..75708e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-09-02 Werner Lemberg <wl@gnu.org>
+
+ 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 <apodtele@gmail.com>
[smooth] Simplify span rendering more.
diff --git a/docs/CHANGES b/docs/CHANGES
index d2d47cc..089dd90 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 ab9efbe..90c123e 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 ) */