@tumaet/apollon 5.0.1 → 5.1.1

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/dist/export.d.ts CHANGED
@@ -24,13 +24,16 @@ export declare type SvgToPdfOptions = {
24
24
  /** Document title metadata; does not affect layout. */
25
25
  title?: string;
26
26
  /**
27
- * Inter Regular + Bold as ttf/otf bytes, for hosts without `fetch` of the
28
- * bundled `?url` font asset (e.g. tests, headless Node). Defaults to the
29
- * bundled Inter.
27
+ * Inter faces as ttf/otf bytes, for hosts without `fetch` of the bundled
28
+ * `?url` font asset (e.g. tests, headless Node). Defaults to the bundled
29
+ * Inter. `italic`/`boldItalic` are optional — omit them and abstract text
30
+ * simply won't render slanted in that host.
30
31
  */
31
32
  fonts?: {
32
33
  regular: Uint8Array;
33
34
  bold: Uint8Array;
35
+ italic?: Uint8Array;
36
+ boldItalic?: Uint8Array;
34
37
  };
35
38
  };
36
39