Function allsorts_no_std::subset::subset[][src]

pub fn subset(
    provider: &impl FontTableProvider,
    glyph_ids: &[u16],
    cmap0: Option<Box<[u8; 256]>>
) -> Result<Vec<u8>, ReadWriteError>

Subset this font so that it only contains the glyphs with the supplied glyph_ids.