Commit graph

3 commits

Author SHA1 Message Date
Olivier Goffart
1712a19f98 Slide Puzzle Wasm: fix font loading 2020-11-27 15:23:44 +01:00
Simon Hausmann
2472eb51f0 Add the plaster font to plaster theme of the slide puzzle
For regular builds this is done by adding Rust API that allows
registering a font, and for the web the font is installed into the
browser using JavaScript API.

This is an initial approach to just add this ability. It might make
sense to introduce a syntax in the `.60` file to allow for the
registration of fonts and letting the compiler generate code that
performs this embedding and registration automatically.
2020-11-27 14:29:56 +01:00
Olivier Goffart
3c79488637 Wasm build for the slide_puzzle 2020-11-12 13:14:16 +01:00