Created
March 26, 2014 22:46
-
-
Save fowlmouth/9795378 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc systemFontDirectories* : seq[string] = | |
| when defined(Linux): | |
| result = @[ "/usr/share/fonts/TTF" ] | |
| elif defined(Windows): | |
| result = @[ "/Windows/Fonts" ] | |
| elif defined(MacOSX): | |
| result = @[ "/Libraries/Fonts" ] | |
| else: | |
| raise newException(EIO, "Unknown operating system.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment