Skip to main content

Generate backwards-compatible, static instances of variable fonts

Project description

About

VFIT (Variable Font Instancing Tool) allows you to generate custom, static instances of a variable font defined in a configuration file.

Installation

VFIT is now available on the Python Package Index. You can install VFIT with the following command:

$ pip3 install vfit

Alternatively, you can install VFIT by downloading a pre-built wheel from the Releases section or by building it yourself.

# Skip this step if you're downloading a prebuilt wheel.
$ git clone https://github.com/jonpalmisc/vfit.git && cd vfit
$ poetry build && cd dist

# Install VFIT from the wheel.
$ pip install vfit-version-py3-none-any.whl

Usage

To begin, you will need a variable font file to work with. Your first step will be creating a configuration file. See sample.json for an example.

Next, run VFIT and pass your configuration and variable font file as arguments:

$ vfit config.json variable.ttf

If you would like to generate instances into a specific directory, you can use the -o option. For more options, see vift --help.

Contributing

All contributions are welcome. If you find a bug or have a request for a feature, feel free to create a new issue (or even better, a pull request).

Credits

Special thanks to Viktor Rubenko for helping me get exported fonts to work on Windows!

The VFIT logo uses NewGlyph's Armada variable font.

License

Copyright © 2020 Jon Palmisciano

VFIT is available under the MIT License. See LICENSE.txt for more information.

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

vfit-2.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

vfit-2.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file vfit-2.1.0.tar.gz.

File metadata

  • Download URL: vfit-2.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.6 Darwin/19.6.0

File hashes

Hashes for vfit-2.1.0.tar.gz
Algorithm Hash digest
SHA256 67ec63131e009b5030d9caf77f41cd824948719ca0e0eb498a44f88596abc906
MD5 c611afff3a36b6fdffa6188c0b1d7a35
BLAKE2b-256 92594cb8e5cc1b4698ad8fc029efd052ab0fb718c073950df2b6c25cdb8889c4

See more details on using hashes here.

File details

Details for the file vfit-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: vfit-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.6 Darwin/19.6.0

File hashes

Hashes for vfit-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f30beadec4c12ad2c5bfa201abaf1f0841472f2db50f02b4b3464c566d7daf4
MD5 c6501c59c43c5ca11a04fbdd754827af
BLAKE2b-256 0180562a384510d75251989525facd6419d96bbbcfed92c24c81377a57adc0ec

See more details on using hashes here.

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