Skip to main content

harfrust/hb/
ot_layout_gsub_table.rs

1use super::buffer::hb_buffer_t;
2use super::font_funcs::FontFuncsDispatch;
3use super::hb_font_t;
4use super::ot_layout::*;
5use super::ot_shape_plan::hb_ot_shape_plan_t;
6
7pub fn substitute(
8    plan: &hb_ot_shape_plan_t,
9    face: &hb_font_t,
10    font_funcs: &mut FontFuncsDispatch,
11    buffer: &mut hb_buffer_t,
12) {
13    apply_layout_table(plan, face, font_funcs, buffer, face.ot_tables.gsub.as_ref());
14}