Design kit command
text.fonts
List fonts
Answers the available font families, or one family's styles with their OpenType features and variation axes.
- Kit
- Design 0.1.0 (.kdesign)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
axes | boolean | no | |
family | string | no | list its styles |
features | boolean | no | |
style | string | no |
Call through design_run
text
design_run {
"path": "<file>.kdesign",
"steps": [{ "command": "text.fonts" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: axes, family, features, style. design_run answers the step’s result in completed[i].result.
Result
Result JSON Schema
json
{
"items": {
"type": "string"
},
"type": "array"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"axes": {
"type": "boolean"
},
"family": {
"description": "list its styles",
"type": "string"
},
"features": {
"type": "boolean"
},
"style": {
"type": "string"
}
},
"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.