@qrcommunication/gigapdf-lib 0.49.0 → 0.50.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,35 @@ 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.50.0] - 2026-06-18
8
+
9
+ ### Added
10
+
11
+ - **Bundled fallback font (offline rendering).** HTML→PDF and Office→PDF now embed
12
+ a permissively-licensed fallback font (Liberation Sans, SIL OFL 1.1) when the
13
+ host provides no matching font, so text renders with real, selectable glyphs and
14
+ correct advance widths with **zero network** — instead of rough average-width
15
+ estimates. Host-provided / Google fonts still take precedence; `needed_fonts`
16
+ is unchanged.
17
+ - **Annotation appearances in the rasterizer.** `renderPage` now composites each
18
+ annotation's normal appearance stream (`/AP /N`, selected by `/AS`) onto the
19
+ page, mapping the appearance `/BBox`·`/Matrix` onto the annotation `/Rect`
20
+ (ISO 32000-1 §12.5.5) and honouring `/CA` opacity plus the Hidden/NoView flags.
21
+ Previously annotation appearances were not drawn.
22
+ - **Floating shapes in XLSX / ODS export.** Page vector shapes are now carried
23
+ into a real drawing layer (XLSX `xl/drawings` `xdr:absoluteAnchor` + DrawingML
24
+ geometry/fill/stroke/dash; ODS `draw:` shapes), matching the DOCX/PPTX/ODT/ODP
25
+ exporters. Shape-less output stays byte-identical.
26
+
27
+ ### Changed
28
+
29
+ - **Table column widths honoured.** The native HTML layout engine reads per-column
30
+ widths (`<colgroup>`/`<col>` or first-row cell widths; pt/px/%) and positions
31
+ cells proportionally, with `colspan` summing the spanned widths, instead of
32
+ forcing equal columns. The DOCX (`w:tblGrid`/`w:gridCol`) and ODF
33
+ (`table:table-column` / `style:column-width`) importers emit those widths.
34
+ Tables without declared widths keep equal columns (no regression).
35
+
7
36
  ## [0.49.0] - 2026-06-18
8
37
 
9
38
  ### Changed
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.49.0",
3
+ "version": "0.50.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",