This commit is contained in:
Behdad Esfahbod 2018-11-29 11:53:53 -05:00
parent 7b85081be4
commit dc41ecef85
8 changed files with 52 additions and 17 deletions

35
NEWS
View File

@ -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 Overview of changes leading to 2.1.3
Friday, November 16, 2018 Friday, November 16, 2018
==================================== ====================================

View File

@ -1,6 +1,6 @@
AC_PREREQ([2.64]) AC_PREREQ([2.64])
AC_INIT([HarfBuzz], AC_INIT([HarfBuzz],
[2.1.3], [2.2.0],
[https://github.com/harfbuzz/harfbuzz/issues/new], [https://github.com/harfbuzz/harfbuzz/issues/new],
[harfbuzz], [harfbuzz],
[http://harfbuzz.org/]) [http://harfbuzz.org/])

View File

@ -318,7 +318,7 @@ _hb_aat_language_get (hb_face_t *face,
* *
* Return value: Number of all available feature types. * Return value: Number of all available feature types.
* *
* Since: REPLACEME * Since: 2.2.0
*/ */
unsigned int unsigned int
hb_aat_layout_get_feature_types (hb_face_t *face, 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 * Return value: Name ID index
* *
* Since: REPLACEME * Since: 2.2.0
*/ */
hb_ot_name_id_t hb_ot_name_id_t
hb_aat_layout_feature_type_get_name_id (hb_face_t *face, 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. * Return value: Number of all available feature selectors.
* *
* Since: REPLACEME * Since: 2.2.0
*/ */
unsigned int unsigned int
hb_aat_layout_feature_type_get_selector_infos (hb_face_t *face, hb_aat_layout_feature_type_get_selector_infos (hb_face_t *face,

View File

@ -39,7 +39,7 @@ HB_BEGIN_DECLS
* hb_aat_layout_feature_type_t: * hb_aat_layout_feature_type_t:
* *
* *
* Since: REPLACEME * Since: 2.2.0
*/ */
typedef enum typedef enum
{ {
@ -92,7 +92,7 @@ typedef enum
* hb_aat_layout_feature_selector_t: * hb_aat_layout_feature_selector_t:
* *
* *
* Since: REPLACEME * Since: 2.2.0
*/ */
typedef enum typedef enum
{ {

View File

@ -247,7 +247,7 @@ typedef unsigned int hb_ot_name_id_t; /* Since is in hb-ot.h */
* HB_OT_VAR_NO_AXIS_INDEX: * HB_OT_VAR_NO_AXIS_INDEX:
* *
* Since: 1.4.2 * Since: 1.4.2
* Deprecated: REPLACEME * Deprecated: 2.2.0
*/ */
#define HB_OT_VAR_NO_AXIS_INDEX 0xFFFFFFFFu #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: * hb_ot_var_axis_t:
* *
* Since: 1.4.2 * Since: 1.4.2
* Deprecated: REPLACEME * Deprecated: 2.2.0
*/ */
typedef struct hb_ot_var_axis_t typedef struct hb_ot_var_axis_t
{ {

View File

@ -79,7 +79,7 @@ hb_ot_var_get_axis_count (hb_face_t *face)
* hb_ot_var_get_axes: * hb_ot_var_get_axes:
* *
* Since: 1.4.2 * Since: 1.4.2
* Deprecated: REPLACEME * Deprecated: 2.2.0
**/ **/
unsigned int unsigned int
hb_ot_var_get_axes (hb_face_t *face, 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: * hb_ot_var_find_axis:
* *
* Since: 1.4.2 * Since: 1.4.2
* Deprecated: REPLACEME * Deprecated: 2.2.0
**/ **/
hb_bool_t hb_bool_t
hb_ot_var_find_axis (hb_face_t *face, 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: * hb_ot_var_get_axis_infos:
* *
* Since: REPLACEME * Since: 2.2.0
**/ **/
HB_EXTERN unsigned int HB_EXTERN unsigned int
hb_ot_var_get_axis_infos (hb_face_t *face, 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: * hb_ot_var_find_axis_info:
* *
* Since: REPLACEME * Since: 2.2.0
**/ **/
HB_EXTERN hb_bool_t HB_EXTERN hb_bool_t
hb_ot_var_find_axis_info (hb_face_t *face, hb_ot_var_find_axis_info (hb_face_t *face,

View File

@ -63,7 +63,7 @@ hb_ot_var_get_axis_count (hb_face_t *face);
* hb_ot_var_axis_flags_t: * hb_ot_var_axis_flags_t:
* @HB_OT_VAR_AXIS_FLAG_HIDDEN: The axis should not be exposed directly in user interfaces. * @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 >*/ typedef enum { /*< flags >*/
HB_OT_VAR_AXIS_FLAG_HIDDEN = 0x00000001u, HB_OT_VAR_AXIS_FLAG_HIDDEN = 0x00000001u,
@ -74,7 +74,7 @@ typedef enum { /*< flags >*/
/** /**
* hb_ot_var_axis_info_t: * hb_ot_var_axis_info_t:
* *
* Since: REPLACEME * Since: 2.2.0
*/ */
typedef struct hb_ot_var_axis_info_t typedef struct hb_ot_var_axis_info_t
{ {

View File

@ -37,10 +37,10 @@ HB_BEGIN_DECLS
#define HB_VERSION_MAJOR 2 #define HB_VERSION_MAJOR 2
#define HB_VERSION_MINOR 1 #define HB_VERSION_MINOR 2
#define HB_VERSION_MICRO 3 #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) \ #define HB_VERSION_ATLEAST(major,minor,micro) \
((major)*10000+(minor)*100+(micro) <= \ ((major)*10000+(minor)*100+(micro) <= \