@qrcommunication/gigapdf-lib 0.62.0 → 0.63.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,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.63.0] - 2026-06-22
8
+
9
+ ### Changed
10
+
11
+ - **Added base-14 text references the standard font instead of embedding a
12
+ substitute** — `embed_font` now detects base-14 families (Helvetica/Arial,
13
+ Times, Courier, Symbol, ZapfDingbats — including Bold/Italic styles, via the new
14
+ `base14_postscript_name`) and registers a nude `/Type1` base-14 font (no
15
+ `FontFile`, WinAnsi encoding) rather than subsetting and embedding a Liberation
16
+ substitute. This mirrors the principle the form `/AP` regeneration already
17
+ applies. Adding text in a base-14 font now writes ~1 KB instead of ~57 KB per
18
+ font (≈50× smaller saved PDFs) while rendering identically (the rasteriser draws
19
+ base-14 natively). Custom (non-base-14) families are unchanged — still
20
+ subset + embedded. HTML rendering excludes base-14 from host font fetches.
21
+ Opt-in by family name: pass a base-14 PostScript/family name
22
+ (`'Helvetica'`, `'Times-Roman'`, `'Courier'`, …) to `embedFont` to reference
23
+ rather than embed.
24
+
7
25
  ## [0.62.0] - 2026-06-22
8
26
 
9
27
  ### 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.62.0",
3
+ "version": "0.63.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",