Function allsorts::gpos::apply_features

source ·
pub fn apply_features(
    gpos_cache: &LayoutCache<GPOS>,
    gpos_table: &LayoutTable<GPOS>,
    opt_gdef_table: Option<&GDEFTable>,
    langsys: &LangSys,
    features: impl Iterator<Item = FeatureInfo>,
    infos: &mut [Info]
) -> Result<(), ParseError>
Expand description

Apply glyph positioning using specified OpenType features.

Generally use gpos::apply, which will enable features based on script and language. Use this method if you need more low-level control over the enabled features.