Nordwand-Mono README

The project's README from github.com/tywr/Nordwand-Mono. As one markdown file: README.md.

Nordwand Mono

Nordwand Mono is a compact neo-grotesk monospaced typeface designed for programming. Every glyph is drawn procedurally in Python, so the metrics and stroke weights can be adjusted to produce custom builds.

See the specimen (PDF) for an overview of the character set and weights.

To contribute, please read the contribution guide.

Design

Nordwand Mono combines elements of Adrian Frutiger's Univers with the proportions of JetBrains Mono. The name refers to the north faces (Nordwände) of the Swiss Alps, and to the Swiss typographic tradition the design draws on.

Other references include:

OpenType features

Character variants

Alternative designs are available for several characters. See alternative characters for a visual comparison and the corresponding feature tags.

Stylistic sets

Stylistic sets switch groups of related glyphs at once:

Tag Effect
ss01 Classic l and m, serifed r and f (upright l and f only)
ss02 Arrow ligatures
ss03 Wide-angled <, > and arrow heads

See stylistic sets for details and for instructions on enabling them in common editors and terminals.

Ligatures

The font includes minimal -> and => ligatures. Runs of =, -, _ and # can use joining forms, so their horizontal bars connect across runs of any length. Joining forms are disabled by default and are enabled with the dlig feature.

Installation

Prebuilt font files are attached to each release.

Building from source

Requirements: uv.

make install     # install the Python dependencies
make build-font  # build TTF, WOFF and WOFF2 into ./fonts
make build       # build the fonts, banner, specimen, samples and docs

Nerd Font variant

Nerdwand Mono is the Nerd Font variant of Nordwand Mono, patched with the complete icon set. Icons occupy a single cell, so the font remains strictly monospaced. OTF and TTF files are attached to each release. To build it locally:

make build-font      # build the regular family into ./fonts
make build-nerd-font # patch it into ./fonts/nerd-font

This additionally requires FontForge (brew install fontforge on macOS, apt install fontforge on Debian and Ubuntu), and network access on the first run to download the Nerd Fonts patcher. The patched fonts are written to ./fonts/nerd-font/{otf,ttf}, alongside the font license and the licenses of the bundled icon sets.

Custom builds

Each glyph is a Python class drawn from a drawing context that holds the font metrics (x-height, cap height, stroke weights, etc.). Overriding these values produces a custom build.

  1. Copy config.example.yml to config.yml and edit the values.

  2. Preview individual glyphs:

    uv run python -m nordwand_mono.visualize --config config.yml lowercase_a
    
  3. Build the fonts:

    uv run python -m nordwand_mono.generate_font --config config.yml
    

    The files are written to ./custom-fonts/<FamilyName>, so they do not overwrite the default build.

[!WARNING] The design is tuned for the default metrics. Some glyphs may need adjustments when the metrics are changed.

Example configurations

The configs folder contains alternative configurations, each with a config.yml and a sample.png rendered from it. To add one, create configs/<name>/config.yml and run:

uv run python -m nordwand_mono.scripts.config_sample <name>

This builds the Regular weight (or another weight with --weight) and writes configs/<name>/sample.png.

Weights

The stroke widths in the configuration define the Regular weight; all other weights are derived from them. To select which weights are exported, or to give a weight explicit stroke widths, add a weights section:

weights:
  400:
  425:
    name: Book
    stroke_x: 90   # vertical strokes
    stroke_y: 84   # horizontal strokes
    stroke_alt: 72 # crossbars, e.g. the bar of e
  700:

Only the listed weights are built.

Character set

Character set

The font covers Latin (including the accented letters of most European languages) and Cyrillic.

It also includes the Powerline symbols (U+E0A0–U+E0A3) and segment dividers (U+E0B0–U+E0BF): arrows, rounded ends, corner triangles and diagonals. The dividers span the full line height and slightly overlap the adjacent cell, so status lines render without the Nerd Font variant.

Weights

Weights

Samples

Les Drus

Python

Python sample

C++

C++ sample

Haskell

Haskell sample

Cyrillic

Cyrillic sample

Greek

Greek sample

Powerline

Powerline sample

License

The font files are licensed under the SIL Open Font License 1.1. The source code is licensed under the MIT License.

Nordwand-Mono (tywr/Nordwand-Mono)

generator
Searching Database…

What is this?Nordwand-Mono is a compact monospace neo-grotesque font built for coding, generated entirely from Python glyph-drawing code rather than a traditional font editor.
Is this a finished font file or a toolkit to build my own?It's both: the repo ships the font design, but every glyph is actually a Python class you can modify to regenerate a personalized version of the font.
How do I generate a custom version of the font?Copy config.example.yml into config.yml and tweak metrics like x-height or cap-height, preview glyphs with 'python -m visualize --config config.yml', then build the actual font with 'python -m generatefont --config config.yml'; output lands in ./custom-fonts.
Do I need Python installed to build or customize this font?Yes, the font generation pipeline is written and run entirely through Python commands.
Is it safe to heavily change the font metrics?Not necessarily: the author warns that altering metrics beyond the defaults isn't guaranteed to look good and may require manually tweaking individual glyphs.
What ligatures does Nordwand-Mono support?It includes minimal -> and => arrow ligatures, plus joining forms that let repeated characters like =, -, and # connect their horizontal bars across runs of any length. These are off by default and enabled via the dlig OpenType feature.
What do the stylistic sets ss02 and ss03 do?ss02 turns on arrow ligatures, while ss03 switches to wide-angled arrow heads, letting you tweak the font's overall vibe.
Where does the name 'Nordwand' come from?It references Switzerland's iconic typographic tradition, evoking the stiff, cold atmosphere of the Swiss Alps' north faces ('Nordwand').
Which other fonts inspired the design?The author blended proportions from Adrian Frutiger's Univers with the spacing of JetBrains Mono, also drawing from Apple's SF Pro/SF Mono, Sharp Type's Alpes Mono, and Dalton Maag's Ubuntu Mono.
Creator
tywr
Size
202.2 MB
Stars
1.8K
Age
8mo
Commits · 90 Days