bootstrap_macos.sh 568 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. set -o errexit -o nounset -o pipefail
  3. cd "`dirname $0`/.."
  4. brew install python@3.12
  5. python3.12 -m venv venv
  6. source venv/bin/activate
  7. ## https://github.com/googlefonts/gftools/issues/121
  8. brew install pkg-config
  9. brew install zlib
  10. pip install -U Pillow==8.0.1 idna==2.8 requests==2.21.0 urllib3==1.24.1
  11. export PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig"
  12. pip install pycairo
  13. pip install gftools
  14. pip install fontmake
  15. brew install ttfautohint
  16. brew install woff2
  17. brew tap bramstein/webfonttools
  18. brew install sfnt2woff-zopfli
  19. pip install fontbakery