mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 20:46:38 +02:00
🎉 Basic wasm fonts support
This commit is contained in:
parent
6335a183ba
commit
751df46dc9
4 changed files with 67 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue