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 readme references
cargo run --example test-picture 0
which returns:attempting to run
mondrian
returns: