diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Cargo.toml | 2 | ||||
-rw-r--r-- | test/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Cargo.toml b/test/Cargo.toml index f6f4f45a..c63a9e14 100644 --- a/test/Cargo.toml +++ b/test/Cargo.toml @@ -18,7 +18,7 @@ iced_runtime.workspace = true iced_tiny_skia.workspace = true iced_renderer.workspace = true -iced_renderer.features = ["tiny-skia"] +iced_renderer.features = ["tiny-skia", "fira-sans"] png.workspace = true sha2.workspace = true diff --git a/test/src/lib.rs b/test/src/lib.rs index c9096211..232b447e 100644 --- a/test/src/lib.rs +++ b/test/src/lib.rs @@ -33,7 +33,7 @@ pub fn interface<'a, Message, Theme>( let size = Size::new(512.0, 512.0); let mut renderer = Renderer::Secondary(tiny_skia::Renderer::new( - Font::default(), + Font::with_name("Fira Sans"), Pixels(16.0), )); |