1
0
Fork 0
nih-plug/nih_plug_iced/src/assets.rs

37 lines
969 B
Rust
Raw Normal View History

2022-03-14 15:56:11 +01:00
//! Binary assets for use with `nih_plug_iced`.
use crate::Font;
2022-03-18 00:22:58 +01:00
// This module provides a re-export and simple font wrappers around the re-exported fonts.
2022-03-14 15:56:11 +01:00
pub use nih_plug_assets::*;
pub const NOTO_SANS_REGULAR: Font = Font::External {
name: "Noto Sans Regular",
bytes: fonts::NOTO_SANS_REGULAR,
};
pub const NOTO_SANS_REGULAR_ITALIC: Font = Font::External {
name: "Noto Sans Regular Italic",
bytes: fonts::NOTO_SANS_REGULAR_ITALIC,
};
pub const NOTO_SANS_LIGHT: Font = Font::External {
name: "Noto Sans Light",
bytes: fonts::NOTO_SANS_LIGHT,
};
pub const NOTO_SANS_LIGHT_ITALIC: Font = Font::External {
name: "Noto Sans Light Italic",
bytes: fonts::NOTO_SANS_LIGHT_ITALIC,
};
pub const NOTO_SANS_BOLD: Font = Font::External {
name: "Noto Sans Bold",
bytes: fonts::NOTO_SANS_BOLD,
};
pub const NOTO_SANS_BOLD_ITALIC: Font = Font::External {
name: "Noto Sans Bold Italic",
bytes: fonts::NOTO_SANS_BOLD_ITALIC,
};