[][src]Function informa::sfnt::tables::cmap::format4::compile

pub fn compile(map: &CharacterMap, ctx: &Context) -> Bytes

Returns a cmap format 4 subtable representing the given character map.

Example

let ctx = Context::default();
let mut map = CharacterMap::new();
// ... insert entries into character map ...
let subtable = compile(&map, &ctx);