Schemas / Font (UFO / variable)

rig.font.kern

v0.31.0 · draft 3 fields 3 required

Fields

FieldTypeMeaning
left string required Left glyph or group name
right string required Right glyph or group name
value float required Pair adjustment in font units (negative = tighter)

One kerning pair. Format when present.

UFO kerning.plist entry. left / right are names (glyph stableId or rig.font.group stableId), not entity ids - that matches the plist keys.

Parent pairs to the rig.font.face. One pair per entity. Group-to-group pairs use the group names as written in the UFO.

JSON Schema

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

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.font.kern.schema.json",
  "title": "rig.font.kern",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "left": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "right": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "value": {
      "$ref": "./_defs.schema.json#/$defs/float"
    }
  },
  "required": [
    "left",
    "right",
    "value"
  ]
}

Seen in

font-ufo.json