mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Fix NOTO_SANS_BOLD font definition
This is probably a bug in cosmic-text.
This commit is contained in:
@@ -26,7 +26,9 @@ pub const NOTO_SANS_LIGHT: &str = "Noto Sans Light";
|
|||||||
pub const NOTO_SANS_LIGHT_ITALIC: &str = "Noto Sans Light Italic";
|
pub const NOTO_SANS_LIGHT_ITALIC: &str = "Noto Sans Light Italic";
|
||||||
/// The font name for Noto Sans Bold, needs to be registered using [`register_noto_sans_bold()`]
|
/// The font name for Noto Sans Bold, needs to be registered using [`register_noto_sans_bold()`]
|
||||||
/// first.
|
/// first.
|
||||||
pub const NOTO_SANS_BOLD: &str = "Noto Sans Bold";
|
// NOTE: I'd expect this to be an alias for Noto Sans Regular but this is what cosmic-text thinks
|
||||||
|
// the font is called
|
||||||
|
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 Bold Italic";
|
||||||
|
|||||||
Reference in New Issue
Block a user