Skip to content

GenomeSpy Core API / FontCatalogEntry

Interface: FontCatalogEntry

One exact TrueType face available to the WebGPU renderer.

Properties

family

family: string

Font-family name used by the visualization specification.


source

source: string | URL

URL of a browser-fetchable TrueType (.ttf) font.


weight?

optional weight?: number

CSS-like numeric font weight.

Default value: 400


style?

optional style?: "normal" | "italic"

Font style.

Default value: "normal"