@qrcommunication/gigapdf-lib 0.105.0 → 0.107.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 +43 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js.map +1 -1
- package/gigapdf.wasm +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,49 @@ project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.107.0] - 2026-06-27
|
|
10
|
+
|
|
11
|
+
### Changed — PDF → Office conversion quality overhaul
|
|
12
|
+
|
|
13
|
+
- **All PDF→Office/HTML exports now produce flowing, editable documents** —
|
|
14
|
+
`toDocx()`, `toOdt()`, `toPptx()`, `toOdp()`, `toHtml()` route through the
|
|
15
|
+
reconstructed semantic model (real `<w:p>` paragraphs, `<w:tbl>` tables, list
|
|
16
|
+
numbering, section geometry) instead of fixed-position VML text boxes.
|
|
17
|
+
|
|
18
|
+
- **Run coalescing** — adjacent text fragments with the same font/style are
|
|
19
|
+
merged into clean contiguous spans, fixing the "every word is a separate run"
|
|
20
|
+
problem that made exported Word documents uneditable.
|
|
21
|
+
|
|
22
|
+
- **Cross-page paragraph merging** — paragraphs split across page boundaries are
|
|
23
|
+
stitched back together.
|
|
24
|
+
|
|
25
|
+
- **Page margins, multi-column layout, hard page breaks, and extended metadata**
|
|
26
|
+
(creation/modification dates, creator, producer) are now recovered from the
|
|
27
|
+
PDF and emitted in the Office output.
|
|
28
|
+
|
|
29
|
+
### Removed
|
|
30
|
+
|
|
31
|
+
- Dead VML-based export path (`office::to_docx/odt/pptx/odp`, `web::to_html`)
|
|
32
|
+
has been deleted — the model-based exporters are now the only path.
|
|
33
|
+
|
|
34
|
+
## [0.106.0] - 2026-06-27
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
|
|
38
|
+
- **`textElements` now reports the scope-correct font for text inside form
|
|
39
|
+
XObjects.** A run drawn through a reusable form XObject (CERFA / invoice /
|
|
40
|
+
letterhead templates) was styled against the page's `/Font` table instead of the
|
|
41
|
+
form's own, so its `fontFamily`/`bold`/`italic` collapsed to "Helvetica" regular
|
|
42
|
+
— losing the embedded face and weight, and misplacing the editor overlay (wrong
|
|
43
|
+
metrics). Each run is now styled against the font table of its own scope.
|
|
44
|
+
|
|
45
|
+
### Added
|
|
46
|
+
|
|
47
|
+
- **`TextElementInfo.baseFont`** — the run's raw `/BaseFont` with the subset prefix
|
|
48
|
+
kept (e.g. `"ABCDEF+TimesNewRomanPSMT"`), resolved against the run's own scope, so
|
|
49
|
+
a host editor can target the exact embedded subset rather than only the collapsed
|
|
50
|
+
`fontFamily`. Empty when the font carried no `/BaseFont` (e.g. a Type3 font).
|
|
51
|
+
|
|
9
52
|
## [0.105.0] - 2026-06-26
|
|
10
53
|
|
|
11
54
|
### Fixed
|