Skip to content

Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType).

License

Notifications You must be signed in to change notification settings

m4rc1e/fontmake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis Build Status

fontmake

This library provides a wrapper for several other Python libraries which together compile fonts from various sources (.glyphs, .ufo) into binaries (.otf, .ttf).

Install

Create new virtual environment (optional, but recommended):

python -m pip install --user virtualenv  # install virtualenv if not available
python -m virtualenv env  # create environment named 'env' in current folder
source env/bin/activate  # activate the environment (run `deactivate` to exit)

Install fontmake's dependencies:

pip install -r requirements.txt

Install fontmake:

pip install -e .  # `-e` is for "editable" mode, only required for developers

Run

After installation, fontmake can be run end-to-end as a module:

# outputs master binaries
python -m fontmake MyFont.glyphs

Use -h to see a list of runtime options. -i will output instance binaries, -c will ensure the output is interpolation compatible (for both masters and instances).

You can also use fontmake to run intermediate steps in the build process, via methods of the fontmake.font_project.FontProject class.

About

Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.6%
  • HTML 4.3%
  • Shell 3.1%