#!/bin/sh cd "$(dirname "$0")" curl -LO https://github.com/googlefonts/opensans/raw/bd7e37632246368c60fdcbd374dbf9bad11969b6/fonts/ttf/OpenSans-Bold.ttf curl -LO https://github.com/googlefonts/opensans/raw/bd7e37632246368c60fdcbd374dbf9bad11969b6/fonts/ttf/OpenSans-Regular.ttf rm *.subset.ttf for ttf in *.ttf; do fonttools subset "$ttf" --unicodes=20-7e done