From 8470cee8aa2e582e4cad3d3e6c0f7a18bdfdb87c Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sat, 30 Dec 2017 20:50:50 +0100 Subject: [PATCH] Updated `CHANGES' file. --- docs/CHANGES | 74 +++++++++++++++++++++++++++++++++++++ docs/formats.txt | 4 +- include/freetype/ftdriver.h | 6 +++ 3 files changed, 82 insertions(+), 2 deletions(-) diff --git a/docs/CHANGES b/docs/CHANGES index a9e450f9d..4f8b9d48f 100644 --- a/docs/CHANGES +++ b/docs/CHANGES @@ -1,4 +1,78 @@ +CHANGES BETWEEN 2.8.1 and 2.8.2 + + I. IMPORTANT BUG FIXES + + - Advance width values of variation fonts were often wrong. + + - More fixes for variation font support; you should update to this + version if you want to support them. + + + II. IMPORTANT CHANGES + + - As a GSoC project, Ewald Hew extended the new (Adobe) CFF engine + to handle Type 1 fonts also, thus greatly improving the + rendering of this format. This is the new default. The old + engine is still available if the configuration macro + `T1_CONFIG_OPTION_OLD_ENGINE' gets defined; using the + `hinting-engine' property of the `type1' driver module you can + then switch between the two engines. + + - A new function, `FT_Set_Named_Instance', can be used to set or + change the current named instance. + + - Starting with this FreeType version, resetting variation + coordinates will return to the currently selected named + instance. Previously, FreeType returned to the base font (i.e., + no instance set). + + + III. MISCELLANEOUS + + - The `face_flags' field of the `FT_Face' structure has a new bit, + `FT_FACE_FLAG_VARIATION', which is set if a variation font has + been altered with `FT_Set_MM_Design_Coordinates', + `FT_Set_Var_Design_Coordinates', or + `FT_Set_Var_Blend_Coordinates'. + + - If the current face is a named instance, the new macro + `FT_IS_NAMED_INSTANCE' returns true. + + - `FT_IS_VARIATION' is a new macro that returns true whenever a + face object has been altered by `FT_Set_MM_Design_Coordinates', + `FT_Set_Var_Design_Coordinates', or + `FT_Set_Var_Blend_Coordinates'. + + - Changing the design coordinates of a variation font with + `FT_Set_Var_Design_Coordinates' or + `FT_Set_Var_Blend_Coordinates' does not influence the named + instance index value (only `FT_Set_Named_Instance' does that). + + - Special PostScript names for named instances are only returned + if the named instance is set with `FT_Set_Named_Instance' (and + the font has corresponding entries in its `fvar' table). If + `FT_IS_VARIATION' returns true, the algorithmically derived + PostScript name is provided, not looking up special entries for + named instances. + + - On platforms using the `configure' script, the installed + `ftoption.h' file now correctly reflects configuration options + like `--with-harfbuzz'. + + - Better support to build FreeType as a DLL on Windows using + Visual C. + + - All data specific to driver modules is now collected in a single + file, `FT_DRIVER_H'. Consequently, the macros + `FT_AUTOHINTER_H', `FT_CFF_DRIVER_H', `FT_TRUETYPE_DRIVER_H', + and `FT_PCF_DRIVER_H' still work but are deprecated. + + - Some fuzzer fixes to better reject malformed fonts. + + +====================================================================== + CHANGES BETWEEN 2.8 and 2.8.1 I. IMPORTANT BUG FIXES diff --git a/docs/formats.txt b/docs/formats.txt index 23550a82f..4461e3870 100644 --- a/docs/formats.txt +++ b/docs/formats.txt @@ -155,8 +155,8 @@ which isn't supported yet please send a mail too. [1] Support should be rather simple since this is identical to `CFF' but in a PS wrapper. -[2] Official PFR specification is no longer available, but archive.org - has arvchived it: +[2] The official PFR specification is no longer available, but + archive.org has archived it: https://web.archive.org/web/20091014062300/http://www.bitstream.com/font_rendering/products/truedoc/pfrspec.html https://web.archive.org/web/20081115152605/http://www.bitstream.com/font_rendering/pdfs/pfrspec1.3.pdf diff --git a/include/freetype/ftdriver.h b/include/freetype/ftdriver.h index 063ceec31..03fc0a18e 100644 --- a/include/freetype/ftdriver.h +++ b/include/freetype/ftdriver.h @@ -1096,6 +1096,9 @@ FT_BEGIN_HEADER * an @FT_Face structure but not loaded any glyph (using the * auto-hinter), a change of the default script will affect this face. * + * @since: + * 2.5.3 + * */ @@ -1204,6 +1207,9 @@ FT_BEGIN_HEADER * change its value before rendering any face. Otherwise, you should * reload all faces that get auto-hinted in `normal' hinting mode. * + * @since: + * 2.6 + * */