Skip to content

hellboxpy/hellbox-instancer

Repository files navigation

hellbox-instancer

A hellbox plugin that generates static instances from variable fonts using fonttools.

Usage

Pin one or more axes by passing axis tags as keyword arguments:

from hellbox import Hellbox
from hellbox.jobs.instancer import Instance

with Hellbox("instance") as task:
    task.read("build/*.ttf") >> Instance(wght=700) >> task.write("instances")

Restrict an axis to a range rather than pinning it by passing a tuple:

Instance(wght=(300, 700))

Multiple axes can be combined:

Instance(wght=700, wdth=100)

Installation

hell add hellbox-instancer

Development

uv sync
uv run pytest

About

Variable font instancing job for hellbox

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages