diff --git a/NEWS b/NEWS index 9bfe99a2d68e70706cc561e9007736161a4dbba4..ff4f6e29df23e6e4e4a293659819d7d3f552e16d 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,38 @@ +Overview of changes leading to 2.2.0 +Thursday, November 29, 2018 +==================================== +- Misc shaping bug fixes. +- Add font variations named-instance API. +- Deprecate font variations axis enumeration API and add replacement. +- AAT shaping improvements: + o Fixed 'kern' table Format 2 implementation. + o Implement 'feat' table API for feature detection. + o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'. + +New API: ++hb_aat_layout_feature_type_t ++hb_aat_layout_feature_selector_t ++hb_aat_layout_get_feature_types() ++hb_aat_layout_feature_type_get_name_id ++hb_aat_layout_feature_selector_info_t ++HB_AAT_LAYOUT_NO_SELECTOR_INDEX ++hb_aat_layout_feature_type_get_selector_infos() ++hb_ot_var_axis_flags_t ++hb_ot_var_axis_info_t ++hb_ot_var_get_axis_infos() ++hb_ot_var_find_axis_info() ++hb_ot_var_get_named_instance_count() ++hb_ot_var_named_instance_get_subfamily_name_id() ++hb_ot_var_named_instance_get_postscript_name_id() ++hb_ot_var_named_instance_get_design_coords() + +Deprecated API: ++HB_OT_VAR_NO_AXIS_INDEX ++hb_ot_var_axis_t ++hb_ot_var_get_axes() ++hb_ot_var_find_axis() + + Overview of changes leading to 2.1.3 Friday, November 16, 2018 ==================================== diff --git a/configure.ac b/configure.ac index e9db42a78e913ab090d32522eff0bd0329045a92..0649464386d15a6510dbd435415a46b5fcb04ff0 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ([2.64]) AC_INIT([HarfBuzz], - [2.1.3], + [2.2.0], [https://github.com/harfbuzz/harfbuzz/issues/new], [harfbuzz], [http://harfbuzz.org/]) diff --git a/src/hb-aat-layout.cc b/src/hb-aat-layout.cc index 727da42a8b9eb8bbf50953b102779465f7da4ff9..fae67800c00ecab701e602829cd47c238551c773 100644 --- a/src/hb-aat-layout.cc +++ b/src/hb-aat-layout.cc @@ -318,7 +318,7 @@ _hb_aat_language_get (hb_face_t *face, * * Return value: Number of all available feature types. * - * Since: REPLACEME + * Since: 2.2.0 */ unsigned int hb_aat_layout_get_feature_types (hb_face_t *face, @@ -336,7 +336,7 @@ hb_aat_layout_get_feature_types (hb_face_t *face, * * Return value: Name ID index * - * Since: REPLACEME + * Since: 2.2.0 */ hb_ot_name_id_t hb_aat_layout_feature_type_get_name_id (hb_face_t *face, @@ -358,7 +358,7 @@ hb_aat_layout_feature_type_get_name_id (hb_face_t *face, * * Return value: Number of all available feature selectors. * - * Since: REPLACEME + * Since: 2.2.0 */ unsigned int hb_aat_layout_feature_type_get_selector_infos (hb_face_t *face, diff --git a/src/hb-aat-layout.h b/src/hb-aat-layout.h index 5912e012bb30fe581390ee9b8d062a7aef82333d..696e903340986340059610217dd89192ad2b5975 100644 --- a/src/hb-aat-layout.h +++ b/src/hb-aat-layout.h @@ -39,7 +39,7 @@ HB_BEGIN_DECLS * hb_aat_layout_feature_type_t: * * - * Since: REPLACEME + * Since: 2.2.0 */ typedef enum { @@ -92,7 +92,7 @@ typedef enum * hb_aat_layout_feature_selector_t: * * - * Since: REPLACEME + * Since: 2.2.0 */ typedef enum { diff --git a/src/hb-deprecated.h b/src/hb-deprecated.h index a74431f05f6c78a15ba1966dae398d7fc1a1763c..9ceb264816c417ad57a65edd5e0b7965b6bc660c 100644 --- a/src/hb-deprecated.h +++ b/src/hb-deprecated.h @@ -247,7 +247,7 @@ typedef unsigned int hb_ot_name_id_t; /* Since is in hb-ot.h */ * HB_OT_VAR_NO_AXIS_INDEX: * * Since: 1.4.2 - * Deprecated: REPLACEME + * Deprecated: 2.2.0 */ #define HB_OT_VAR_NO_AXIS_INDEX 0xFFFFFFFFu @@ -255,7 +255,7 @@ typedef unsigned int hb_ot_name_id_t; /* Since is in hb-ot.h */ * hb_ot_var_axis_t: * * Since: 1.4.2 - * Deprecated: REPLACEME + * Deprecated: 2.2.0 */ typedef struct hb_ot_var_axis_t { diff --git a/src/hb-ot-var.cc b/src/hb-ot-var.cc index 56d2481787e813f80652a7fba10245c1d0d8f579..e327fb76243991f5416d1e81baeb88696bbfa262 100644 --- a/src/hb-ot-var.cc +++ b/src/hb-ot-var.cc @@ -79,7 +79,7 @@ hb_ot_var_get_axis_count (hb_face_t *face) * hb_ot_var_get_axes: * * Since: 1.4.2 - * Deprecated: REPLACEME + * Deprecated: 2.2.0 **/ unsigned int hb_ot_var_get_axes (hb_face_t *face, @@ -94,7 +94,7 @@ hb_ot_var_get_axes (hb_face_t *face, * hb_ot_var_find_axis: * * Since: 1.4.2 - * Deprecated: REPLACEME + * Deprecated: 2.2.0 **/ hb_bool_t hb_ot_var_find_axis (hb_face_t *face, @@ -108,7 +108,7 @@ hb_ot_var_find_axis (hb_face_t *face, /** * hb_ot_var_get_axis_infos: * - * Since: REPLACEME + * Since: 2.2.0 **/ HB_EXTERN unsigned int hb_ot_var_get_axis_infos (hb_face_t *face, @@ -122,7 +122,7 @@ hb_ot_var_get_axis_infos (hb_face_t *face, /** * hb_ot_var_find_axis_info: * - * Since: REPLACEME + * Since: 2.2.0 **/ HB_EXTERN hb_bool_t hb_ot_var_find_axis_info (hb_face_t *face, diff --git a/src/hb-ot-var.h b/src/hb-ot-var.h index 779be10437ec814c2152c44989934f56069c38d2..b9d5e408df001b753e69f57b61401407974687dc 100644 --- a/src/hb-ot-var.h +++ b/src/hb-ot-var.h @@ -63,7 +63,7 @@ hb_ot_var_get_axis_count (hb_face_t *face); * hb_ot_var_axis_flags_t: * @HB_OT_VAR_AXIS_FLAG_HIDDEN: The axis should not be exposed directly in user interfaces. * - * Since: REPLACEME + * Since: 2.2.0 */ typedef enum { /*< flags >*/ HB_OT_VAR_AXIS_FLAG_HIDDEN = 0x00000001u, @@ -74,7 +74,7 @@ typedef enum { /*< flags >*/ /** * hb_ot_var_axis_info_t: * - * Since: REPLACEME + * Since: 2.2.0 */ typedef struct hb_ot_var_axis_info_t { diff --git a/src/hb-version.h b/src/hb-version.h index fb9f8f306246e75a90f27e111e616f698cd30239..7c4a8ad4a184c2236cb08ee04c735cccbbae5c30 100644 --- a/src/hb-version.h +++ b/src/hb-version.h @@ -37,10 +37,10 @@ HB_BEGIN_DECLS #define HB_VERSION_MAJOR 2 -#define HB_VERSION_MINOR 1 -#define HB_VERSION_MICRO 3 +#define HB_VERSION_MINOR 2 +#define HB_VERSION_MICRO 0 -#define HB_VERSION_STRING "2.1.3" +#define HB_VERSION_STRING "2.2.0" #define HB_VERSION_ATLEAST(major,minor,micro) \ ((major)*10000+(minor)*100+(micro) <= \