Skip to content

rofd introduction ​

rofd is an OFD (GB/T 33190) viewer + annotation editing library written in Rust, targeting both native and WASM.

Platform support ​

PlatformRender backendStatus
Desktop (Windows / Linux)wgpu (Vulkan/Metal/DX12)Available
WebWebGPU (Chrome/Edge 113+, no Canvas2D fallback)Available

Integration entry points ​

ScenarioEntry pointNotes
Web SPA / framework app@office-rs/rofd npm packageTypeScript SDK
Desktop Taurirofd tauri-app reference implementationWindows NSIS / MSI installers, Releases

Browser requirements ​

WebGPU browser requirements ​

The web build of both libraries depends on WebGPU, with no Canvas2D software fallback.

BrowserMinimum versionNotes
Chrome / Edge113+Works out of the box on desktop
FirefoxNo stable release yetManually enable dom.webgpu.enabled
SafariUnsupportedNo fallback path currently

If the browser does not support WebGPU, the editor area will appear blank or show a load-failure message.

You can check your current browser's capabilities via WebGPU Report.

Live demo ​

Deployed at office-rs.github.io/rofd/ (maintained independently by the rofd repository).

Released under the Apache 2.0 License.