@paged-media/introspect-wasm 0.66.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paged-media/introspect-wasm",
3
- "version": "0.66.0",
3
+ "version": "0.68.0",
4
4
  "type": "module",
5
5
  "main": "paged_introspect_wasm.js",
6
6
  "types": "paged_introspect_wasm.d.ts",
@@ -87,10 +87,30 @@ export interface SceneTextItem {
87
87
  size: number;
88
88
  paint: ScenePaint;
89
89
  /**
90
- * Reserved face hints (v1 renders in the document default font).
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