Doc kit command

font.list

Fonts

Answers the fonts the Font box offers, each once: the document's (`group` document), the common Chinese and Western names (chinese, western) and the families this engine has faces for (available); each says whether it is for East Asian text and, when there is no face of that name, the family it is drawn in (`shown`).

Kit
Doc 0.1.0 (.docx)
Changes the document
no

Parameters

None.

Call through doc_run

text
doc_run {
  "path": "<file>.docx",
  "steps": [{ "command": "font.list" }]
}

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

Result

Result of font.list
NameTypeRequiredDescription
fontsobject[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "fonts": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "eastAsian": {
            "type": "boolean"
          },
          "group": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "shown": {}
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}

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