Alec Deason

Results 14 comments of Alec Deason

This now compiles and runs in WASM by inlining the core_plugin. With that change I believe this code is ready for review.

Absolutely a thing I'd consider. Exploring wasmtime has been on my list for a while but haven't had a strong reason to. Out of curiosity, why are you choosing wasmtime...

Ok, those are pretty compelling reasons. There are two technical problems I've had so far with wasmer, one wasmtime likely fixes and the other I don't think it helps with....

I believe this is happening because resvg needs the convert_text method to be called on trees before they are rendered. But that requires a fontdb::Database loaded with fonts. I have...

I updated the PR with a possible approach to sharing the font database across systems. It feels like it has some ugliness in how the database references get passed around...

This sounds great. I haven't thought about this code in a bit so I'm going to need some time to refresh before I feel comfortable merging but I'll try to...

Sorry, I mispoke in the description. The sky in the last picture is not a path, it's just the clear color. So what's showing through the ground is the clear...

Oh, lovely. If I render a second time the worst of the artifacts do indeed go away. I still see the faint vertical lines in the second example but that...

I was requesting a GL3.0 context from surfman, which I think puts me in D3D10. I just tried it again requesting a GL4.0 context and see the same artifacts.