gpu_cache in WebAssembly / WebGL
Hey!
I'm diving in and trying to start using rusttype
for a Rust + WebAssembly + WebGL project.
I'm inexperienced with font rendering, so forgive any ignorance.
My first approach was to try to copy the gpu_cache.rs
example, but it looks like it uses glium
which in turn is expecting a display
but I'm rendering to an HTMLCanvasElement's WebGL context.
So now I'm jumping into the image.rs
example.
Once I get this working it'll hold me over for now, but I'd love to take advantage of the gpu cache. Any advice on how I might port gpu_cache.rs
example to Rust + WASM + WebGL?
More specifically
-> Which dependencies might I be able to swap out for other dependencies?