Skip to main content

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.

Installation

The easiest way is by installing it with pip. You need at least Python 3.6.

pip3 install statmake

Usage

  1. 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.
  2. 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.
  3. Generate the variable font(s) as normal
  4. 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


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.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

statmake-0.1.1-py3-none-any.whl (18.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page