TypeActive2026

Fontlore

Typography decisions backed by records that carry a source or say null.

A verified data layer, a curated pairing set and a deterministic command-line engine that turns a project brief into a ranked font shortlist with its reasons written down.

Licence
MIT
Version
1.0
Primary language
Python
Status
Active
  • 165Font records
  • 66Curated pairings
  • 71Tool entries
  • 727Guides and references
01 / Overview

Font choices fail on facts

A typeface decision depends on facts that are easy to get wrong: the licence, the scripts a family actually covers, whether a variable build exists, and whether the family is still maintained. Catalogues go stale, licence assumptions spread from blog post to blog post, and a language model asked to pick a font will produce a confident answer that was never checked against a foundry.

Fontlore treats those facts as data with provenance. Every font record carries a source URL. A field that could not be checked at the source is stored as null, not guessed, which means a shortlist can be defended line by line and a gap is visible instead of silently filled.

Three layers, one entry point

The repository separates what it knows, what it recommends and what it runs.

The data layer is three JSON files: 165 font records with identity, classification, script coverage, licence, variable axes and specimen links; 66 curated heading-and-body pairings with a context and a rationale; and 71 entries for the tools around type work.

The documentation layer is a SKILL.md that tells an agent when to load the project, a master document that specifies the decision rubric in full, and 95 hand-written references across nine categories, with fifteen of them on licensing alone. A further 632 guides are generated from the data, one for each font, pairing and tool.

The executable layer is a standard-library Python command-line tool with no network access.

A rubric, not a vibe

scripts/decide.py takes a brief with a project type, a required script and a tone. It hard-filters the records by script coverage and accepted licence, then scores the survivors out of one hundred: thirty points for category fit, twenty-five for tone, fifteen for a variable build, fifteen for script coverage and fifteen for an open licence. It prints a ranked shortlist with the reason each candidate scored as it did, and it suggests curated pairings that touch the shortlist. Machine-readable output is one flag away.

The point of a deterministic engine is that the same brief produces the same shortlist, and a disagreement about a font becomes a disagreement about a weight rather than a matter of taste.

The gate is a script

scripts/validate.py runs in CI on every push and pull request. It checks that each JSON file parses and that its declared counts match its arrays, that required fields are present, that every licence comes from the accepted set, that every URL is https, that no static font claims variable axes, that pairings point at real fonts, and that the Markdown holds to one heading and one house style. A data project lives or dies on its gate, so the gate is readable in an afternoon and refuses the commit that breaks it.

A library you can browse

A prebuilt static site presents the data as a tabbed library, deployed to GitHub Pages on every push. It makes no external requests, sets no cookies and runs no analytics, which is the right default for a reference you might open on a slow connection. The data underneath it is the same data the command-line tool scores.

02 / What it does
  1. 01

    \"A verified data layer\"

    One hundred and sixty-five font records carry identity, classification, script coverage, licence and variable axes, and every record has a source URL with unverifiable fields stored as null rather than guessed.

  2. 02

    \"A deterministic scoring engine\"

    A standard-library command-line tool hard-filters by script and licence, then scores survivors out of one hundred on category fit, tone, variable build, script coverage and open licence, and prints the reasons.

  3. 03

    \"Curated pairings with rationale\"

    Sixty-six heading-and-body pairings, each with a context and a stated rationale, suggested automatically when they touch the shortlist the engine returns.

  4. 04

    \"Ninety-five references, nine categories\"

    Hand-written references on sourcing, selection, identification, licensing, scripts, technical detail, accessibility, applications and workflow, with fifteen on licensing alone.

  5. 05

    \"Six hundred and thirty-two generated guides\"

    One guide for each font, pairing and tool, generated from the data at release time so the prose cannot drift from the records it describes.

  6. 06

    \"A quality gate on every commit\"

    A validator checks JSON structure, declared counts against arrays, required fields, the accepted licence set, https-only URLs, pairing integrity and Markdown house style, and runs in CI on every push.

The Fontlore documentation site, captured in a browser
The project's own documentation page, captured in a browser. The repository is the source of every detail on this page.
03 / Stack
  • Python
  • JSON data
  • Markdown references
  • Static site
04 / Limits and non-goals

Taken from the repository. These are the things the project says it does not do, or the places it can fail.

  • The data layer is strongest in Latin, Devanagari, Arabic and Hebrew. Deeper coverage for Thai, CJK families, Tamil, Myanmar and Ethiopic is the largest known gap.
  • It does not host or redistribute font files, and it does not recommend commercial fonts by default.
  • Fields that could not be verified are stored as null rather than estimated, so some records are deliberately incomplete.
  • Planned work carries no committed dates.
05 / Where these facts come from
  • README.md
  • LICENSE
  • ROADMAP.md
  • SKILL.md
  • data/fonts.json
  • scripts/decide.py
  • scripts/validate.py

Counts, versions and licences on this page were read from the repository at the date of writing. If a page and the repository disagree, the repository is correct. Found an error? Open an issue.