Skip to content

Commit

Permalink
⚡️🎨 上传wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
kanrichan committed Sep 10, 2023
1 parent e1a46e1 commit ddfd61f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module resvgo
module github.com/kanrichan/resvg-go

go 1.18

Expand Down
8 changes: 0 additions & 8 deletions resvg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ func TestRender(t *testing.T) {
t.Fatal(err)
}
defer renderer.Close()
err = renderer.LoadSystemFonts()
if err != nil {
t.Fatal(err)
}
err = renderer.LoadFontFile("SourceHanSerifCN-Light-subset.ttf")
if err != nil {
t.Fatal(err)
}
b, err := renderer.Render(svg)
if err != nil {
t.Fatal(err)
Expand Down
Binary file added wasm/resvg.wasm.gz
Binary file not shown.

0 comments on commit ddfd61f

Please sign in to comment.