Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

enable user fonts on linux - actually resolves #3

  • Loading branch information...
commit 6c648cfe7fafd7299652167163fdda3cbbd9551e 1 parent 12a25d4
@springmeyer springmeyer authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/mapnik.js
View
3  lib/mapnik.js
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.