deniz.in

Markets

Weather

Loading weather

· via Hacker News – Front Page (native)

Nordwand Mono is a new monospace coding font drawn entirely in Python

A developer has released Nordwand Mono, a compact neo-grotesque monospace font that merges Univers-inspired letterforms with JetBrains Mono proportions, with every glyph generated from Python code.

Nordwand Mono is a new monospace coding font drawn entirely in Python

A coding font built from scratch in Python

Nordwand Mono, a compact monospace typeface designed for terminal and editor use, has been published on GitHub and is drawing attention after reaching the Hacker News front page. According to the project's page, its author built the font from scratch in Python after being unable to find an existing typeface that felt right for terminal work and Neovim.

The design is a deliberate hybrid. The font attempts to bring elements of Adrian Frutiger's classic Univers into the proportions of JetBrains Mono, and the name is a nod to Switzerland, its typographic tradition and its famously severe north faces. The author also cites Apple's SF Pro and SF Mono, Sharp Type's Alpes Mono and Dalton Maag's Ubuntu Mono as design influences.

Ligatures kept to a minimum

Where fonts such as Fira Code popularised extensive sets of programming ligatures, Nordwand Mono exposes only two: the arrow sequences "->" and "=>". According to the project page, a fuller set may be added later, although the author does not plan to use one personally. Beyond ligatures, the font ships alternate character designs that can be toggled through OpenType feature tags, letting users adjust the overall look without switching typefaces.

The font comes in multiple weights, includes a Cyrillic alphabet, and the repository presents code samples set in Python, C++ and Haskell.

Regenerate the font with your own metrics

The most unusual part of the project is how it is built. Rather than being drawn in a traditional font editor, the typeface is generated by code: each glyph comes from a Python glyph class into which a drawing context object can be injected. That opens the door to custom builds. Users can override an example configuration file to change metrics such as x-height or capital height, preview individual glyphs with a bundled visualisation module, and then run the generator to compile a complete set of font files into a custom output directory.

The author cautions that there are no guarantees the font will still look good with altered metrics, and that some glyphs may need manual adjustment after such changes.

Why it matters

A terminal font is one of the tools developers stare at for hours every day, and the field of monospace typefaces has consolidated around a handful of well-known options. Nordwand Mono stands out for two reasons. First, it is defined as code: because every glyph is a Python class and every metric is a configuration value, users are not locked into a static font file but can regenerate a variant tuned to their own preferences. Second, its restrained approach to ligatures touches a long-running debate among developers about whether ligatures aid readability or obscure what is actually stored in the source file. The project has only just launched, and open questions such as licensing and long-term maintenance will decide whether it becomes a daily driver or a curiosity, but the code-first build pipeline sets it apart from most font releases.

  • #fonts
  • #typography
  • #python
  • #developer-tools
  • #terminal

Related posts