🎉 Basic wasm fonts support

This commit is contained in:
Alejandro Alonso 2024-12-26 13:13:17 +01:00 committed by AzazelN28
parent 6335a183ba
commit 751df46dc9
4 changed files with 67 additions and 1 deletions

View file

@ -11,6 +11,7 @@ impl Renderable for Shape {
surface: &mut skia_safe::Surface,
images: &ImageStore,
scale: f32,
font_provider: &skia::textlayout::TypefaceFontProvider,
) -> Result<(), String> {
let transform = self.transform.to_skia_matrix();