Schemas / Font (UFO / variable)

rig.font.layer

v0.31.0 · draft 1 field 0 required

Fields

FieldTypeMeaning
role enumforeground · background · spare optional Optional. foreground / background / spare; absent = foreground

UFO layer identity. Format when present.

Compose rig.meta.named for the layer name (public.default, background). Parent the layer to the rig.font.face; parent glyphs to this layer - rig.spatial.relationship.

Not rig.spatial.layer (scene draw stack).

JSON Schema

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

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.font.layer.schema.json",
  "title": "rig.font.layer",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "role": {
      "type": "string",
      "enum": [
        "foreground",
        "background",
        "spare"
      ]
    }
  }
}

Seen in

font-ufo.json · font-var.json