Skip to content

Commit 6017c68

Browse files
committed
chore: update livebook example to use last version of resvg and new font path
- bump resvg version in readme
1 parent 5a31517 commit 6017c68

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ by adding `resvg_nif` to your list of dependencies in `mix.exs`:
1919
```elixir
2020
def deps do
2121
[
22-
{:resvg, "~> 0.3.0"}
22+
{:resvg, "~> 0.4.0"}
2323
]
2424
end
2525
```

livebooks/example.livemd

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
```elixir
44
Mix.install([
5-
{:resvg, "~> 0.3"},
6-
{:req, "~> 0.3"},
5+
{:resvg, "~> 0.4"},
6+
{:req, "~> 0.5"},
77
{:kino, "~> 0.9"}
88
])
99
```
@@ -60,7 +60,7 @@ roboto_path = "#{path}/roboto.ttf"
6060

6161
font_file =
6262
H.download_as!(
63-
"https://raw.githubusercontent.com/mrdotb/resvg_nif/master/test/support/fonts/Roboto/Roboto-Regular.ttf",
63+
"https://raw.githubusercontent.com/mrdotb/resvg_nif/master/test/support/fonts/Roboto-Regular.ttf",
6464
roboto_path
6565
)
6666

0 commit comments

Comments
 (0)