Add text shaping example
This commit is contained in:
parent
a59a4de79b
commit
f03a75d75f
16 changed files with 1063 additions and 13 deletions
|
|
@ -2,15 +2,15 @@ pub use iced::Font;
|
|||
|
||||
pub const FONT: Font = Font::External {
|
||||
name: "Fira Sans Regular",
|
||||
bytes: include_bytes!("../res/Fira/Sans/Regular.otf"),
|
||||
bytes: include_bytes!("../res/FiraSans/Regular.otf"),
|
||||
};
|
||||
|
||||
pub const FONT_LIGHT: Font = Font::External {
|
||||
name: "Fira Sans Light",
|
||||
bytes: include_bytes!("../res/Fira/Sans/Light.otf"),
|
||||
bytes: include_bytes!("../res/FiraSans/Light.otf"),
|
||||
};
|
||||
|
||||
pub const FONT_SEMIBOLD: Font = Font::External {
|
||||
name: "Fira Sans SemiBold",
|
||||
bytes: include_bytes!("../res/Fira/Sans/SemiBold.otf"),
|
||||
bytes: include_bytes!("../res/FiraSans/SemiBold.otf"),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue