@qrcommunication/gigapdf-lib 0.65.0 → 0.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +293 -30
- package/dist/index.d.ts +293 -30
- package/dist/index.js.map +1 -1
- package/gigapdf.wasm +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,37 @@ All notable changes to `@qrcommunication/gigapdf-lib` are documented here.
|
|
|
4
4
|
The format follows [Keep a Changelog](https://keepachangelog.com/) and the
|
|
5
5
|
project adheres to [Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.66.0] - 2026-06-23
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **HTML/CSS rendering — LibreOffice-level fidelity.** `htmlRender` gains real **CSS
|
|
12
|
+
grid** (`fr`/`minmax`/`repeat`/`span`/`auto-rows`) and **complete flexbox**
|
|
13
|
+
(basis/grow/shrink/wrap/justify/align), **multi-column** (`column-count`/`columns`/
|
|
14
|
+
`column-gap`), **pragmatic RTL/bidi** (`direction`/`dir`, RTL block/inline/run
|
|
15
|
+
layout), table fidelity (colspan/rowspan, LibreOffice-level), text styling
|
|
16
|
+
(super/sub, underline, strike), `@media`, font shorthand and further CSS-2 coverage.
|
|
17
|
+
- **Document reconstruction (`structuredText`) — waves R1–R10.** Typed + populated
|
|
18
|
+
`pageBlocks` bodies, merged-cell spans, strikethrough, hyperlinks, paragraph
|
|
19
|
+
spacing, super/subscript, document outline + figure captions, list nesting +
|
|
20
|
+
continuation lines, multi-column reading order, multiple tables per page
|
|
21
|
+
(connected-component split), borderless right/decimal-aligned columns, true
|
|
22
|
+
decimal-tab alignment.
|
|
23
|
+
- **PDF permissions — 8 functional flags.** `getPermissions` + correct `/P` encoding
|
|
24
|
+
of the 8 standard permission bits (print, modify, copy, annotate, fill-forms,
|
|
25
|
+
extract, assemble, high-res print).
|
|
26
|
+
- **Model structural edits.** Table & sheet structural-edit ModelOps.
|
|
27
|
+
|
|
28
|
+
### OCR (native `gigapdf-ocr-rten` crate — host-side, not bundled in the npm package)
|
|
29
|
+
|
|
30
|
+
- Pivoted the OCR engine to **PaddleOCR PP-OCR on RTen** (pure-Rust ONNX, no C++/
|
|
31
|
+
Tesseract): 13 printed languages incl. our own **Hebrew** model, with automatic
|
|
32
|
+
per-line **script selection**.
|
|
33
|
+
- **Handwriting** recognizer (`latin_hw`) — our own CRNN trained on real handwriting
|
|
34
|
+
(IAM/RIMES/NorHand/…; standard `nn.LSTM` → dynamic-width ONNX), **opt-in** via
|
|
35
|
+
`recognize_page_handwriting` / `recognize_page_with(img, "latin_hw")`.
|
|
36
|
+
- Full OCR documentation refresh (architecture, training data, SDK, cookbook).
|
|
37
|
+
|
|
7
38
|
## [0.65.0] - 2026-06-22
|
|
8
39
|
|
|
9
40
|
### Added
|