Skip to content

Commit

Permalink
Fix the image
Browse files Browse the repository at this point in the history
Fixes #141
  • Loading branch information
mame committed Oct 5, 2023
1 parent 3c4a882 commit e16a2ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file modified langs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/langs.png.gen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
# * https://www.google.com/fonts/specimen/Raleway
# * https://www.google.com/fonts/specimen/UnifrakturCook

%w(Raleway UnifrakturCook).each do |font|
if `fc-list #{ font }`.strip.empty? && !ENV["SKIP_FONT_CHECK"]
raise "Font `#{ font }' is not available; to skip this check, set SKIP_FONT_CHECK=1"
end
end

W = H = 750
surface = Cairo::ImageSurface.new(W, H)
ctx = Cairo::Context.new(surface)
Expand Down

0 comments on commit e16a2ce

Please sign in to comment.