pub fn encode_feature_table(
named: &[(u32, Vec<FontFeature>)],
) -> Option<Rc<[u8]>>Expand description
Lays out a span font feature table: the count, one entry per run, and after them each run’s 8-byte feature records.
named pairs a run’s index in its run list with that run’s features. A run with no
features gets no entry, and a list with no entry at all is no table, so text that names
no feature sends nothing. Each run is named at most once: the Renderer reports a table
that names a run twice, or names a run the text does not have, and draws the text
without span features.