Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tuyen font subset command

Extract font subset.

Usage

tuyen font subset [OPTIONS]

Options

-i, –input <INPUT>

Input file path.
Aliases: --src.

-o, –output <OUTPUT>

Output file path.
Aliases: --dest.

-w, –wght <WGHT>

Weight axis value to set in the subset font.
Example: “400”, “700”, “300:700”.
Default: 400:700.

-u, –unicodes <UNICODES>

Unicode ranges to include in the subset.
Examples: “U+0020-007F”, “U+0020-007F,U+00A0-00FF,U+20AB”.
Default includes Latin and Vietnamese characters.

–additional-code <ADDITIONAL_CODE>

Additional Unicode code points to include in the subset.
Examples: “U+20AB”, “U+1F600,U+1F601”.
Aliases: --ac.

-f, –flavor <FLAVOR>

Flavor of the output font.
Default: woff2.

-l, –layout-features <LAYOUT_FEATURES>

Layout features to include in the subset.
Default: kern.

-k, –keep-axes <KEEP_AXES>

Whether to keep the axes of the input font.
Default: false.
Possible values: true, false.

–no-hinting

–no-meta.

–no-legacy-kern.

–desubroutinize.

-h, –help.
Print help.