Schemas / Font (UFO / variable)
rig.font.avar
v0.31.0 · draft 1 field 1 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
segments |
array<object>min 2 items | required | Required. At least two knots; usually includes (−1,−1), (0,0), (1,1) |
Axis variation map for one rig.font.axis. Format when present.
OpenType avar segment list for that axis: normalized design (−1...1) to normalized blend (−1...1). Compose on the same entity as the axis. Absent component = identity map.
Segment
Hosts interpolate linearly between adjacent knots. Do not invent a second avar grammar on the face.
JSON Schema
Resolves at https://rig.works/schemas/rig.font.avar.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.font.avar.schema.json",
"title": "rig.font.avar",
"type": "object",
"additionalProperties": false,
"properties": {
"segments": {
"type": "array",
"minItems": 2,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"fromCoord",
"toCoord"
],
"properties": {
"fromCoord": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"toCoord": {
"$ref": "./_defs.schema.json#/$defs/float"
}
}
}
}
},
"required": [
"segments"
]
}