fully remove hack font
This commit is contained in:
parent
330020bd17
commit
15eea56b47
Binary file not shown.
3
build.rs
3
build.rs
@ -59,12 +59,10 @@ fn main() {
|
|||||||
|
|
||||||
shadow_rs::new().expect("Could not initialize shadow_rs");
|
shadow_rs::new().expect("Could not initialize shadow_rs");
|
||||||
|
|
||||||
// let font_hack = FontData::from_static(include_bytes!("assets/Hack-Regular.ttf"));
|
|
||||||
let font_ubuntu_light = FontData::from_static(include_bytes!("assets/Ubuntu-Light.ttf"));
|
let font_ubuntu_light = FontData::from_static(include_bytes!("assets/Ubuntu-Light.ttf"));
|
||||||
|
|
||||||
let fonts = FontDefinitions {
|
let fonts = FontDefinitions {
|
||||||
font_data: BTreeMap::from([
|
font_data: BTreeMap::from([
|
||||||
// ("Hack".to_owned(), font_hack),
|
|
||||||
("Ubuntu-Light".to_owned(), font_ubuntu_light),
|
("Ubuntu-Light".to_owned(), font_ubuntu_light),
|
||||||
(
|
(
|
||||||
"NotoEmoji-Regular".to_owned(),
|
"NotoEmoji-Regular".to_owned(),
|
||||||
@ -93,7 +91,6 @@ fn main() {
|
|||||||
(
|
(
|
||||||
FontFamily::Monospace,
|
FontFamily::Monospace,
|
||||||
vec![
|
vec![
|
||||||
// "Hack".to_owned(),
|
|
||||||
"Ubuntu-Light".to_owned(),
|
"Ubuntu-Light".to_owned(),
|
||||||
"NotoEmoji-Regular".to_owned(),
|
"NotoEmoji-Regular".to_owned(),
|
||||||
"emoji-icon-font".to_owned(),
|
"emoji-icon-font".to_owned(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user