Permalink
Browse files

enable user fonts on linux - actually resolves #3

  • Loading branch information...
Dane Springmeyer
Dane Springmeyer committed Aug 17, 2011
1 parent 12a25d4 commit 6c648cfe7fafd7299652167163fdda3cbbd9551e
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/mapnik.js
View
@@ -93,8 +93,7 @@ exports.register_system_fonts = function() {
process.platform.indexOf('bsd') == 'sunos') {
dirs.push('/usr/share/fonts/truetype/');
dirs.push('/usr/local/share/fonts/truetype/');
- // https://github.com/mapnik/node-mapnik/issues/issue/3
- //dirs.push(path.resolve('~/.fonts'));
+ dirs.push(path.resolve('~/.fonts'));
}
// macs

0 comments on commit 6c648cf

Please sign in to comment.