Skip to content

About

Custom version of Iosevka font with Nerd Font Icons

Topics

Resources

Stars

19 stars

Watchers

2 watching

Forks

Repository files navigation

AFIO - Custom Iosevka Nerd Font

Dark theme showcase

More weight examples at the bottom of this page

Why AFIO?

Iosevka is one of the most customizable coding fonts out there: hundreds of glyph variants, adjustable spacing, weight, and width. BUT if you want Nerd Font icons (powerline symbols, devicons, file icons), you're stuck with the prebuilt versions that ship a few default configurations. No custom glyphs, no weight tuning, no width control. Take it or leave it.

This repo is two things in one:

  1. AFIO: a ready-to-use font. Just grab it from releases and install. Hand-picked glyph variants, carefully tuned weights, 9000+ Nerd Font icons, all done for you. Details: Use AFIO as-is

  2. A template for building your own custom Iosevka + Nerd Font. Fork this repo, edit private-build-plans.toml to your taste, push 🚀 and GitHub Actions will build and release your font automatically. No local setup needed 🤷 Details: Build your own


Use AFIO as-is

Install (macOS)

brew install --cask awnion/tap/font-afio

Install (manual)

Grab the latest build from releases.

What's inside (very opinionated)

  • Custom glyph variants: f (flat-hook-serifless), i (serifed-asymmetric), l (serifed-semi-tailed), m (short-leg), 0 (dotted), 9 (open-contour), * (hex-low), % (dots), @ (fourfold-solid-inner-tall), tittle (square)
  • Font weights: 300 (light), 400 (regular), 500 (medium), 700 (bold)
  • Bold shape weight is 500 (lighter than default bold)
  • No italic and oblique versions
  • Term spacing, sans serifs
  • Glyph shape width: 540
  • Roughly 3× smaller TTF files by omitting optional character variants and stylistic sets (noCvSs = true)

vscode settings.json

...
"editor.fontFamily": "afio",
"editor.fontLigatures": false,
"editor.fontWeight": "500",
"editor.fontSize": 16,
"editor.lineHeight": 21,
...

With a custom build using noCvSs = false (see below), select Iosevka OpenType variants in VS Code through editor.fontLigatures:

"editor.fontLigatures": "'ss05', 'cv42'",

These character variants and stylistic sets are separate from ligatures. If your build plan bakes a style set in with variants.inherits, enabling that same ssNN later will not visibly change the glyphs because it is already the default design.


Build your own

Option A: Fork + GitHub Actions (easiest)

  1. Click Fork on GitHub.
  2. Open the Actions tab in your fork and enable workflows if GitHub asks.
  3. Open private-build-plans.toml, click the pencil icon, change the settings, and choose Commit directly to the main branch. You can also replace the file with a build plan from the Iosevka customizer; keep the plan key afio.
  4. Wait for Fork release to finish, then open Releases → Latest in your fork and download afio-latest.zip.

Example: To enable optional character variants and stylistic sets, change this one line in private-build-plans.toml (roughly 3× larger total TTF size):

-noCvSs = true
+noCvSs = false

Every successful build from a push to main in a fork creates a numbered release (e.g. build-42.1) marked Latest. This does not run in the original repository. You can also run or disable Fork release from the Actions tab.

Option B: Local Docker build

VERDA_CACHE=.verda-cache ./build.sh

Fonts will be in _output dir.


Links

License

This project is dual-licensed under either:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

TODO

  • Windows friendly fontfamily name (might be already good, just need to test it)

Examples

Dark theme showcase

300

Dark theme showcase

400

Dark theme showcase

500

Dark theme showcase

700

Dark theme showcase

Light theme showcase

300

Light theme showcase

400

Light theme showcase

500

Light theme showcase

700

Light theme showcase

About

Custom version of Iosevka font with Nerd Font Icons

Topics

Resources

Stars

19 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages