Last active
October 3, 2022 16:12
-
-
Save rkiyanchuk/a4cab4c7847649931a06947fe74c642d to your computer and use it in GitHub Desktop.
Iosevka Build Plan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### See https://github.com/be5invis/Iosevka/blob/master/doc/custom-build.md for comprehensive | |
### documentation of the options in this file | |
# TL;DR instructions: | |
# Installation: | |
# brew install node ttfautohint fontforge | |
# git clone --depth 1 https://github.com/be5invis/Iosevka.git | |
# npm install | |
# Compilation: | |
# Copy private-build-plans.toml to repo root. | |
# npm run build -- contents::iosevka-custom | |
# Nerd Fonts: | |
# git clone --depth 1 https://github.com/ryanoasis/nerd-fonts | |
# fd -I -e ttf --exec python3 ./font-patcher --makegroups --careful --complete | |
[buildPlans.iosevka-custom] # <iosevka-custom> is your plan name | |
family = "Iosevka Custom" # Font menu family name | |
spacing = "normal" # Optional; Values: `normal`, `term`, `fontconfig-mono`, or `fixed` | |
serifs = "sans" # Optional; Values: `sans` or `slab` | |
export-glyph-names = false # Set this to true for ligature support in Kitty (increased file size) | |
webfont-formats = ['ttf'] | |
[buildPlans.iosevka-custom.variants] | |
inherits = "ss14" | |
[buildPlans.iosevka-custom.variants.design] | |
zero = "slashed" | |
four = "closed" | |
seven = "straight-serifless" | |
[buildPlans.iosevka-custom-term] | |
family = "Iosevka Custom Term" | |
spacing = "term" | |
serifs = "sans" | |
export-glyph-names = false | |
webfont-formats = ['ttf'] | |
[buildPlans.iosevka-custom-term.variants] | |
inherits = "ss14" | |
[buildPlans.iosevka-custom-term.variants.design] | |
zero = "slashed" | |
four = "closed" | |
seven = "straight-serifless" | |
[buildPlans.iosevka-custom-vscode] | |
family = "Iosevka Custom VSCode" | |
spacing = "normal" | |
serifs = "sans" | |
export-glyph-names = false | |
webfont-formats = ['ttf'] | |
[buildPlans.iosevka-custom-vscode.variants] | |
inherits = "ss14" | |
[buildPlans.iosevka-custom-vscode.variants.design] | |
zero = "slashed" | |
four = "closed" | |
seven = "straight-serifless" | |
# For VS Code minimum weight must be 300 | |
[buildPlans.iosevka-custom-vscode.weights.light] | |
shape = 300 | |
menu = 300 | |
css = 300 | |
[buildPlans.iosevka-custom-vscode.weights.regular] | |
shape = 400 | |
menu = 400 | |
css = 400 | |
[buildPlans.iosevka-custom-vscode.weights.bold] | |
shape = 600 | |
menu = 600 | |
css = 600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment