diff --git a/README.md b/README.md index 6b1ebf7..620ed25 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,41 @@ # myfonts +### Key modifications + + +* Changed m i l % and others +* No italic and oblique versions included by default +* Changed font weights (e.g. "bold" has weight 500) + +See iosevka/private-build-plans.toml for details + ### Build && Install ``` ./build.sh +./patch.sh +``` + +Instal on Mac +``` ./install_mac.sh +# or +# cp -f -v build_dir/*.ttf ~/Library/Fonts/ +``` + +vscode settings.json +``` +... +"editor.fontFamily": "Iosevka Nerd Font", +"editor.fontWeight": "300", +"editor.fontSize": 17, +"editor.lineHeight": 22, +... ``` ### Links Build Iosevka font using docker https://github.com/ejuarezg/containers/tree/master/iosevka_font#container-method +https://github.com/ryanoasis/nerd-fonts -- font patcher diff --git a/build.sh b/build.sh index 98b3d03..21e52f4 100755 --- a/build.sh +++ b/build.sh @@ -3,11 +3,13 @@ set -e set -v -(cd iosevka && docker build -t iosevka_build . -f Dockerfile) +(cd iosevka && docker build -t iosevka_build . -f Dockerfile) rm -rf build_dir mkdir -p build_dir cp iosevka/private-build-plans.toml build_dir/private-build-plans.toml -docker run -it -v `pwd`/build_dir:/build iosevka_build ttf::iosevka-custom +docker run -it \ + -v $(pwd)/build_dir:/build \ + iosevka_build ttf::iosevka-custom diff --git a/install_mac.sh b/install_mac.sh index 8c6d759..2e50951 100755 --- a/install_mac.sh +++ b/install_mac.sh @@ -3,5 +3,4 @@ set -e set -v -# find ~/Library/Fonts/ -name 'iosevka-custom*' -delete -cp build_dir/dist/iosevka-custom/ttf/* ~/Library/Fonts/ +cp -f -v build_dir/*.ttf ~/Library/Fonts/