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

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

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

Returns just the CFF table in the case of a CFF font, not a complete OpenType font.