fix font paths
This commit is contained in:
parent
3f545cc74d
commit
4f95f3a928
|
|
@ -16,10 +16,8 @@ use crate::{
|
||||||
util::{self, F32, Rect2D},
|
util::{self, F32, Rect2D},
|
||||||
};
|
};
|
||||||
|
|
||||||
const ROBOTO_BYTES: &[u8] =
|
const ROBOTO_BYTES: &[u8] = include_bytes!("../../../assets/fonts/Roboto.ttf");
|
||||||
include_bytes!("../../../assets/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf");
|
const NOTO_SANS_HAN_BYTES: &[u8] = include_bytes!("../../../assets/fonts/NotoSansSC.ttf");
|
||||||
const NOTO_SANS_HAN_BYTES: &[u8] =
|
|
||||||
include_bytes!("../../../assets/fonts/Noto_Sans_SC/NotoSansSC-VariableFont_wght.ttf");
|
|
||||||
|
|
||||||
def_monotonic_id!(pub FontId);
|
def_monotonic_id!(pub FontId);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue