Skip to content
OctalMeshPublic

About

🪶 A clean, geometric font created for the OctalMesh design code

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

OctalFont is the home of the Octal typeface families, developed as part of the OctalMesh design system, and of the octalfont tool that builds them. Every glyph originates as a hand-drawn sketch, gets refined as a clean vector, and is compiled into TTF files by a fully automated pipeline: SVG drawings become UFO masters, composite glyphs and OpenType features are generated, and gftools builds the binaries.

Each family is a separate repository, mounted here under fonts/ as a Git submodule. The families are named after a material whose physical character mirrors the visual personality of the font: Titan, Cuprum, Mercury.

Font Families

Family Repository Named after Character
Octal Titan octalfont-titan Titanium Monospaced geometric display face of straight strokes and sharp corners.
Octal Cuprum octalfont-cuprum Copper Thin, neutral, monospaced, with a weight axis (Light, Regular, Bold).
Octal Mercury octalfont-mercury Mercury Rounded, fluid typeface derived from Titan.

All families are released under the SIL Open Font License 1.1.

How It Fits Together

flowchart LR
    subgraph tool["OctalFont (this repository, MIT)"]
        CLI["octalfont CLI<br/>sources, check, build, package, release"]
        WF["Reusable workflows<br/>CI, release PR, publish"]
    end
    subgraph fonts["fonts/ (submodules, OFL)"]
        T["octalfont-titan"]
        C["octalfont-cuprum"]
        M["octalfont-mercury"]
    end
    CLI -- "pinned in requirements.txt" --> T & C & M
    WF -- "called by thin workflows" --> T & C & M
Loading

The font repositories are completely independent: each one carries its sources, its OFL.txt and its history. The only thing they take from this repository is the build tool (pinned to a release tag in their requirements.txt) and the shared workflow logic.

Quick Start

Build a font (needs Python 3.10+ and Git):

git clone https://github.com/OctalMesh/octalfont-titan && cd octalfont-titan
python -m venv .venv && . .venv/bin/activate     # Windows: .venv\Scripts\activate
pip install -r requirements.txt                  # installs the pinned octalfont[build]
octalfont check --missing                        # checks legal files, vertical metrics and glyph-set coverage
octalfont build                                  # writes fonts/ttf/*.ttf

Work on the tool and the fonts together:

git clone --recurse-submodules https://github.com/OctalMesh/OctalFont && cd OctalFont
python -m venv .venv && . .venv/bin/activate
pip install -e ".[build,test]"                   # editable install
octalfont -C fonts/titan check                   # run any command against a family
pytest                                           # the tool's tests
Command What it does
octalfont sources SVG -> UFO masters, composites, designspace and gftools config.yaml
octalfont check legal files, vertical metrics and glyph-set coverage against
octalfont build sources + gftools builder + meta table; fonts land in fonts/
octalfont package Family-vX.YYY.zip in the root, ready for release
octalfont npm self-hostable npm package (WOFF2 + CSS) from the built fonts
octalfont release ... changesets, versioning and release gates

Details, options and troubleshooting: Build Guide and Configuration.

Use the Fonts in Your Project

Every font release is also published as an npm package of self-hosted WOFF2 files, split by script and shipped with ready-made CSS. Your project serves the font from its own origin: no third-party requests, no extra setup.

Family Package
Octal Titan @octalmesh/octal-titan
Octal Cuprum @octalmesh/octal-cuprum
Octal Mercury @octalmesh/octal-mercury
npm install @octalmesh/octal-titan
import "@octalmesh/octal-titan";   // all subsets; or "@octalmesh/octal-titan/latin.css"

The packages appear with the first published release of each family. The package is a plain redistribution under the OFL: names, metadata and the license file are unchanged, and upstream layout (fonts/, OFL.txt, the release archive) stays the source of truth.

How packages are built and published: RELEASING.md.

Repository Layout

OctalFont/
├── src/octalfont/      the tool (sources, check, build, package, release)
│   └── data/glyphsets/ Google Fonts glyph sets shipped with the tool
├── tests/              pytest suite
├── fonts/              font families, one Git submodule each
│   ├── titan/          sources/{ai,svg,ufo}, font.yaml, OFL.txt, workflows
│   ├── cuprum/
│   └── mercury/
├── docs/               design and technical documentation
├── assets/             logos and branding
├── .changeset/         pending changesets and release configuration
├── .github/workflows/  CI, release automation and reusable workflows
└── RELEASING.md        how releases happen

Development

pip install -e ".[test,lint]"
pytest                            # tests
ruff check .                      # lint
octalfont release add             # describe your change (required for package changes)

Pull requests target dev and carry a changeset; the rest of the release is automated by the octal-automation GitHub App. Read CONTRIBUTING.md before you start.

Releases

The tool uses SemVer (v0.1.0); a font uses Google Fonts-style MAJOR.MINOR versions (v1.001). In both cases a changeset decides the bump, a bot-maintained draft pull request ships it, and the release is distributed when a maintainer publishes the draft GitHub Release. The wheel and sdist of the tool, and the font archives, are attached to the Releases with a build-provenance attestation. The whole flow is described in RELEASING.md.


OctalMesh

Telegram   YouTube   TikTok   Instagram   X   Reddit
• • •

The tool in this repository is licensed under the MIT License. Every font family is licensed under the SIL Open Font License 1.1 in its own repository.

  • You may freely use, modify, and distribute the code under the MIT License.
  • The fonts allow use, modification, and embedding, provided the license and attribution are retained.
  • Modified versions of a font must be released under the OFL.
  • Both code and fonts are provided "as is" without warranties.

About

🪶 A clean, geometric font created for the OctalMesh design code

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages