diff --git a/fonts/DejaVuSans-Bold.ttf b/fonts/DejaVuSans-Bold.ttf new file mode 100644 index 000000000..08695f23a Binary files /dev/null and b/fonts/DejaVuSans-Bold.ttf differ diff --git a/fonts/DejaVuSans-BoldOblique.ttf b/fonts/DejaVuSans-BoldOblique.ttf new file mode 100644 index 000000000..7e3bcc105 Binary files /dev/null and b/fonts/DejaVuSans-BoldOblique.ttf differ diff --git a/fonts/DejaVuSans-ExtraLight.ttf b/fonts/DejaVuSans-ExtraLight.ttf new file mode 100644 index 000000000..f4b3041bd Binary files /dev/null and b/fonts/DejaVuSans-ExtraLight.ttf differ diff --git a/fonts/DejaVuSans-Oblique.ttf b/fonts/DejaVuSans-Oblique.ttf new file mode 100644 index 000000000..e33ab144d Binary files /dev/null and b/fonts/DejaVuSans-Oblique.ttf differ diff --git a/fonts/DejaVuSans.ttf b/fonts/DejaVuSans.ttf new file mode 100644 index 000000000..9d40c3256 Binary files /dev/null and b/fonts/DejaVuSans.ttf differ diff --git a/fonts/DejaVuSansCondensed-Bold.ttf b/fonts/DejaVuSansCondensed-Bold.ttf new file mode 100644 index 000000000..4c40003d4 Binary files /dev/null and b/fonts/DejaVuSansCondensed-Bold.ttf differ diff --git a/fonts/DejaVuSansCondensed-BoldOblique.ttf b/fonts/DejaVuSansCondensed-BoldOblique.ttf new file mode 100644 index 000000000..24b611b18 Binary files /dev/null and b/fonts/DejaVuSansCondensed-BoldOblique.ttf differ diff --git a/fonts/DejaVuSansCondensed-Oblique.ttf b/fonts/DejaVuSansCondensed-Oblique.ttf new file mode 100644 index 000000000..1e0526f9a Binary files /dev/null and b/fonts/DejaVuSansCondensed-Oblique.ttf differ diff --git a/fonts/DejaVuSansCondensed.ttf b/fonts/DejaVuSansCondensed.ttf new file mode 100644 index 000000000..7f168d13c Binary files /dev/null and b/fonts/DejaVuSansCondensed.ttf differ diff --git a/fonts/DejaVuSansMono-Bold.ttf b/fonts/DejaVuSansMono-Bold.ttf new file mode 100644 index 000000000..9c716794f Binary files /dev/null and b/fonts/DejaVuSansMono-Bold.ttf differ diff --git a/fonts/DejaVuSansMono-BoldOblique.ttf b/fonts/DejaVuSansMono-BoldOblique.ttf new file mode 100644 index 000000000..d6536a5cc Binary files /dev/null and b/fonts/DejaVuSansMono-BoldOblique.ttf differ diff --git a/fonts/DejaVuSansMono-Oblique.ttf b/fonts/DejaVuSansMono-Oblique.ttf new file mode 100644 index 000000000..e1af34130 Binary files /dev/null and b/fonts/DejaVuSansMono-Oblique.ttf differ diff --git a/fonts/DejaVuSansMono.ttf b/fonts/DejaVuSansMono.ttf new file mode 100644 index 000000000..8b7bb2a4e Binary files /dev/null and b/fonts/DejaVuSansMono.ttf differ diff --git a/fonts/DejaVuSerif-Bold.ttf b/fonts/DejaVuSerif-Bold.ttf new file mode 100644 index 000000000..3fffea617 Binary files /dev/null and b/fonts/DejaVuSerif-Bold.ttf differ diff --git a/fonts/DejaVuSerif-BoldItalic.ttf b/fonts/DejaVuSerif-BoldItalic.ttf new file mode 100644 index 000000000..3a3a9dfe6 Binary files /dev/null and b/fonts/DejaVuSerif-BoldItalic.ttf differ diff --git a/fonts/DejaVuSerif-Italic.ttf b/fonts/DejaVuSerif-Italic.ttf new file mode 100644 index 000000000..46a718e32 Binary files /dev/null and b/fonts/DejaVuSerif-Italic.ttf differ diff --git a/fonts/DejaVuSerif.ttf b/fonts/DejaVuSerif.ttf new file mode 100644 index 000000000..712a59b02 Binary files /dev/null and b/fonts/DejaVuSerif.ttf differ diff --git a/fonts/DejaVuSerifCondensed-Bold.ttf b/fonts/DejaVuSerifCondensed-Bold.ttf new file mode 100644 index 000000000..673c66f0c Binary files /dev/null and b/fonts/DejaVuSerifCondensed-Bold.ttf differ diff --git a/fonts/DejaVuSerifCondensed-BoldItalic.ttf b/fonts/DejaVuSerifCondensed-BoldItalic.ttf new file mode 100644 index 000000000..5a3ba1ab7 Binary files /dev/null and b/fonts/DejaVuSerifCondensed-BoldItalic.ttf differ diff --git a/fonts/DejaVuSerifCondensed-Italic.ttf b/fonts/DejaVuSerifCondensed-Italic.ttf new file mode 100644 index 000000000..6f8d4e405 Binary files /dev/null and b/fonts/DejaVuSerifCondensed-Italic.ttf differ diff --git a/fonts/DejaVuSerifCondensed.ttf b/fonts/DejaVuSerifCondensed.ttf new file mode 100644 index 000000000..3291fc506 Binary files /dev/null and b/fonts/DejaVuSerifCondensed.ttf differ diff --git a/fonts/LICENSE b/fonts/LICENSE new file mode 100644 index 000000000..254e2cc42 --- /dev/null +++ b/fonts/LICENSE @@ -0,0 +1,99 @@ +Fonts are (c) Bitstream (see below). DejaVu changes are in public domain. +Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below) + +Bitstream Vera Fonts Copyright +------------------------------ + +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is +a trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the fonts accompanying this license ("Fonts") and associated +documentation files (the "Font Software"), to reproduce and distribute the +Font Software, including without limitation the rights to use, copy, merge, +publish, distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to the +following conditions: + +The above copyright and trademark notices and this permission notice shall +be included in all copies of one or more of the Font Software typefaces. + +The Font Software may be modified, altered, or added to, and in particular +the designs of glyphs or characters in the Fonts may be modified and +additional glyphs or characters may be added to the Fonts, only if the fonts +are renamed to names not containing either the words "Bitstream" or the word +"Vera". + +This License becomes null and void to the extent applicable to Fonts or Font +Software that has been modified and is distributed under the "Bitstream +Vera" names. + +The Font Software may be sold as part of a larger software package but no +copy of one or more of the Font Software typefaces may be sold by itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME +FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING +ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE +FONT SOFTWARE. + +Except as contained in this notice, the names of Gnome, the Gnome +Foundation, and Bitstream Inc., shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this Font Software +without prior written authorization from the Gnome Foundation or Bitstream +Inc., respectively. For further information, contact: fonts at gnome dot +org. + +Arev Fonts Copyright +------------------------------ + +Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the fonts accompanying this license ("Fonts") and +associated documentation files (the "Font Software"), to reproduce +and distribute the modifications to the Bitstream Vera Font Software, +including without limitation the rights to use, copy, merge, publish, +distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to +the following conditions: + +The above copyright and trademark notices and this permission notice +shall be included in all copies of one or more of the Font Software +typefaces. + +The Font Software may be modified, altered, or added to, and in +particular the designs of glyphs or characters in the Fonts may be +modified and additional glyphs or characters may be added to the +Fonts, only if the fonts are renamed to names not containing either +the words "Tavmjong Bah" or the word "Arev". + +This License becomes null and void to the extent applicable to Fonts +or Font Software that has been modified and is distributed under the +"Tavmjong Bah Arev" names. + +The Font Software may be sold as part of a larger software package but +no copy of one or more of the Font Software typefaces may be sold by +itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL +TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +Except as contained in this notice, the name of Tavmjong Bah shall not +be used in advertising or otherwise to promote the sale, use or other +dealings in this Font Software without prior written authorization +from Tavmjong Bah. For further information, contact: tavmjong @ free +. fr. + +$Id: LICENSE 2133 2007-11-28 02:46:28Z lechimp $ diff --git a/fonts/unifont-7.0.05.ttf b/fonts/unifont-7.0.05.ttf new file mode 100644 index 000000000..65c7c08ea Binary files /dev/null and b/fonts/unifont-7.0.05.ttf differ diff --git a/fonts/unifont_license.txt b/fonts/unifont_license.txt new file mode 100644 index 000000000..8bc19852d --- /dev/null +++ b/fonts/unifont_license.txt @@ -0,0 +1,15 @@ +Unifoundry.com exists to help get Unicode fonts and utilities into the hands of those who need them. + +My first endeavor was to create several utilities for the free GNU Unifont bitmap font of Roman Czyborra. As of 20 June 2008 (by coincidence the Summer Solstice), the GNU Unifont has a glyph for every printable code point in the Unicode Basic Multilingual Plane (BMP). The BMP is the first Unicode "plane" of 65,536 code points, and includes character encoding for most of the world's modern scripts. Roman Czyborra began this effort 10 years ago. + +The "unifont" font has undergone further refinement and correction since then. Please replace all previous versions with the 2008-08-20 release. + +Two utilities convert any 256-code point block of Unifont glyphs to and from Windows Bitmap and Wireless Bitmap files, with code points displayed in a labeled 16 by 16 grid. These blocks aren't restricted to the BMP, though the GNU Unifont only supports the BMP. The software was developed using the cygwin package in a Microsoft Windows XP environment, but should compile on just about any platform that has a C compiler, especially on Unix/Linux systems. + +By converting GNU Unifont's .hex encoding into bitmaps, these utilities allow glyphs to be viewed and edited in their correct aspect ratio with a graphics editor. Hopefully this will make adding new glyphs to the GNU Unifont easier. + +My software and is released under the terms of the GNU General Public License (GNU GPL) version 2.0, or (at your option) a later version. The precompiled fonts are released under the terms of the GNU GPL version 2, with the exception that embedding the font in a document does not in itself bind that document to the terms of the GPL. + +If you have any questions, please email unifoundry at this domain name (not spelled out because of spammers). + +— Paul Hardy, GPG Key ID E6E6E390 \ No newline at end of file diff --git a/index.js b/index.js index b26ec277a..e52faab4e 100755 --- a/index.js +++ b/index.js @@ -3,9 +3,10 @@ // increase the libuv threadpool size to 1.5x the number of logical CPUs. process.env.UV_THREADPOOL_SIZE = Math.ceil(Math.max(4, require('os').cpus().length * 1.5)); process.env.OPENFILEGDB_IN_MEMORY_SPI = "OFF"; +var path = require('path'); +process.env.MAPNIK_FONT_PATH = path.join(__dirname,'fonts'); var fs = require('fs'); -var path = require('path'); // node v6 -> v8 compatibility var existsSync = require('fs').existsSync || require('path').existsSync;