This commit is contained in:
Simon Gardling 2022-03-08 14:03:08 -05:00
parent 61116ee6c4
commit 45f86d2c2d

View File

@ -77,10 +77,7 @@ lazy_static::lazy_static! {
let mut font_data: BTreeMap<String, FontData> = BTreeMap::new(); let mut font_data: BTreeMap<String, FontData> = BTreeMap::new();
let mut families = BTreeMap::new(); let mut families = BTreeMap::new();
font_data.insert( font_data.insert("Hack".to_owned(), hack.unwrap());
"Hack".to_owned(),
hack.unwrap(),
);
font_data.insert("Ubuntu-Light".to_owned(), ubuntu_light.unwrap()); font_data.insert("Ubuntu-Light".to_owned(), ubuntu_light.unwrap());
font_data.insert("NotoEmoji-Regular".to_owned(), notoemoji.unwrap()); font_data.insert("NotoEmoji-Regular".to_owned(), notoemoji.unwrap());