@qrcommunication/gigapdf-lib 0.58.1 → 0.58.2

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,24 @@ 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.58.2] - 2026-06-21
8
+
9
+ ### Fixed
10
+
11
+ - **Named colour spaces (`/Separation`, `/ICCBased`, `/Indexed`, `/DeviceN`) are
12
+ now resolved when extracting vector paths (`elements()`, `vectorPaths()`).**
13
+ Previously the content-layer vector extractor carried its own simplistic
14
+ colour-space model (Device Gray/RGB/CMYK only): any *named* colour space set
15
+ via `cs`/`CS` fell back to `Unknown` and `sc`/`scn` operands were guessed by
16
+ arity, so a 1-component Separation tint was misread as grey — a blue spot/ICC
17
+ fill rendered **black/grey**, and unresolvable fills were **dropped entirely**.
18
+ Vector extraction now reuses the rasteriser's full colour pipeline
19
+ (`raster/colorspace.rs` tint-transform via the PDF function evaluator,
20
+ ICCBased by `/N`, Indexed palette lookup), resolving named spaces against the
21
+ page `/Resources/ColorSpace`. Separation `/Black` tint `1.0` → true black,
22
+ spot/ICC blues → their real RGB. The rasteriser path was already correct and
23
+ is unchanged.
24
+
7
25
  ## [0.58.1] - 2026-06-21
8
26
 
9
27
  ### Fixed
package/gigapdf.wasm CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrcommunication/gigapdf-lib",
3
- "version": "0.58.1",
3
+ "version": "0.58.2",
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",