Flow
Lossless round-trip plus the line-breaking and pagination pipeline — everything the playground runs on.
● Apache-2.0 · Native + wasm32
Quire opens a .docx, lays it out from real font metrics, and renders it — and when it saves, anything it didn't modify goes back byte-for-byte. CI checks that second part on 399 real files.
On save, every byte the engine didn't touch comes back unchanged; roundtrip --check verifies this file by file.
The browser tab and the desktop run the same layout core: same advances, same breaks, same display list.
¶ break points are golden-tested
Everything you see is a rendering target: display lists out, pixels in.
<!-- word/document.xml -->
<w:p>
<w:pPr><w:jc w:val="both"/></w:pPr>
<w:r><w:t>roundtrip --check</w:t></w:r>
</w:p>
<w:sectPr>
<w:pgSz w:w="11906" w:h="16838"/>
</w:sectPr>
<!-- customXml/item1.xml -->
50 4B 03 04 14 00 06 00 ✓ untouched
08 00 00 00 21 00 A4 7C CRC32 match Shared between them: the container handling and the byte-level round-trip guarantees. Not shared: the layout model — DOCX flows, XLSX grids, PPTX places boxes, ODT flows against the OASIS schema.
Flow
Lossless round-trip plus the line-breaking and pagination pipeline — everything the playground runs on.
Grid
Same OPC/lossless layer as DOCX. Workbook model, cell projection, style cascade and the formula engine (X3) are live; charts and the editing surface come next.
Open
ODT renders today — upload one in the playground and it lays out in-browser from content.xml and styles.xml, mapped from the OASIS spec, not from DOCX. ODS and ODP follow.
Canvas
The lossless OPC container, package relation graph and a versioned <code>SlideScene</code> projection (P0–P2) are landed as a core crate on the same discipline, with DoS ceilings and honest refusal on non-presentation files. It is not in the shipped wasm yet and the Slides workspace still runs its own importer; shape-editing mutations and the presentation render list come next.
Three stages, one Rust core, compiled twice. Each stage computes once — browser and desktop draw from the same numbers.
The OPC container is unzipped entry by entry. Parts the engine understands become models; everything else — customXml, unknown extensions — is held in raw bytes and written back unchanged.
Text is measured against real font outlines; break points are chosen per paragraph to minimise total badness (Knuth–Plass), with UAX#14 deciding which breaks are legal at all. Output is locked by golden snapshots, so regressions show up as diffs.
Paragraph caches reflow only the dirty interval; breaks settle in background passes. p95 incremental reflow under 8 ms. Output: a display list both renderers draw from.
A feel for what reflow costs: the text here is laid out by CSS, not the engine — the point is the interaction, not the numbers.
roundtrip --check verifies this file by file. The browser tab and the desktop share one layout core: the same shaped advances, the same optimal breaks, the same display list — the two can't come up with different answers.roundtrip --check verifies this file by file. The browser tab and the desktop share one layout core: the same shaped advances, the same optimal breaks, the same display list — the two can't come up with different answers.real-world corpus files round-trip byte-identical in CI — ZIP64 and unknown extensions included
the same gates run on ubuntu and Windows, each building native + wasm32-unknown-unknown (a macOS job exists but is paused for now)
Gzipped deferred collaboration chunk — CRDT code ships separately; the core payload lands at 1.73 MB gzip, inside the CI budget (gzip ≤ 3 MB).
The ZIP layer copies entries it didn't modify byte-for-byte; roundtrip --check diffs that against a 399-file corpus on every commit.
The engine compiles to native and wasm32-unknown-unknown. The browser shell is a thin platform adapter, not a second implementation.
Format crates never import shells; shells enter through one engine API. check-layering.sh runs in CI, so the boundary doesn't depend on review memory.
Shaped advances against real font metrics, Knuth-Plass optimal breaks, incremental pagination with p95 reflow under 8 ms (benchmarked in-repo).
One static shell, three workspaces, no server behind any of it. Each line below is something the deployed pages do today.
Nine built-in presets and nine downloadable packs, kept in your browser's IndexedDB and listed in each workspace's Design tab.
Mount a workspace in your own page over postMessage; origins you didn't declare are dropped rather than obeyed.
The rail becomes a bottom bar and the ribbon a drawer pinned to the right edge, so nothing important falls off a 390 px screen.
The slide strip draws the real slide at true type size, mounting off-screen pages lazily instead of rebuilding all of them.
The engine is licensed Apache-2.0 and the repository is public: github.com/quire-office/quire — the code, the 399-file DOCX corpus, the 57-file ODT corpus and the CI gates all run on every push. Two browser shells run that engine compiled to wasm: the playground on this site renders real files in-tab and stays a read-only preview by design; the published editor at editor.quireoffice.dev/word.html completes the editing loop (typing, formatting, tables, images, undo/redo, save-to-download) on the same engine release, and spans three workspaces on one hub — Docs, Sheets and Slides. A desktop app and the collaboration server remain on the roadmap.