---
title: "text.rescanFonts: Refresh Font List — Vector kit command — Kition"
description: "Rescans the system font folders for fonts installed or removed since start; text in newly available fonts redraws."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/text.rescanFonts"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/text.rescanFonts](https://developer.kition.ai/docs/kits/vector/commands/text.rescanFonts)

# text.rescanFonts

**Refresh Font List.** Rescans the system font folders for fonts installed or removed since start; text in newly available fonts redraws.

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `selectionOnly` | `boolean` | no | read by the command beside its listed parameters |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "text.rescanFonts" }]
}
```

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

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "selectionOnly": {
      "description": "read by the command beside its listed parameters",
      "type": "boolean"
    }
  },
  "returns": "{families, faces} (families listed, installed faces found)",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
