Skip to main content

coverage_for_file

Function coverage_for_file 

Source
pub fn coverage_for_file(path: &str) -> Option<Rc<GlyphCoverage>>
Expand description

Coverage of the font file at path (.tfm, .otf, .ttf, .ttc); None when the file is missing or unparseable. Cached per path. A confined conversion reads only a file its roots admit (\lx@fontspec@usefile takes any name): a refused one is a test’s Warning and has no coverage (OXIDIZED_DESIGN_DIVERGENCES #1183).