From 10a87a1d1e28a5559574f16ab789cea94892e86f Mon Sep 17 00:00:00 2001 From: Adam Kruszewski Date: Tue, 30 Apr 2024 18:51:26 +0200 Subject: [PATCH] Add nerd font patcher step --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..f478807 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +## Build instructions + +### Build Iosevka using the custom build-plan +```shell +docker run -it --rm -v $PWD:/work fontcc --jCmd=4 ttf::Iosevka +``` + +### Fix permissions as the generated files will be root owned +```shell +sudo chown -R $(whoami) dist +``` + +### Run post processing (currently just flips the small t letter) +```shell +./post-process.sh +``` + +### Run nerd patcher +```shell +docker run --rm -v ./dist/Iosevka/TTF:/in -v ./dist/out:/out nerdfonts/patcher \ + --careful --complete --mono +``` + +### Copy fonts to ~/.fonts and invalidate the cache +```shell +cp -pr dist/out/Iosevka-* ~/.fonts/Iosevka-ttf/ +fc-cache -f +```