Function pbf_font_tools::load_glyphs
source · pub fn load_glyphs(
font_path: &Path,
font_name: &str,
start: u32,
end: u32
) -> Box<dyn Future<Item = glyphs, Error = ProtobufError> + Send>
Expand description
Loads a single font PBF slice from disk.
Fonts are assumed to be stored in <font_path>/<font_name>/