Lines Matching full:info

187 _hb_glyph_info_set_unicode_props (hb_glyph_info_t *info, hb_unicode_funcs_t *unicode)  in _hb_glyph_info_set_unicode_props()  argument
190 info->unicode_props0() = ((unsigned int) unicode->general_category (info->codepoint)) | in _hb_glyph_info_set_unicode_props()
191 (unicode->is_default_ignorable (info->codepoint) ? MASK0_IGNORABLE : 0) | in _hb_glyph_info_set_unicode_props()
192 (info->codepoint == 0x200Cu ? MASK0_ZWNJ : 0) | in _hb_glyph_info_set_unicode_props()
193 (info->codepoint == 0x200Du ? MASK0_ZWJ : 0); in _hb_glyph_info_set_unicode_props()
194 info->unicode_props1() = unicode->modified_combining_class (info->codepoint); in _hb_glyph_info_set_unicode_props()
198 _hb_glyph_info_set_general_category (hb_glyph_info_t *info, in _hb_glyph_info_set_general_category() argument
201 info->unicode_props0() = (unsigned int) gen_cat | ((info->unicode_props0()) & ~MASK0_GEN_CAT); in _hb_glyph_info_set_general_category()
205 _hb_glyph_info_get_general_category (const hb_glyph_info_t *info) in _hb_glyph_info_get_general_category() argument
207 return (hb_unicode_general_category_t) (info->unicode_props0() & MASK0_GEN_CAT); in _hb_glyph_info_get_general_category()
211 _hb_glyph_info_set_modified_combining_class (hb_glyph_info_t *info, in _hb_glyph_info_set_modified_combining_class() argument
214 info->unicode_props1() = modified_class; in _hb_glyph_info_set_modified_combining_class()
218 _hb_glyph_info_get_modified_combining_class (const hb_glyph_info_t *info) in _hb_glyph_info_get_modified_combining_class() argument
220 return info->unicode_props1(); in _hb_glyph_info_get_modified_combining_class()
224 _hb_glyph_info_is_default_ignorable (const hb_glyph_info_t *info) in _hb_glyph_info_is_default_ignorable() argument
226 return !!(info->unicode_props0() & MASK0_IGNORABLE); in _hb_glyph_info_is_default_ignorable()
230 _hb_glyph_info_is_zwnj (const hb_glyph_info_t *info) in _hb_glyph_info_is_zwnj() argument
232 return !!(info->unicode_props0() & MASK0_ZWNJ); in _hb_glyph_info_is_zwnj()
236 _hb_glyph_info_is_zwj (const hb_glyph_info_t *info) in _hb_glyph_info_is_zwj() argument
238 return !!(info->unicode_props0() & MASK0_ZWJ); in _hb_glyph_info_is_zwj()
242 _hb_glyph_info_flip_joiners (hb_glyph_info_t *info) in _hb_glyph_info_flip_joiners() argument
244 info->unicode_props0() ^= MASK0_ZWNJ | MASK0_ZWJ; in _hb_glyph_info_flip_joiners()
273 _hb_glyph_info_clear_lig_props (hb_glyph_info_t *info) in _hb_glyph_info_clear_lig_props() argument
275 info->lig_props() = 0; in _hb_glyph_info_clear_lig_props()
281 _hb_glyph_info_set_lig_props_for_ligature (hb_glyph_info_t *info, in _hb_glyph_info_set_lig_props_for_ligature() argument
285 info->lig_props() = (lig_id << 5) | IS_LIG_BASE | (lig_num_comps & 0x0F); in _hb_glyph_info_set_lig_props_for_ligature()
289 _hb_glyph_info_set_lig_props_for_mark (hb_glyph_info_t *info, in _hb_glyph_info_set_lig_props_for_mark() argument
293 info->lig_props() = (lig_id << 5) | (lig_comp & 0x0F); in _hb_glyph_info_set_lig_props_for_mark()
297 _hb_glyph_info_set_lig_props_for_component (hb_glyph_info_t *info, unsigned int comp) in _hb_glyph_info_set_lig_props_for_component() argument
299 _hb_glyph_info_set_lig_props_for_mark (info, 0, comp); in _hb_glyph_info_set_lig_props_for_component()
303 _hb_glyph_info_get_lig_id (const hb_glyph_info_t *info) in _hb_glyph_info_get_lig_id() argument
305 return info->lig_props() >> 5; in _hb_glyph_info_get_lig_id()
309 _hb_glyph_info_ligated_internal (const hb_glyph_info_t *info) in _hb_glyph_info_ligated_internal() argument
311 return !!(info->lig_props() & IS_LIG_BASE); in _hb_glyph_info_ligated_internal()
315 _hb_glyph_info_get_lig_comp (const hb_glyph_info_t *info) in _hb_glyph_info_get_lig_comp() argument
317 if (_hb_glyph_info_ligated_internal (info)) in _hb_glyph_info_get_lig_comp()
320 return info->lig_props() & 0x0F; in _hb_glyph_info_get_lig_comp()
324 _hb_glyph_info_get_lig_num_comps (const hb_glyph_info_t *info) in _hb_glyph_info_get_lig_num_comps() argument
326 if ((info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE) && in _hb_glyph_info_get_lig_num_comps()
327 _hb_glyph_info_ligated_internal (info)) in _hb_glyph_info_get_lig_num_comps()
328 return info->lig_props() & 0x0F; in _hb_glyph_info_get_lig_num_comps()
344 _hb_glyph_info_set_glyph_props (hb_glyph_info_t *info, unsigned int props) in _hb_glyph_info_set_glyph_props() argument
346 info->glyph_props() = props; in _hb_glyph_info_set_glyph_props()
350 _hb_glyph_info_get_glyph_props (const hb_glyph_info_t *info) in _hb_glyph_info_get_glyph_props() argument
352 return info->glyph_props(); in _hb_glyph_info_get_glyph_props()
356 _hb_glyph_info_is_base_glyph (const hb_glyph_info_t *info) in _hb_glyph_info_is_base_glyph() argument
358 return !!(info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH); in _hb_glyph_info_is_base_glyph()
362 _hb_glyph_info_is_ligature (const hb_glyph_info_t *info) in _hb_glyph_info_is_ligature() argument
364 return !!(info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE); in _hb_glyph_info_is_ligature()
368 _hb_glyph_info_is_mark (const hb_glyph_info_t *info) in _hb_glyph_info_is_mark() argument
370 return !!(info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_MARK); in _hb_glyph_info_is_mark()
374 _hb_glyph_info_substituted (const hb_glyph_info_t *info) in _hb_glyph_info_substituted() argument
376 return !!(info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_SUBSTITUTED); in _hb_glyph_info_substituted()
380 _hb_glyph_info_ligated (const hb_glyph_info_t *info) in _hb_glyph_info_ligated() argument
382 return !!(info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_LIGATED); in _hb_glyph_info_ligated()
386 _hb_glyph_info_multiplied (const hb_glyph_info_t *info) in _hb_glyph_info_multiplied() argument
388 return !!(info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_MULTIPLIED); in _hb_glyph_info_multiplied()
392 _hb_glyph_info_ligated_and_didnt_multiply (const hb_glyph_info_t *info) in _hb_glyph_info_ligated_and_didnt_multiply() argument
394 return _hb_glyph_info_ligated (info) && !_hb_glyph_info_multiplied (info); in _hb_glyph_info_ligated_and_didnt_multiply()
398 _hb_glyph_info_clear_ligated_and_multiplied (hb_glyph_info_t *info) in _hb_glyph_info_clear_ligated_and_multiplied() argument
400 info->glyph_props() &= ~(HB_OT_LAYOUT_GLYPH_PROPS_LIGATED | in _hb_glyph_info_clear_ligated_and_multiplied()