Home | History | Annotate | Download | only in src

Lines Matching refs:OT

31 #include "hb-ot-layout-private.hh"
33 #include "hb-ot-layout-gdef-table.hh"
34 #include "hb-ot-layout-gsub-table.hh"
35 #include "hb-ot-layout-gpos-table.hh"
41 HB_SHAPER_DATA_ENSURE_DECLARE(ot, face)
50 layout->gdef_blob = OT::Sanitizer<OT::GDEF>::sanitize (face->reference_table (HB_OT_TAG_GDEF));
51 layout->gdef = OT::Sanitizer<OT::GDEF>::lock_instance (layout->gdef_blob);
53 layout->gsub_blob = OT::Sanitizer<OT::GSUB>::sanitize (face->reference_table (HB_OT_TAG_GSUB));
54 layout->gsub = OT::Sanitizer<OT::GSUB>::lock_instance (layout->gsub_blob);
56 layout->gpos_blob = OT::Sanitizer<OT::GPOS>::sanitize (face->reference_table (HB_OT_TAG_GPOS));
57 layout->gpos = OT::Sanitizer<OT::GPOS>::lock_instance (layout->gpos_blob);
93 static inline const OT::GDEF&
96 if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::GDEF);
99 static inline const OT::GSUB&
102 if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::GSUB);
105 static inline const OT::GPOS&
108 if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::GPOS);
164 static const OT::GSUBGPOS&
171 default: return OT::Null(OT::GSUBGPOS);
183 const OT::GSUBGPOS &g = get_gsubgpos_table (face, table_tag);
196 ASSERT_STATIC (OT::Index::NOT_FOUND_INDEX == HB_OT_LAYOUT_NO_SCRIPT_INDEX);
197 const OT::GSUBGPOS &g = get_gsubgpos_table (face, table_tag);
227 ASSERT_STATIC (OT::Index::NOT_FOUND_INDEX == HB_OT_LAYOUT_NO_SCRIPT_INDEX);
228 const OT::GSUBGPOS &g = get_gsubgpos_table (face, table_tag);
275 const OT::GSUBGPOS &g = get_gsubgpos_table (face, table_tag);
289 const OT::Script &s = get_gsubgpos_table (face, table_tag).get_script (script_index);
301 ASSERT_STATIC (OT::Index::NOT_FOUND_INDEX == HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX);
302 const OT::Script &s = get_gsubgpos_table (face, table_tag).get_script (script_index);
322 const OT::LangSys &l = get_gsubgpos_table (face, table_tag).get_script (script_index).get_lang_sys (language_index);
338 const OT::GSUBGPOS &g = get_gsubgpos_table (face, table_tag);
339 const OT::LangSys &l = g.get_script (script_index).get_lang_sys (language_index);
353 const OT::GSUBGPOS &g = get_gsubgpos_table (face, table_tag);
354 const OT::LangSys &l = g.get_script (script_index).get_lang_sys (language_index);
377 ASSERT_STATIC (OT::Index::NOT_FOUND_INDEX == HB_OT_LAYOUT_NO_FEATURE_INDEX);
378 const OT::GSUBGPOS &g = get_gsubgpos_table (face, table_tag);
379 const OT::LangSys &l = g.get_script (script_index).get_lang_sys (language_index);
403 const OT::GSUBGPOS &g = get_gsubgpos_table (face, table_tag);
404 const OT::Feature &f = g.get_feature (feature_index);
599 OT::hb_collect_glyphs_context_t c (face,
609 const OT::SubstLookup& l = hb_ot_layout_from_face (face)->gsub->get_lookup (lookup_index);
615 const OT::PosLookup& l = hb_ot_layout_from_face (face)->gpos->get_lookup (lookup_index);
624 * OT::GSUB
630 return &_get_gsub (face) != &OT::Null(OT::GSUB);
652 OT::hb_would_apply_context_t c (face, glyphs, glyphs_length, zero_context);
654 const OT::SubstLookup& l = hb_ot_layout_from_face (face)->gsub->get_lookup (lookup_index);
662 OT::GSUB::substitute_start (font, buffer);
674 OT::hb_apply_context_t c (0, font, buffer, mask, auto_zwj);
676 const OT::SubstLookup& l = hb_ot_layout_from_face (font->face)->gsub->get_lookup (lookup_index);
684 OT::GSUB::substitute_finish (font, buffer);
692 OT::hb_closure_context_t c (face, glyphs);
694 const OT::SubstLookup& l = _get_gsub (face).get_lookup (lookup_index);
700 * OT::GPOS
706 return &_get_gpos (face) != &OT::Null(OT::GPOS);
712 OT::GPOS::position_start (font, buffer);
724 OT::hb_apply_context_t c (1, font, buffer, mask, auto_zwj);
726 const OT::PosLookup& l = hb_ot_layout_from_face (font->face)->gpos->get_lookup (lookup_index);
734 OT::GPOS::position_finish (font, buffer);
745 const OT::GPOS &gpos = _get_gpos (face);
753 const OT::Feature &f = gpos.get_feature (i);
754 const OT::FeatureParamsSize &params = f.get_feature_params ().get_size_params (tag);