Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Commit

Permalink
bundle dejavu fonts for back compat - closes tilemill-project#2272
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Oct 23, 2014
1 parent 57ede22 commit 0c47358
Show file tree
Hide file tree
Showing 25 changed files with 116 additions and 1 deletion.
Binary file added fonts/DejaVuSans-Bold.ttf
Binary file not shown.
Binary file added fonts/DejaVuSans-BoldOblique.ttf
Binary file not shown.
Binary file added fonts/DejaVuSans-ExtraLight.ttf
Binary file not shown.
Binary file added fonts/DejaVuSans-Oblique.ttf
Binary file not shown.
Binary file added fonts/DejaVuSans.ttf
Binary file not shown.
Binary file added fonts/DejaVuSansCondensed-Bold.ttf
Binary file not shown.
Binary file added fonts/DejaVuSansCondensed-BoldOblique.ttf
Binary file not shown.
Binary file added fonts/DejaVuSansCondensed-Oblique.ttf
Binary file not shown.
Binary file added fonts/DejaVuSansCondensed.ttf
Binary file not shown.
Binary file added fonts/DejaVuSansMono-Bold.ttf
Binary file not shown.
Binary file added fonts/DejaVuSansMono-BoldOblique.ttf
Binary file not shown.
Binary file added fonts/DejaVuSansMono-Oblique.ttf
Binary file not shown.
Binary file added fonts/DejaVuSansMono.ttf
Binary file not shown.
Binary file added fonts/DejaVuSerif-Bold.ttf
Binary file not shown.
Binary file added fonts/DejaVuSerif-BoldItalic.ttf
Binary file not shown.
Binary file added fonts/DejaVuSerif-Italic.ttf
Binary file not shown.
Binary file added fonts/DejaVuSerif.ttf
Binary file not shown.
Binary file added fonts/DejaVuSerifCondensed-Bold.ttf
Binary file not shown.
Binary file added fonts/DejaVuSerifCondensed-BoldItalic.ttf
Binary file not shown.
Binary file added fonts/DejaVuSerifCondensed-Italic.ttf
Binary file not shown.
Binary file added fonts/DejaVuSerifCondensed.ttf
Binary file not shown.
99 changes: 99 additions & 0 deletions fonts/LICENSE
Original file line number Diff line number Diff line change
@@ -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 $
Binary file added fonts/unifont-7.0.05.ttf
Binary file not shown.
15 changes: 15 additions & 0 deletions fonts/unifont_license.txt
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0c47358

Please sign in to comment.