Closed JustANormalProgramm3r closed 9 months ago
This is a compiler error, not a bug!
The compiler is telling you that Settings
expects a Font
, not an Option
of bytes.
Load your font with font::load
and provide Font::with_name("Fira Code")
as the default_font
.
Is there an existing issue for this?
Is this issue related to iced?
What happened?
I'm trying to set a default font for my application but i'm getting the error:
expected `Font`, found `Option<&[u8; 289624]>
This is the code causing the error: