Skip to main content

cid_table

Function cid_table 

Source
fn cid_table<I: Iterator<Item = (u16, usize)>>(
    cids: impl Fn() -> I,
) -> Box<[u16]>
Expand description

Builds the table from each CID to its glyph, keeping the first glyph for a CID.

cids yields each glyph and its CID, glyph zero first with CID zero.