Applies STAT information from a Stylespace to a variable font.
Project description
statmake
Apply user-defined .stylespace
files to variable fonts to generate a STAT
table.
Usage
- Write a Stylespace file that describes each stop of all axes available in the entire family. See tests/data/Test.stylespace for an annotated example.
- If you have one or more Designspace files which do not define all axes available to the family, you have to annotate them with the missing axis locations to get a complete
STAT
table. See the lib key at the bottom of tests/data/Test_Wght_Upright.designspace and tests/data/Test_Wght_Italic.designspace for an example. - Generate the variable font(s) as normal
- Run
statmake your.stylespace variable_font.designspace variable_font.ttf
. Take care to use the Designspace file that was used to generate the font to get the correct missing axis location definitions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
statmake-0.1.0.tar.gz
(6.0 kB
view hashes)
Built Distribution
statmake-0.1.0-py3-none-any.whl
(17.9 kB
view hashes)