Skip to content

Commit

Permalink
font-atkinson-hyperlegible-next (new font)
Browse files Browse the repository at this point in the history
  • Loading branch information
tani committed Jan 12, 2025
1 parent ea43cd6 commit 364a057
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Formula/font-atkinson-hyperlegible-next.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class FontAtkinsonHyperlegibleNext < Formula
desc "Atkinson hyperlegible next font"
homepage "https://github.com/googlefonts/atkinson-hyperlegible-next"
head "https://github.com/google/fonts.git",
branch: "main",
only_path: "ofl/atkinsonhyperlegiblenext"

def install
(share/"fonts").install Dir.glob("ofl/atkinsonhyperlegiblenext/./**/AtkinsonHyperlegibleNext-Italic?wght?.ttf")[0]
(share/"fonts").install Dir.glob("ofl/atkinsonhyperlegiblenext/./**/AtkinsonHyperlegibleNext?wght?.ttf")[0]
end

test do
assert_path_exists share/"fonts"
end
end

0 comments on commit 364a057

Please sign in to comment.