From 7e7fea37ee27ba5c2aca3311ccb11dfc2ebe123c Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 17 Jan 2023 20:27:02 +0100 Subject: [PATCH] Fix NOTO_SANS_BOLD font definition This is probably a bug in cosmic-text. --- nih_plug_vizia/src/assets.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nih_plug_vizia/src/assets.rs b/nih_plug_vizia/src/assets.rs index 715d843a..9c63850b 100644 --- a/nih_plug_vizia/src/assets.rs +++ b/nih_plug_vizia/src/assets.rs @@ -26,7 +26,9 @@ pub const NOTO_SANS_LIGHT: &str = "Noto Sans Light"; 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()`] /// 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 /// [`register_noto_sans_bold_italic()`] first. pub const NOTO_SANS_BOLD_ITALIC: &str = "Noto Sans Bold Italic";