pub fn compile_otf(source: &Source, ctx: &Context) -> Bytes {
    let sfnt_version: u32 = Tag(*b"OTTO").into();
    let tables = vec![(
        Tag(*b"cmap"),
        tables::cmap::compile(&source.character_map, ctx),
    )];

    compile(sfnt_version, tables)
}
/// Compiles a CFF flavoured OpenType font.
Compiles a CFF flavoured OpenType font.
Compiles a CFF flavoured OpenType font .
pub fn compile_otf(source: &Source, ctx: &Context) -> Bytes {
    let sfnt_version: u32 = Tag(*b"OTTO").into();
    let tables = vec![(
        Tag(*b"cmap"),
        tables::cmap::compile(&source.character_map, ctx),
    )];
    compile(sfnt_version, tables)
}
pub fn compile_otf ( source : & Source , ctx : & Context ) -> Bytes { let sfnt_version : u32 = Tag ( * b" " ) . into ( ) ; let tables = vec ! [ ( Tag ( b" " ) tables cmap compile ( source character_map ctx ) ) ] ; compile ( sfnt_version , tables ) }
Compiles a CFF flavoured OpenType font.
Compiles a CFF flavoured OpenType font .
source
&Source
ctx
&Context
source
&Source
ctx
&Context