diff --git a/Formula/font-playwrite-za-guides.rb b/Formula/font-playwrite-za-guides.rb new file mode 100644 index 000000000..e5cd019b7 --- /dev/null +++ b/Formula/font-playwrite-za-guides.rb @@ -0,0 +1,13 @@ +class FontPlaywriteZaGuides < Formula + desc "Playwrite za guides font" + homepage "https://github.com/TypeTogether/Playwrite" + head "https://github.com/google/fonts/raw/main/ofl/playwritezaguides/PlaywriteZAGuides-Regular.ttf" + + def install + (share/"fonts").install Dir.glob("./**/PlaywriteZAGuides-Regular.ttf")[0] + end + + test do + assert_path_exists share/"fonts" + end +end