25 #ifndef HB_AAT_LAYOUT_FEAT_TABLE_HH
26 #define HB_AAT_LAYOUT_FEAT_TABLE_HH
34 #define HB_AAT_TAG_feat HB_TAG('f','e','a','t')
98 unsigned int *selectors_count,
100 unsigned int *pdefault_index,
101 const void *
base)
const
112 default_selector = settings_table[default_index].get_selector ();
115 *pdefault_index = default_index;
121 | hb_sink (
hb_array (selectors, *selectors_count))
124 return settings_table.
length;
191 unsigned int *selectors_count,
193 unsigned int *default_index )
const
196 default_index,
this);
#define HB_AAT_LAYOUT_NO_SELECTOR_INDEX
hb_aat_layout_feature_selector_t
@ HB_AAT_LAYOUT_FEATURE_SELECTOR_INVALID
hb_aat_layout_feature_type_t
hb_array_t< T > hb_array(T *array, unsigned int length)
#define TRACE_SANITIZE(this)
#define return_trace(RET)
auto it hb_map(hb_second)) template< typename Type > inline hb_array_t< Type > operator()(hb_array_t< Type > array
HB_EXTERN unsigned int start_offset
unsigned int hb_ot_name_id_t
DECLARE_NULL_NAMESPACE_BYTES(AAT, SettingName)
GLenum GLenum GLsizei count
bool sanitize(hb_sanitize_context_t *c, const void *base) const
unsigned int get_selector_infos(unsigned int start_offset, unsigned int *selectors_count, hb_aat_layout_feature_selector_info_t *selectors, unsigned int *pdefault_index, const void *base) const
bool is_exclusive() const
hb_ot_name_id_t get_feature_name_id() const
int cmp(hb_aat_layout_feature_type_t key) const
hb_aat_layout_feature_type_t get_feature_type() const
NNOffset32To< UnsizedArrayOf< SettingName > > settingTableZ
bool sanitize(hb_sanitize_context_t *c) const
int cmp(hb_aat_layout_feature_selector_t key) const
hb_aat_layout_feature_selector_info_t get_info(hb_aat_layout_feature_selector_t default_selector) const
hb_aat_layout_feature_selector_t get_selector() const
DEFINE_SIZE_ARRAY(12, namesZ)
bool exposes_feature(hb_aat_layout_feature_type_t feature_type) const
bool sanitize(hb_sanitize_context_t *c) const
unsigned int get_feature_types(unsigned int start_offset, unsigned int *count, hb_aat_layout_feature_type_t *features) const
static constexpr hb_tag_t tableTag
const FeatureName & get_feature(hb_aat_layout_feature_type_t feature_type) const
unsigned int get_selector_infos(hb_aat_layout_feature_type_t feature_type, unsigned int start_offset, unsigned int *selectors_count, hb_aat_layout_feature_selector_info_t *selectors, unsigned int *default_index) const
HBUINT16 featureNameCount
SortedUnsizedArrayOf< FeatureName > namesZ
hb_ot_name_id_t get_feature_name_id(hb_aat_layout_feature_type_t feature) const
static constexpr unsigned NOT_FOUND_INDEX
hb_array_t sub_array(unsigned int start_offset=0, unsigned int *seg_count=nullptr) const