@qrcommunication/gigapdf-lib 0.105.0 → 0.106.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 +18 -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,24 @@ project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.106.0] - 2026-06-27
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **`textElements` now reports the scope-correct font for text inside form
|
|
14
|
+
XObjects.** A run drawn through a reusable form XObject (CERFA / invoice /
|
|
15
|
+
letterhead templates) was styled against the page's `/Font` table instead of the
|
|
16
|
+
form's own, so its `fontFamily`/`bold`/`italic` collapsed to "Helvetica" regular
|
|
17
|
+
— losing the embedded face and weight, and misplacing the editor overlay (wrong
|
|
18
|
+
metrics). Each run is now styled against the font table of its own scope.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- **`TextElementInfo.baseFont`** — the run's raw `/BaseFont` with the subset prefix
|
|
23
|
+
kept (e.g. `"ABCDEF+TimesNewRomanPSMT"`), resolved against the run's own scope, so
|
|
24
|
+
a host editor can target the exact embedded subset rather than only the collapsed
|
|
25
|
+
`fontFamily`. Empty when the font carried no `/BaseFont` (e.g. a Type3 font).
|
|
26
|
+
|
|
9
27
|
## [0.105.0] - 2026-06-26
|
|
10
28
|
|
|
11
29
|
### Fixed
|