@paged-media/sdk 0.67.0 → 0.69.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/package.json +1 -1
- package/paged_sdk.d.ts +21 -1
- package/paged_sdk.js +1 -1
- package/paged_sdk_bg.wasm +0 -0
package/package.json
CHANGED
package/paged_sdk.d.ts
CHANGED
|
@@ -76,10 +76,30 @@ export interface SceneTextItem {
|
|
|
76
76
|
size: number;
|
|
77
77
|
paint: ScenePaint;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* v68 — the run\'s font family. Resolved through the renderer\'s font
|
|
80
|
+
* resolver (the faces the host registered for the document); the
|
|
81
|
+
* document default font draws the run only when the family does not
|
|
82
|
+
* resolve, and that fallback is reported (a `FontSubstituted`
|
|
83
|
+
* diagnostic carrying the frame id, and `SceneLayerApplied.
|
|
84
|
+
* fontFallbacks`). Absent ⇒ the default font, as before v68.
|
|
80
85
|
*/
|
|
81
86
|
family?: string;
|
|
87
|
+
/**
|
|
88
|
+
* v68 — the face within `family`, spelled like IDML\'s `FontStyle`
|
|
89
|
+
* (`\"Bold\"`, `\"Italic\"`, `\"Bold Italic\"`, `\"Light\"`). When absent it
|
|
90
|
+
* is derived from `weight` / `italic`.
|
|
91
|
+
*/
|
|
82
92
|
style?: string;
|
|
93
|
+
/**
|
|
94
|
+
* v68 — numeric weight (CSS scale, `100..=900`). Sets the `wght`
|
|
95
|
+
* axis of a variable face; when `style` is absent it also picks the
|
|
96
|
+
* style name (`700` ⇒ `\"Bold\"`).
|
|
97
|
+
*/
|
|
98
|
+
weight?: number;
|
|
99
|
+
/**
|
|
100
|
+
* v68 — italic. Only consulted when `style` is absent.
|
|
101
|
+
*/
|
|
102
|
+
italic?: boolean;
|
|
83
103
|
}
|
|
84
104
|
|
|
85
105
|
/**
|
package/paged_sdk.js
CHANGED
|
@@ -1351,7 +1351,7 @@ function __wbg_get_imports() {
|
|
|
1351
1351
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
1352
1352
|
}, arguments); },
|
|
1353
1353
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
1354
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1354
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1825, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1355
1355
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h78ff2cea7266d1aa);
|
|
1356
1356
|
return ret;
|
|
1357
1357
|
},
|
package/paged_sdk_bg.wasm
CHANGED
|
Binary file
|