blob: a490e609bc4e8fb0e98d99e049d90b06237b3e7d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#[cfg(feature = "font-source")]
mod source;
#[cfg(feature = "font-source")]
pub use source::Source;
#[cfg(feature = "font-source")]
pub use font_kit::{
error::SelectionError as LoadError, family_name::FamilyName as Family,
};
#[cfg(feature = "font-fallback")]
pub const FALLBACK: &[u8] = include_bytes!("../fonts/Lato-Regular.ttf");
#[cfg(feature = "font-icons")]
pub const ICONS: iced_native::Font = iced_native::Font::External {
name: "iced_wgpu icons",
bytes: include_bytes!("../fonts/Icons.ttf"),
};
#[cfg(feature = "font-icons")]
pub const CHECKMARK_ICON: char = '\u{F00C}';
|