Skip to content

vyaz-monorepo / core/src / LayoutWarning

Interface: LayoutWarning ​

Defined in: core/src/types/LayoutTypes.ts:233

A non-fatal issue found while laying out.

Properties ​

requested ​

requested: string

Defined in: core/src/types/LayoutTypes.ts:241

The first (preferred) family the run asked for.


runIndex ​

runIndex: number

Defined in: core/src/types/LayoutTypes.ts:245

Index of the source run in its paragraph's children.


type ​

type: "font-fallback" | "font-missing"

Defined in: core/src/types/LayoutTypes.ts:239

  • font-fallback — a later entry in a fontFamily fallback list was used.
  • font-missing — no requested family was registered; a substitute was used (only under onMissingFont: 'substitute').

used ​

used: string

Defined in: core/src/types/LayoutTypes.ts:243

The family actually used.

Released under the MIT License.