From faf3140ece44227e39cafc6440bc2941105c220f Mon Sep 17 00:00:00 2001 From: TANIGUCHI Masaya Date: Wed, 11 Dec 2024 00:26:34 +0000 Subject: [PATCH] font-bravura (new font) --- Formula/font-bravura.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Formula/font-bravura.rb diff --git a/Formula/font-bravura.rb b/Formula/font-bravura.rb new file mode 100644 index 000000000..7d627d12e --- /dev/null +++ b/Formula/font-bravura.rb @@ -0,0 +1,16 @@ +class FontBravura < Formula + desc "Bravura font" + homepage "https://github.com/steinbergmedia/bravura" + url "https://github.com/steinbergmedia/bravura/archive/refs/tags/bravura-1.392.tar.gz" + version "1.392" + sha256 "42d18929af4cbdd13784a51c509175d4458010332d238310b4d4cd962e2bc1db" + + def install + (share/"fonts").install Dir.glob("./**/redist/otf/Bravura.otf")[0] + (share/"fonts").install Dir.glob("./**/redist/otf/BravuraText.otf")[0] + end + + test do + assert_path_exists share/"fonts" + end +end