diff options
| -rw-r--r-- | lib/ruby2d/font.rb | 6 |
1 files 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 |
