From ee4a4815b65f4d785cb8167717a1bc436e8b7674 Mon Sep 17 00:00:00 2001 From: Tom Black Date: Tue, 9 Oct 2018 15:44:56 -0700 Subject: Fix Linux font directory --- lib/ruby2d/font.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ruby2d/font.rb b/lib/ruby2d/font.rb index 0459c30..ace9b2e 100644 --- a/lib/ruby2d/font.rb +++ b/lib/ruby2d/font.rb @@ -40,11 +40,11 @@ module Ruby2D # Get the fonts directory for the current platform def directory if `uname`.include? 'Darwin' # macOS - "/Library/Fonts" + '/Library/Fonts' elsif `uname`.include? 'Linux' - "/usr/share/fonts/truetype" + '/usr/share/fonts' elsif `uname`.include? 'MINGW' - "C:/Windows/Fonts" + 'C:/Windows/Fonts' end end -- cgit v1.2.3