diff options
| author | Tom Black <[email protected]> | 2018-10-09 15:44:56 -0700 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2018-10-09 15:44:56 -0700 |
| commit | ee4a4815b65f4d785cb8167717a1bc436e8b7674 (patch) | |
| tree | bed86e9df1f6c64b4e8d7e71b752152b3877e0ee | |
| parent | 4a4df9831003e0c9f51278b968a78d1900b9a3d9 (diff) | |
| download | ruby2d-ee4a4815b65f4d785cb8167717a1bc436e8b7674.tar.gz ruby2d-ee4a4815b65f4d785cb8167717a1bc436e8b7674.zip | |
Fix Linux font directory
| -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 |
