Load Iced-Icons.ttf font in text::Pipeline::new
This commit is contained in:
parent
5a82fc654e
commit
d2825360a7
3 changed files with 10 additions and 4 deletions
|
|
@ -197,8 +197,8 @@ impl iced_graphics::Backend for Backend {
|
|||
|
||||
impl backend::Text for Backend {
|
||||
const ICON_FONT: Font = Font::Name("Iced-Icons");
|
||||
const CHECKMARK_ICON: char = '\u{e800}';
|
||||
const ARROW_DOWN_ICON: char = '\u{f00c}';
|
||||
const CHECKMARK_ICON: char = '\u{f00c}';
|
||||
const ARROW_DOWN_ICON: char = '\u{e800}';
|
||||
|
||||
fn default_font(&self) -> Font {
|
||||
self.default_font
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue