This commit is contained in:
Wez Furlong committed 2019-12-08 16:41:28 -08:00
1 parent 1e9d3571ba
commit 6ea837fc14
1 file changed
-1
-1
View File
@@ -112,7 +112,6 @@ impl FontKitFontSystem {
}
fn locate_matches(&self, config: &Config, style: &TextStyle) -> Vec<Handle> {
// TODO: allow loading from a directory also
let dir_source = Box::new(FileSystemDirectorySource::new(&config.font_dirs));
let system_source = Box::new(SystemSource::new());
let sources = MultiSource::from_sources(vec![dir_source, system_source]);