From b2d803cef6974519d5892af2c9efeb8dfba87618 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 20 Nov 2018 11:42:25 -0500 Subject: [PATCH] Remove newly-added -hb_ot_var_axis_get_flags() --- src/hb-ot-var-fvar-table.hh | 6 ------ src/hb-ot-var.cc | 12 ------------ src/hb-ot-var.h | 4 ---- 3 files changed, 22 deletions(-) diff --git a/src/hb-ot-var-fvar-table.hh b/src/hb-ot-var-fvar-table.hh index 47c2516f3..0bf9d10d5 100644 --- a/src/hb-ot-var-fvar-table.hh +++ b/src/hb-ot-var-fvar-table.hh @@ -131,12 +131,6 @@ struct fvar return true; } - inline hb_ot_var_axis_flags_t get_axis_flags (unsigned int index) const - { - const AxisRecord &axis = get_axes ()[index]; - return (hb_ot_var_axis_flags_t) (unsigned int) axis.flags; - } - inline unsigned int get_axis_infos (unsigned int start_offset, unsigned int *axes_count /* IN/OUT */, hb_ot_var_axis_t *axes_array /* OUT */) const diff --git a/src/hb-ot-var.cc b/src/hb-ot-var.cc index 9ad2f861e..279e87233 100644 --- a/src/hb-ot-var.cc +++ b/src/hb-ot-var.cc @@ -104,18 +104,6 @@ hb_ot_var_find_axis (hb_face_t *face, return face->table.fvar->find_axis (axis_tag, axis_index, axis_info); } -/** - * hb_ot_var_axis_get_flags: - * - * Since: REPLACEME - **/ -hb_ot_var_axis_flags_t -hb_ot_var_axis_get_flags (hb_face_t *face, - unsigned int axis_index) -{ - return face->table.fvar->get_axis_flags (axis_index); -} - /* * Named instances. */ diff --git a/src/hb-ot-var.h b/src/hb-ot-var.h index 676be9f7b..0114e5c9e 100644 --- a/src/hb-ot-var.h +++ b/src/hb-ot-var.h @@ -103,10 +103,6 @@ typedef enum { /*< flags >*/ _HB_OT_VAR_AXIS_FLAG_MAX_VALUE= 0x7FFFFFFFu, /*< skip >*/ } hb_ot_var_axis_flags_t; -HB_EXTERN hb_ot_var_axis_flags_t -hb_ot_var_axis_get_flags (hb_face_t *face, - unsigned int axis_index); - /* * Named instances.