Skip to content

CLI Overview

Fontisan includes a comprehensive command-line interface.

Available Commands

CommandDescription
convertConvert between font formats
infoGet font information
validateValidate fonts
subsetSubset fonts
packCreate font collections
unpackExtract from collections
exportExport to TTX, SVG, etc.
lsList fonts in collection
instanceGenerate variable font instances

Global Options

bash
fontisan [options] <command>

Options:
  --format FORMAT    Output format (text, yaml, json)
  --verbose          Verbose output
  --quiet            Suppress non-error output
  --help             Show help
  --version          Show version

Getting Help

bash
# General help
fontisan --help

# Command help
fontisan convert --help
fontisan validate --help

Output Formats

Text (default)

bash
fontisan info font.ttf

YAML

bash
fontisan info font.ttf --format yaml

JSON

bash
fontisan info font.ttf --format json

Guides

Examples

Basic Conversion

bash
fontisan convert input.ttf --to otf --output output.otf

Validate for Web

bash
fontisan validate font.ttf --profile web

Extract Collection

bash
fontisan unpack fonts.ttc --output-dir ./extracted

Generate Instance

bash
fontisan instance variable.ttf --wght 700 --output bold.ttf

Fontisan is a [Ribose](https://open.ribose.com/) project