Skip to main content

register_files

Function register_files 

Source
pub fn register_files(ctx: &Context, files: &[FontFile]) -> Vec<String>
Expand description

Registers the faces of font files a user added (paths, as settings keep them), installed with the next theme install or install: each file is read again, checked and registered under its family and weight. A file that cannot be read or parsed is reported, and the face registered before for it, if any, stays.