Skip to content

AndydeCleyre/archbuilder_iosevka

Repository files navigation

Personal Builder for the Iosevka Font

Build Status

This repo has a GitHub Workflow which can build Arch Linux packages for the incredible Iosevka font.

The built package can be installed on Arch Linux with sudo pacman -U, or you can simply extract the fonts with your favorite archive tool for use on any system.

To run the included scripts, you'll need python3-venv.

If you want to have GitHub build your custom configuration, fork this repo on GitHub, then:

  • get a local copy:

    $ git clone <your-github-fork>
    $ cd archbuilder_iosevka
  • configure your font (see the character variants), either by editing vars.nt:

    $ $EDITOR vars.nt

    or by Using the Customizer Site.

  • generate your new workflow:

    $ ./mk/buildpkg.yml.sh
  • commit, tag, and push:

    $ git commit -am "whatever change message you want"
    $ git tag whatever-label-you-want
    $ git push && git push --tags

You can watch the build process in your Actions tab, or using GitHub's CLI:

$ gh run watch

After anywhere from 30-120+ minutes you can get the built font from your Releases page, or:

$ gh release download -p '*'

There is now an official web app for configuring a build visually.

To use a configuration thus generated with this builder:

  • in the customizer, leave the default Family Name ("Iosevka Custom")

  • save the generated configuration as templates/private-build-plans.toml.wz

  • in vars.nt's build list, ensure the only uncommented item is ttf-iosevka-custom-git, with either an editor:

    $ $EDITOR vars.nt

    or NestedTextTo and yamlpath's yaml-merge:

    $ nt2yaml vars.nt >vars.yml
    $ yaml-merge -A right -w vars.yml vars.yml <<<'{"build": ["ttf-iosevka-custom-git"]}'
    $ yaml2nt vars.yml >vars.nt