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
#[wasm_bindgen(start)]pubfn main_js() -> Result<(),JsValue>{#[cfg(debug_assertions)]
console_error_panic_hook::set_once();asyncfnapp(window:Window,mutgfx:Graphics,mutinput:Input) -> QsResult<()>{console_log!("trying to load font");let ttf = VectorFont::load("font.ttf").await?;console_log!("font loaded");// <--- it never reaches this point// ...}run(Settings{title:"Square Example",size: render_size,
..Settings::default()},
app,);Ok(())
When going to host:80/font.ttf it is present there. In the network tab I can see it being loaded
Environment and versions (please complete the following information):
manjaro linux 20.3
tested on firefox and chrome
quicksilver = "0.4.0-alpha0.5" + web-sys
The text was updated successfully, but these errors were encountered:
Describe the bug
It crashes
To Reproduce
When going to host:80/font.ttf it is present there. In the network tab I can see it being loaded
Environment and versions (please complete the following information):
manjaro linux 20.3
tested on firefox and chrome
quicksilver = "0.4.0-alpha0.5" + web-sys
The text was updated successfully, but these errors were encountered: