From 066ec79999adc664bb0ca082df66db0f637bf5da Mon Sep 17 00:00:00 2001 From: TANIGUCHI Masaya Date: Mon, 2 Dec 2024 00:27:30 +0000 Subject: [PATCH] font-playwrite-za-guides (new font) --- Formula/font-playwrite-za-guides.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Formula/font-playwrite-za-guides.rb 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