From a48d05d1d5fcff414359c8ba6cc8f38467aebdeb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 10 May 2021 16:41:05 +0200 Subject: Refactoring to fully take advantage of Make --- scripts/build_fonts.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 scripts/build_fonts.sh (limited to 'scripts/build_fonts.sh') diff --git a/scripts/build_fonts.sh b/scripts/build_fonts.sh deleted file mode 100755 index 7d368e7..0000000 --- a/scripts/build_fonts.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -source "site.defaults.conf" - -find "${ASSETS_DIR}fonts" \ - -type f \ - -name "*.ttf" \ - | while read file - do - target_file=$(basename "${file%.ttf}.woff2") - - echo -e "\033[0;32m[MINIFY ]\033[0m $file -> $OUTPUT_DIR$target_file" - - pyftsubset "$file" \ - --text-file="${ASSETS_DIR}fonts/glyphs.txt" \ - --layout-features+=ss02,ss09,dlig \ - --flavor="woff2" \ - --output-file="$OUTPUT_DIR$target_file" - done -- cgit v1.2.3-54-g00ecf