Skip to content

hellboxpy/hellbox-glyph-construction

Repository files navigation

hellbox-glyph-construction

A hellbox job that applies a .glyphConstruction file to a UFO source.

Usage

from hellbox import Hellbox
from hellbox.jobs.glyph_construction import GlyphConstruction

with Hellbox("build") as task:
    task.read("source/*.ufo") \
        >> GlyphConstruction("MyFont.glyphConstruction") \
        >> task.write("./build/ufo")

Installation

hell add hellbox-glyph-construction

Development

uv sync
uv run pytest

Updating the vendored glyphConstruction library

git submodule update --remote vendor/GlyphConstruction
cp vendor/GlyphConstruction/Lib/glyphConstruction.py \
    src/hellbox/jobs/glyph_construction/_vendor/glyphConstruction.py
git add vendor src/hellbox/jobs/glyph_construction/_vendor/glyphConstruction.py
git commit -m "vendor: update glyphConstruction to <version>"

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages