@qrcommunication/gigapdf-lib 0.50.0 → 0.51.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 CHANGED
@@ -4,6 +4,40 @@ 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.51.0] - 2026-06-18
8
+
9
+ ### Added
10
+
11
+ - **Rasterizer fidelity — form XObjects, clipping, shadings, soft masks, blend modes.**
12
+ `renderPage` now paints page-content form XObjects (`Do`, cycle-guarded, clipped to
13
+ `/BBox`), honours path clipping (`W`/`W*`), renders axial (type 2) and radial (type 3)
14
+ **shadings** (the `sh` operator and shading-`/Pattern` fills) with `/Function` ramps and
15
+ `/Extend`, stamps tiling patterns, and applies ExtGState separable **blend modes**
16
+ (`/BM`), constant alpha (`/ca`) and luminosity **soft masks** (`/SMask`). Previously
17
+ these were ignored (clips bled, gradients/patterns/transparency were missing).
18
+ - **OpenType shaping — GPOS kerning + GSUB ligatures.** Text measurement and layout now
19
+ apply GPOS pair kerning and GSUB ligature/substitution; the embedded font subset keeps
20
+ its `cmap` so text extraction stays correct.
21
+ - **Full-Unicode ToUnicode.** Type0/CFF fonts and supplementary-plane glyphs get a
22
+ ToUnicode mapping derived from the font `cmap` — no more `U+FFFD` for composite fonts
23
+ lacking `/ToUnicode`, and CFF ligature glyph names resolve.
24
+ - **Unified editable document model (foundation).** A new zero-dependency `model` module
25
+ (`Document → Section → Page → Block → Inline`, plus spreadsheet/slide sub-models, named
26
+ styles, page geometry) with a versioned JSON round-trip — the base for format-agnostic
27
+ re-editability.
28
+
29
+ ### Changed
30
+
31
+ - **HTML/CSS layout fidelity.** `position` (relative/absolute/fixed) + `z-index` +
32
+ `overflow` clipping, real `float` text wrapping, flex `align-*`/`flex-wrap`/`order` and
33
+ vertical `justify-content`, CSS grid rows + `gap`, table `rowspan`, plus `@font-face`,
34
+ `letter-spacing`/`word-spacing`, `calc()`/`var()` and `rem`/`vw`/`vh` units.
35
+ - **Office import fidelity.** DOCX named-style inheritance (`styles.xml`/`docDefaults`) +
36
+ headers/footers + `PAGE`/`NUMPAGES` fields; PPTX tables (`a:tbl`) render with column
37
+ widths and theme fonts; real ordered-list numbering; XLSX theme/indexed cell colours,
38
+ number formats (date serials and currency render formatted, not raw), and merged cells
39
+ (`colspan`/`rowspan`).
40
+
7
41
  ## [0.50.0] - 2026-06-18
8
42
 
9
43
  ### Added
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.50.0",
3
+ "version": "0.51.0",
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",