@qrcommunication/gigapdf-lib 0.119.0 → 0.120.1

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 CHANGED
@@ -6,6 +6,38 @@ project adheres to [Semantic Versioning](https://semver.org/).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.120.1] - 2026-07-06
10
+
11
+ ### Fixed
12
+
13
+ - **Exporting a tagged PDF to Office/web formats no longer loses formatting,
14
+ images and layout.** With 0.120.0's tagged-by-default conversions, every
15
+ `toDocx()` / `toOdt()` / `toXlsx()` / `toPptx()` / `reconstructModel()` of a
16
+ converted document collapsed to bare text (fused runs, bleeding colors, no
17
+ images, zero table metrics). The reconstruction behind the exporters is now
18
+ fidelity-first (always geometric); the tag tree still drives `toText()`'s
19
+ reading order and literal nested-list markers, unchanged.
20
+
21
+ ## [0.120.0] - 2026-07-05
22
+
23
+ ### Changed
24
+
25
+ - **`officeToPdf()` is now tagged (PDF/UA-shaped) by default.** Every DOCX / ODT
26
+ / XLSX / PPTX / … conversion ships a `/StructTreeRoot` + marked content, so the
27
+ output is accessible and `toText()` reads the faithful declared structure. The
28
+ two former blockers — tagged reading order (0.119.0) and nested-list markers
29
+ (this release) — are closed. Pass `{ tagged: false }` for the raw untagged
30
+ text-layer baseline.
31
+
32
+ ### Fixed
33
+
34
+ - **Nested lists keep their exact per-depth marker on the tagged round-trip.** A
35
+ level-2 `a)` no longer reads back as `2.`, and `◦`/`▪` sub-bullets no longer
36
+ collapse to `•`: each item's literal marker is preserved as a `/Lbl` and emitted
37
+ verbatim, so `toText()` of a tagged `1. / a) / i.` (or `• / ◦ / ▪`) list matches
38
+ the rendered glyphs. Authored ordinal delimiters (`a)` vs `a.`) are honoured on
39
+ the semantic path too.
40
+
9
41
  ## [0.119.0] - 2026-07-05
10
42
 
11
43
  ### Fixed
package/gigapdf.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrcommunication/gigapdf-lib",
3
- "version": "0.119.0",
3
+ "version": "0.120.1",
4
4
  "description": "TypeScript SDK for gigapdf-lib — a Rust→WASM document engine with no third-party PDF/Office/image library: read/edit/render, OCR, full-text search, AcroForm fields (read · fill · create), annotations, signing, encryption, PDF↔Office/HTML/RTF conversions, and a native HTML+CSS→PDF renderer with inline JavaScript (no headless browser). Cryptography uses audited RustCrypto; JavaScript uses the Boa engine; everything else is pure Rust. Single wasm-bindgen-free .wasm with one host import (entropy).",
5
5
  "license": "PolyForm-Noncommercial-1.0.0",
6
6
  "author": "Rony Licha / QR Communication",