@paged-media/introspect-wasm 0.67.0 → 0.68.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
CHANGED
|
@@ -87,10 +87,30 @@ export interface SceneTextItem {
|
|
|
87
87
|
size: number;
|
|
88
88
|
paint: ScenePaint;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* v68 — the run\'s font family. Resolved through the renderer\'s font
|
|
91
|
+
* resolver (the faces the host registered for the document); the
|
|
92
|
+
* document default font draws the run only when the family does not
|
|
93
|
+
* resolve, and that fallback is reported (a `FontSubstituted`
|
|
94
|
+
* diagnostic carrying the frame id, and `SceneLayerApplied.
|
|
95
|
+
* fontFallbacks`). Absent ⇒ the default font, as before v68.
|
|
91
96
|
*/
|
|
92
97
|
family?: string;
|
|
98
|
+
/**
|
|
99
|
+
* v68 — the face within `family`, spelled like IDML\'s `FontStyle`
|
|
100
|
+
* (`\"Bold\"`, `\"Italic\"`, `\"Bold Italic\"`, `\"Light\"`). When absent it
|
|
101
|
+
* is derived from `weight` / `italic`.
|
|
102
|
+
*/
|
|
93
103
|
style?: string;
|
|
104
|
+
/**
|
|
105
|
+
* v68 — numeric weight (CSS scale, `100..=900`). Sets the `wght`
|
|
106
|
+
* axis of a variable face; when `style` is absent it also picks the
|
|
107
|
+
* style name (`700` ⇒ `\"Bold\"`).
|
|
108
|
+
*/
|
|
109
|
+
weight?: number;
|
|
110
|
+
/**
|
|
111
|
+
* v68 — italic. Only consulted when `style` is absent.
|
|
112
|
+
*/
|
|
113
|
+
italic?: boolean;
|
|
94
114
|
}
|
|
95
115
|
|
|
96
116
|
/**
|
|
Binary file
|