项目的 README,来自 github.com/tywr/Nordwand-Mono。合并为一个 markdown 文件:README.md。

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.
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:
Alternative designs are available for several characters. See alternative characters for a visual comparison and the corresponding feature tags.
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.
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.
Prebuilt font files are attached to each release.
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
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.
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.
Copy config.example.yml to config.yml and edit the values.
Preview individual glyphs:
uv run python -m nordwand_mono.visualize --config config.yml lowercase_a
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.
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.
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.

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.








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