Files
penpot/render-wasm
Alejandro Alonso d008ea9edd Merge pull request #6652 from penpot/elenatorro-fix-load-fonts
🐛 Fix fonts initialization
2025-06-09 09:31:00 +02:00
..
2025-06-02 16:36:25 +02:00
2025-06-05 15:37:03 +02:00
2025-05-29 10:46:38 +02:00
2025-06-05 15:37:03 +02:00
2025-06-06 10:21:31 +02:00
2025-05-19 11:14:55 +02:00
2024-12-11 12:49:09 +01:00
2025-04-23 11:21:24 +02:00
2025-02-11 12:36:44 +01:00

render-wasm

Canvas-based WebAssembly render engine for Penpot.

This is a Rust crate that targets Emscripten (wasm32-unknown-emscripten). Underneath, it uses Skia via custom binaries of the rust-skia crate.

How to build

With the Penpot Development Environment running, create a new tab in the tmux.

cd penpot/render-wasm
./build

The build script will compile the project and copy the .js and .wasm files to their correct location within the frontend app.

Edit your local frontend/resources/public/js/config.js to add the following flags:

  • enable-feature-render-wasm to enable this render engine.
  • enable-render-wasm-dpr (optional), to enable using the device pixel ratio.

Docs