Metadata
Definition
#/$defs/Font
Type
object
Source
spec/schemas/opf.schema.json
Fields
| Field | Type | Req | Description |
|---|---|---|---|
| family | string | yes | Font family name. |
| weight | number | — | Numeric font weight (e.g., 400 for regular, 700 for bold). |
| style | enum | — | Font style. |
| letterSpacing | number | — | Letter spacing (tracking) in ems. |
family
Type: string · Required · Default: —
Font family name.
{
"family": "Inter"
}weight
Type: number · Optional · Default: —
Numeric font weight (e.g., 400 for regular, 700 for bold).
{
"weight": 1
}style
Type: enum · Optional · Default: —
Font style.
{
"style": "normal"
}letterSpacing
Type: number · Optional · Default: —
Letter spacing (tracking) in ems.
{
"letterSpacing": 1
}