@qrcommunication/gigapdf-lib 0.13.0 → 0.14.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,19 @@ 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.14.0] - 2026-06-16
8
+
9
+ ### Changed
10
+
11
+ - **Embedded fonts are now subsetted on save.** Text drawn with `addText` tracks
12
+ the glyph ids it uses per embedded font; `save`/`saveCompressed` rebuild each
13
+ embedded `FontFile2` to keep only those glyph outlines (plus `.notdef` and any
14
+ composite components). Glyph ids are **preserved** (no remap), so existing
15
+ Identity-H content stays valid — only the outline data shrinks. A minimal edit
16
+ that previously embedded a full ~300 KB family now adds only the glyphs it
17
+ draws, fixing the round-trip size blow-up when re-baking edited text. No API
18
+ change — the subsetting is automatic.
19
+
7
20
  ## [0.13.0] - 2026-06-16
8
21
 
9
22
  ### 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.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "TypeScript SDK for gigapdf-lib — a zero-dependency Rust→WASM PDF engine: 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+JavaScript→PDF renderer (no headless browser; a suspendable JS VM gives lazy generators and spec-ordered async). Self-contained .wasm, no third-party runtime deps.",
5
5
  "license": "PolyForm-Noncommercial-1.0.0",
6
6
  "author": "Rony Licha / QR Communication",