---
title: "select.font: Select Text by Font — Vector kit command — Kition"
description: "Selects the type objects that use a font family (and style); answers the count."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/select.font"
---

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

# select.font

**Select Text by Font.** Selects the type objects that use a font family (and style); answers the count.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `family` | `string` | no |  |
| `style` | `string` | no |  |

## Call through vector_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `count` | `number` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "count": {
      "type": "number"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "family": {
      "type": "string"
    },
    "style": {
      "type": "string"
    }
  },
  "returns": "{count}",
  "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).
