Skip to content

0.4.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 16:56
· 9 commits to main since this release

HWP Hands 0.4.0

Engine: RHWP 0.9.0

  • The bundled engine is now based on RHWP v0.9.0 (0.9.0-hwp-editor.1). Seven local patches were ported to v0.9.0: header/footer field metadata, the measured DOUBLE_SLIM border rule, cell paragraph deletion, per-attribute style application and propagation, the typing fast path, the Worker OffscreenCanvas renderer and batched paragraph/style formatting. Five older patches are now covered upstream. Sources, patches and build steps: vendor/rhwp-core/UPSTREAM.md.
  • PDF import is not built into the engine (the plugin does not use it).

Behaviour changes

  • Layout follows RHWP 0.9.0. Some documents get a different page count or slightly different letter spacing; for example, fewer empty pages are produced, and an endnote may start on the next page.
  • When rhwp has re-flowed an overflowing table, RHWP 0.9.0 writes the grown table height into the saved file (as Hancom does). Save verification accepts this growth only; a smaller height or any other table or cell change still blocks the save.
  • Recovery records left by 0.3.x are kept on disk but not replayed by this engine version.
  • main.js is larger (about 12.8 MB) because the engine is larger.

Verification

  • 1,368 plugin tests (real WASM), 3,812 upstream Rust library tests, typing fast-path equivalence (2,305 whole-document comparisons) and page counts of 19 public documents against Hancom PDFs (19/19).