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
Running layout example on the newest version 0.7.0 prints this error message;
thread 'main' panicked at 'attempt to subtract with overflow',
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b\/library\std\src\panicking.rs:498
1: core::panicking::panic_fmt
at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b\/library\core\src\panicking.rs:107
2: core::panicking::panic
at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b\/library\core\src\panicking.rs:48
3: fontdue::layout::Layout<tuple$<> >::append<tuple$<>,fontdue::font::Font>
at .\src\layout.rs:448
4: layout::main
at .\examples\layout.rs:24
5: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
at /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b\library\core\src\ops\function.rs:227
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
error: process didn't exit successfully: `target\debug\examples\layout.exe` (exit code: 101)
Running layout example on the newest version 0.7.0 prints this error message;
It seems to fail in this line of code:
where the subtraction happens:
The text was updated successfully, but these errors were encountered: