@qrcommunication/gigapdf-lib 0.44.0 → 0.45.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,34 @@ 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.45.0] - 2026-06-18
8
+
9
+ ### Added
10
+
11
+ - **Rich Office → PDF conversion.** `officeToPdf` now maps DOCX/XLSX/PPTX/
12
+ ODT/ODS/ODP (and legacy OLE2 `.doc`/`.xls`/`.ppt`) to styled HTML — headings,
13
+ bold/italic/size/colour runs, tables, lists and embedded images — and renders
14
+ it through the native HTML→PDF engine instead of the old text-only flatten. No
15
+ LibreOffice/soffice dependency.
16
+ - **More OCR languages.** New host-loaded `.gpocr` line models beyond
17
+ Latin/Cyrillic/Greek: Arabic + Hebrew (RTL), Devanagari, Bengali and Tamil,
18
+ plus a larger 24/48/96 backbone retrain (clean-print CER now well past
19
+ Tesseract) and a handwriting-augmented `alpha` variant. Auto-discovered by
20
+ `loadAllBundledOcrModels`; the wasm still ships no weights.
21
+
22
+ ### Fixed
23
+
24
+ - **Text extraction recurses into form XObjects.** Text drawn via reusable form
25
+ XObjects (the `Do` operator — common in invoice/template PDFs) was rasterised
26
+ but never extracted, so it showed in the page image yet could not be selected
27
+ or edited. The extractor now walks `Do` into `/Subtype /Form` XObjects
28
+ (composing the form `/Matrix` with the CTM, with depth and cycle guards), so
29
+ form text is recovered in page space.
30
+ - **Font-less HTML render no longer drops text.** The HTML renderer skipped
31
+ every text run when no embedded font matched, so a render with no
32
+ host-provided fonts produced a blank page; a base-14 standard-font fallback
33
+ now always paints text.
34
+
7
35
  ## [0.44.0] - 2026-06-18
8
36
 
9
37
  ### Added
package/gigapdf.wasm CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
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.44.0",
3
+ "version": "0.45.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",