baz font
Manage project fonts
baz font [options] [command]| Option | Description |
|---|---|
-h, --help | display help for command |
baz font upload
Upload a WOFF2, WOFF, TTF, or OTF font to the active project
baz font upload [options] <file>| Option | Description |
|---|---|
--family <name> | CSS font-family name, for example Effra |
--weight <weight> | Font weight from 1 to 1000 Default: 400. |
--style <style> | Font style: normal or italic Default: normal. |
-h, --help | display help for command |
Supported files:
WOFF2, WOFF, TTF, and OTF.
Font face fields:
--family is the CSS font-family name used in scene code.
--weight identifies the uploaded face, for example 400 or 700.
--style identifies a normal or italic face.
Examples:
baz font upload ./Effra.ttf --family Effra --project-id <id>
baz font upload ./Effra-BoldItalic.woff2 --family Effra --weight 700 --style italic --project-id <id> --json