Schemas / Font (UFO / variable)

rig.font.master

v0.32.0 · draft 1 field 1 required

Fields

FieldTypeMeaning
location array<object>min 1 items required Required. Design coordinates for this master

One interpolation master on a face. Format when present.

Compose on the rig.font.layer entity that holds this master's outlines - the designspace <source> idea: same glyph set, drawn at one location in the design space. The default master is the layer without this component (or with every value at the axis default).

Location term

Axes absent from location sit at their default. Interpolation math and compiled deltas are fulfillment; live reconstruction data is rig.font.cell on the glyph. Named instances stay fulfillment.

JSON Schema

Resolves at https://rig.works/schemas/rig.font.master.schema.jsonraw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.font.master.schema.json",
  "title": "rig.font.master",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "location": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "tag",
          "value"
        ],
        "properties": {
          "tag": {
            "$ref": "./_defs.schema.json#/$defs/string"
          },
          "value": {
            "$ref": "./_defs.schema.json#/$defs/float"
          }
        }
      }
    }
  },
  "required": [
    "location"
  ]
}