Embed and use Fira Sans as default font when testing

This commit is contained in:
Héctor Ramón Jiménez 2024-12-12 03:14:40 +01:00
parent 7683bd201f
commit 6572909ab5
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
9 changed files with 12 additions and 12 deletions

View file

@ -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),
));