Design kit command

text.missingFonts

Missing fonts

Answers the font families the document uses that aren't installed, with the layers that use them.

Kit
Design 0.1.0 (.kdesign)
Changes the document
no

Parameters

Parameters of text.missingFonts
NameTypeRequiredDescription
textstringnoread by the command beside its listed parameters

Call through design_run

text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "text.missingFonts" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: text. design_run answers the step’s result in completed[i].result.

Result

Result of text.missingFonts
NameTypeRequiredDescription
familiesany[]no
uiRequestsobject[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "families": {
      "type": "array"
    },
    "uiRequests": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "data": {
            "additionalProperties": true,
            "type": "object"
          },
          "kind": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "text": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    }
  },
  "returns": "{families: [{family, layers}]}",
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (design_commands through @kition/[email protected], built from KitionAI/kition-design@abc7e16). As data: commands.jsonl.