-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a01b57
commit f3ecd9d
Showing
17 changed files
with
1,764 additions
and
1,088 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,15 @@ | ||
//! Binary assets for use with `nih_plug_iced`. | ||
use crate::Font; | ||
use crate::core::Font; | ||
|
||
// This module provides a re-export and simple font wrappers around the re-exported fonts. | ||
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_THIN: Font = Font::External { | ||
name: "Noto Sans Thin", | ||
bytes: fonts::NOTO_SANS_THIN, | ||
}; | ||
|
||
pub const NOTO_SANS_THIN_ITALIC: Font = Font::External { | ||
name: "Noto Sans Thin Italic", | ||
bytes: fonts::NOTO_SANS_THIN_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, | ||
}; | ||
pub const NOTO_SANS_REGULAR: Font = Font::with_name("Noto Sans Regular"); | ||
pub const NOTO_SANS_REGULAR_ITALIC: Font = Font::with_name("Noto Sans Regular Italic"); | ||
pub const NOTO_SANS_THIN: Font = Font::with_name("Noto Sans Thin"); | ||
pub const NOTO_SANS_THIN_ITALIC: Font = Font::with_name("Noto Sans Thin Italic"); | ||
pub const NOTO_SANS_LIGHT: Font = Font::with_name("Noto Sans Light"); | ||
pub const NOTO_SANS_LIGHT_ITALIC: Font = Font::with_name("Noto Sans Light Italic"); | ||
pub const NOTO_SANS_BOLD: Font = Font::with_name("Noto Sans Bold"); | ||
pub const NOTO_SANS_BOLD_ITALIC: Font = Font::with_name("Noto Sans Bold Italic"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.