From 714d8f7ff8425e4177ff6bde4d214ef75be6b1ab Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 24 Dec 2020 15:05:32 +0100 Subject: Added header, improved SCSS structure, use metadata file instead of param, improved folder structure --- scripts/build_fonts.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/build_fonts.sh (limited to 'scripts/build_fonts.sh') diff --git a/scripts/build_fonts.sh b/scripts/build_fonts.sh new file mode 100755 index 0000000..8c795ec --- /dev/null +++ b/scripts/build_fonts.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +echo "[COMPILE] assets/fonts/iosevka-term-ss09-regular.ttf -> output/iosevka-term-ss09-regular.woff2" + +pyftsubset assets/fonts/iosevka-term-ss09-regular.ttf \ + --text-file='assets/fonts/glyphs.txt' \ + --layout-features+=ss09,dlig \ + --flavor='woff2' \ + --output-file='output/iosevka-term-ss09-regular.woff2' + +echo "[COMPILE] assets/fonts/iosevka-term-ss09-bold.ttf -> output/iosevka-term-ss09-bold.woff2" + +pyftsubset assets/fonts/iosevka-term-ss09-bold.ttf \ + --text-file='assets/fonts/glyphs.txt' \ + --layout-features+=ss09,dlig \ + --flavor='woff2' \ + --output-file='output/iosevka-term-ss09-bold.woff2' -- cgit v1.2.3-70-g09d2