You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the readme references cargo run --example test-picture 0 which returns:
error: no example target named `test-picture`.
Available example targets:
mondrian
basic-svg
attempting to run mondrian returns:
error: couldn't read piet/src/samples/../../snapshots/resources/Anaheim-Regular.ttf: No such file or directory (os error 2)
--> piet/src/samples/picture_13.rs:19:28
|
19 | let _ = text.load_font(include_bytes!(
| ____________________________^
20 | | "../../snapshots/resources/Anaheim-Regular.ttf"
21 | | )); // SEEING AN ERROR? run `git submodule update --init`
| |_____^
|
= note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read piet/src/samples/../../snapshots/resources/Anaheim-Bold.ttf: No such file or directory (os error 2)
--> piet/src/samples/picture_13.rs:23:20
|
23 | .load_font(include_bytes!("../../snapshots/resources/Anaheim-Bold.ttf"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read piet/src/samples/../../snapshots/resources/Inconsolata-variable.ttf: No such file or directory (os error 2)
--> piet/src/samples/picture_14.rs:20:20
|
20 | .load_font(include_bytes!(
| ____________________^
21 | | "../../snapshots/resources/Inconsolata-variable.ttf"
22 | | ))
| |_________^
|
= note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
the readme references
cargo run --example test-picture 0
which returns:attempting to run
mondrian
returns:The text was updated successfully, but these errors were encountered: