Also fix NOTO_SANS_BOLD_ITALIC
This commit is contained in:
parent
7e7fea37ee
commit
875c9da23c
|
@ -31,7 +31,7 @@ pub const NOTO_SANS_LIGHT_ITALIC: &str = "Noto Sans Light Italic";
|
||||||
pub const NOTO_SANS_BOLD: &str = "Noto Sans";
|
pub const NOTO_SANS_BOLD: &str = "Noto Sans";
|
||||||
/// The font name for Noto Sans Bold Italic, needs to be registered using
|
/// The font name for Noto Sans Bold Italic, needs to be registered using
|
||||||
/// [`register_noto_sans_bold_italic()`] first.
|
/// [`register_noto_sans_bold_italic()`] first.
|
||||||
pub const NOTO_SANS_BOLD_ITALIC: &str = "Noto Sans Bold Italic";
|
pub const NOTO_SANS_BOLD_ITALIC: &str = "Noto Sans Italic";
|
||||||
|
|
||||||
pub fn register_noto_sans_regular(cx: &mut Context) {
|
pub fn register_noto_sans_regular(cx: &mut Context) {
|
||||||
cx.add_fonts_mem(&[fonts::NOTO_SANS_REGULAR]);
|
cx.add_fonts_mem(&[fonts::NOTO_SANS_REGULAR]);
|
||||||
|
|
Loading…
Reference in a new issue