38 lines
797 B
Markdown
38 lines
797 B
Markdown
# fntbld-oci
|
|
|
|
A Debian-based container image with font-building tools pre-installed:
|
|
|
|
- **FontForge** — scriptable font editor
|
|
- **ttfautohint** — auto-hinter for TrueType fonts
|
|
- **fontTools** — Python library for manipulating font files
|
|
|
|
The image contains no project-specific files. Mount or clone your font project into `/build` at runtime.
|
|
|
|
## Build locally
|
|
|
|
```bash
|
|
podman build -t fntbld-oci .
|
|
```
|
|
|
|
## Pull from GitHub Container Registry
|
|
|
|
```bash
|
|
podman pull ghcr.io/nicoverbruggen/fntbld-oci:latest
|
|
```
|
|
|
|
## Usage
|
|
|
|
From your font project directory:
|
|
|
|
```bash
|
|
podman run --rm -v .:/build ghcr.io/nicoverbruggen/fntbld-oci python3 build.py
|
|
```
|
|
|
|
## Debugging
|
|
|
|
To rebuild and get a shell inside the container:
|
|
|
|
```bash
|
|
podman build -t fntbld-oci . && podman run --rm -it fntbld-oci sh
|
|
```
|