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
It doesn't appear to be currently possible due to linebender/parley#70 (fontique's dependency on SystemFonts).
I'm guessing there is currently no easy way to work around this or use an alternative fontstack.
I also had to add this to Cargo.toml:
[dependencies.getrandom]
features = ["js"]
I intend to use this for (new) production software, so I already assumed I need my own heavily modified fork and then reconcile later. I'll probably use mcsdf for 2D + 3D font rendering.
But WASM support (without or without javascript host) will be very important so there should be a case (and example) for it:
Most target audiences prefer using the browser over playstores, installers or executables
WASM (+wgpu/winit) provides sandboxed native performance in the browser
App developer's DOM and javascript exodus will continue growing since they have more downsides than upsides
WASM will be the basis of many plugin systems
Accessibility would be nice but is non-essential at this stage.
The text was updated successfully, but these errors were encountered:
#47 covers some of our thinking on this; it is not plausible to support running Masonry on the web for any production application. This is because the web does not allow text input, accessibility, scrolling and text actions (among others, I'm sure) to work as users expect without using the DOM (which Masonry would not use). We do intend to make Masonry work on the web, for those demo use-cases. But we will absolutely make this same message clear; that the use cases for that support necessarily exclude "production software".
If you wish to use Xilem on the web, I would recommend using xilem_web, which is included in this repository, and does properly support the web by controlling DOM nodes. Please note however that xilem_web development is entirely community driven, you'd be welcome to contribute.
As an addendum:
Accessibility would be nice but is non-essential at this stage.
I would encourage you to rethink this position; the use of canvas/wgpu based drawing does not just make accessibility impossible "at this stage", it makes it implausible in the future. In my opinion, it is not possible to develop a "production" application with no possible path to accessibility, so the path you are intending to take might not be viable.
It doesn't appear to be currently possible due to linebender/parley#70 (fontique's dependency on SystemFonts).
I'm guessing there is currently no easy way to work around this or use an alternative fontstack.
I also had to add this to Cargo.toml:
I intend to use this for (new) production software, so I already assumed I need my own heavily modified fork and then reconcile later. I'll probably use mcsdf for 2D + 3D font rendering.
But WASM support (without or without javascript host) will be very important so there should be a case (and example) for it:
Accessibility would be nice but is non-essential at this stage.
The text was updated successfully, but these errors were encountered: