ftcli gsub
Utilities for editing the GSUB table.
Usage
ftcli gsub [OPTIONS] COMMAND [ARGS]...
rename-feature
Remaps the feature tags in the GSUB table.
Usage
ftcli gsub rename-feature [OPTIONS] INPUT_PATH
Options
- -old, --old-feature-name <old_feature_name>
Required The old feature name.
- -new, --new-feature-name <new_feature_name>
Required The new feature name.
- -r, --recursive
Recursively find font files both in input directory and its subdirectories.
Only applicable if
INPUT_PATHis a directory.
- -out, --output-dir <output_dir>
The directory where output files are to be saved.
If not specified, files will be saved to the same folder.
If the output directory doesn’t exist, it will be created, as well as any missing parent directories.
- -no-ow, --no-overwrite
Do not overwrite existing files on save.
If a file with the same name as the output file already exists, the command will suffix the filename with a number (
#1,#2, etc.).By default, existing files are overwritten.
- -no-rbb, --no-recalc-bboxes
Do not recalculate the font’s bounding boxes on save.
By default,
glyf,CFF ``, ``headbounding box values andhhea/vheamin/max values are recalculated on save. Also, the glyphs are compiled on importing, which saves memory consumption and time.
- -no-rtb, --no-reorder-tables
Do not reorder the font’s tables on save.
By default, tables are sorted by tag on save (recommended by the OpenType specification).
- -rts, --recalc-timestamp
Set the
modifiedtimestamp in theheadtable on save.By default, the original
modifiedtimestamp is kept.
Arguments
- INPUT_PATH
Required argument