midilib 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.rdoc +9 -4
- data/Rakefile +2 -6
- data/examples/from_scratch.rb +3 -5
- data/examples/measures_mbt.rb +4 -4
- data/examples/print_program_changes.rb +9 -9
- data/examples/reader2text.rb +188 -188
- data/examples/seq2text.rb +17 -17
- data/examples/split.rb +19 -19
- data/examples/strings.rb +14 -14
- data/examples/transpose.rb +31 -31
- data/html/IO.html +65 -169
- data/html/MIDI.html +138 -256
- data/html/MIDI/ActiveSense.html +89 -178
- data/html/MIDI/ChannelEvent.html +95 -183
- data/html/MIDI/ChannelPressure.html +105 -190
- data/html/MIDI/Clock.html +89 -178
- data/html/MIDI/Continue.html +89 -178
- data/html/MIDI/Controller.html +107 -192
- data/html/MIDI/Event.html +138 -222
- data/html/MIDI/IO.html +45 -157
- data/html/MIDI/IO/MIDIFile.html +596 -568
- data/html/MIDI/IO/SeqReader.html +272 -314
- data/html/MIDI/IO/SeqWriter.html +229 -305
- data/html/MIDI/KeySig.html +129 -211
- data/html/MIDI/MIDI.html +45 -154
- data/html/MIDI/MIDI/MIDI.html +45 -154
- data/html/MIDI/MIDI/MIDI/Array.html +87 -185
- data/html/MIDI/Marker.html +71 -170
- data/html/MIDI/Measure.html +95 -190
- data/html/MIDI/Measures.html +103 -193
- data/html/MIDI/MetaEvent.html +180 -253
- data/html/MIDI/NoteEvent.html +118 -204
- data/html/MIDI/NoteOff.html +95 -183
- data/html/MIDI/NoteOn.html +95 -183
- data/html/MIDI/PitchBend.html +106 -191
- data/html/MIDI/PolyPressure.html +106 -189
- data/html/MIDI/ProgramChange.html +105 -190
- data/html/MIDI/Realtime.html +98 -184
- data/html/MIDI/Sequence.html +246 -311
- data/html/MIDI/SongPointer.html +106 -191
- data/html/MIDI/SongSelect.html +105 -190
- data/html/MIDI/Start.html +89 -178
- data/html/MIDI/Stop.html +89 -178
- data/html/MIDI/SystemCommon.html +71 -170
- data/html/MIDI/SystemExclusive.html +108 -193
- data/html/MIDI/SystemReset.html +89 -178
- data/html/MIDI/Tempo.html +135 -213
- data/html/MIDI/TimeSig.html +135 -214
- data/html/MIDI/Track.html +217 -291
- data/html/MIDI/TuneRequest.html +98 -184
- data/html/MIDI/Utils.html +89 -189
- data/html/README_rdoc.html +237 -257
- data/html/TODO_rdoc.html +64 -139
- data/html/created.rid +14 -14
- data/html/css/fonts.css +167 -0
- data/html/{rdoc.css → css/rdoc.css} +265 -218
- data/html/fonts/Lato-Light.ttf +0 -0
- data/html/fonts/Lato-LightItalic.ttf +0 -0
- data/html/fonts/Lato-Regular.ttf +0 -0
- data/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/images/add.png +0 -0
- data/html/images/arrow_up.png +0 -0
- data/html/images/delete.png +0 -0
- data/html/images/tag_blue.png +0 -0
- data/html/index.html +187 -169
- data/html/js/darkfish.js +41 -33
- data/html/js/jquery.js +4 -18
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +20 -5
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +1111 -498
- data/install.rb +43 -32
- data/lib/midilib/consts.rb +407 -407
- data/lib/midilib/event.rb +295 -294
- data/lib/midilib/info.rb +5 -5
- data/lib/midilib/io/midifile.rb +266 -267
- data/lib/midilib/io/seqreader.rb +106 -106
- data/lib/midilib/io/seqwriter.rb +59 -60
- data/lib/midilib/measure.rb +69 -69
- data/lib/midilib/sequence.rb +68 -70
- data/lib/midilib/track.rb +96 -102
- data/lib/midilib/utils.rb +15 -15
- data/test/event_equality.rb +50 -50
- data/test/test_event.rb +120 -122
- data/test/test_io.rb +35 -48
- data/test/test_sequence.rb +60 -60
- data/test/test_track.rb +154 -154
- data/test/test_varlen.rb +23 -25
- metadata +65 -57
data/html/TODO_rdoc.html
CHANGED
@@ -2,174 +2,100 @@
|
|
2
2
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta
|
5
|
+
<meta charset="UTF-8">
|
6
6
|
|
7
7
|
<title>TODO - midilib</title>
|
8
8
|
|
9
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
-
|
11
9
|
<script type="text/javascript">
|
12
10
|
var rdoc_rel_prefix = "./";
|
13
11
|
</script>
|
14
12
|
|
15
|
-
<script
|
16
|
-
<script
|
17
|
-
|
18
|
-
<
|
19
|
-
<
|
20
|
-
|
13
|
+
<script src="./js/jquery.js"></script>
|
14
|
+
<script src="./js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
18
|
+
|
21
19
|
|
22
20
|
|
23
|
-
<body class="file">
|
24
|
-
<nav
|
25
|
-
<
|
26
|
-
|
27
|
-
|
21
|
+
<body id="top" role="document" class="file">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="./index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
28
31
|
<a href="./table_of_contents.html#classes">Classes</a>
|
29
32
|
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
-
</
|
31
|
-
</
|
32
|
-
|
33
|
+
</div>
|
34
|
+
</div>
|
33
35
|
|
34
|
-
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
35
37
|
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<
|
37
|
-
<input
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
38
42
|
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
43
|
+
</div>
|
44
44
|
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
45
50
|
|
46
|
-
|
47
|
-
<nav id="fileindex-section" class="section project-section">
|
48
|
-
<h3 class="section-header">Pages</h3>
|
51
|
+
</div>
|
49
52
|
|
50
|
-
<ul>
|
51
|
-
|
52
|
-
<li class="file"><a href="./README_rdoc.html">README</a>
|
53
|
-
|
54
|
-
<li class="file"><a href="./TODO_rdoc.html">TODO</a>
|
55
53
|
|
54
|
+
<div class="nav-section">
|
55
|
+
<h3>Table of Contents</h3>
|
56
|
+
|
57
|
+
<ul class="link-list" role="directory">
|
58
|
+
<li><a href="#label-Bugs">Bugs</a>
|
59
|
+
<li><a href="#label-Features">Features</a>
|
60
|
+
<li><a href="#label-Documentation">Documentation</a>
|
61
|
+
<li><a href="#label-Tests">Tests</a>
|
56
62
|
</ul>
|
57
|
-
</
|
63
|
+
</div>
|
58
64
|
|
59
|
-
|
60
|
-
<
|
65
|
+
|
66
|
+
<div id="project-metadata">
|
67
|
+
<div id="fileindex-section" class="nav-section">
|
68
|
+
<h3>Pages</h3>
|
61
69
|
|
62
70
|
<ul class="link-list">
|
63
71
|
|
64
|
-
<li><a href="./
|
65
|
-
|
66
|
-
<li><a href="./MIDI/ActiveSense.html">MIDI::ActiveSense</a>
|
67
|
-
|
68
|
-
<li><a href="./MIDI/ChannelEvent.html">MIDI::ChannelEvent</a>
|
69
|
-
|
70
|
-
<li><a href="./MIDI/ChannelPressure.html">MIDI::ChannelPressure</a>
|
71
|
-
|
72
|
-
<li><a href="./MIDI/Clock.html">MIDI::Clock</a>
|
73
|
-
|
74
|
-
<li><a href="./MIDI/Continue.html">MIDI::Continue</a>
|
75
|
-
|
76
|
-
<li><a href="./MIDI/Controller.html">MIDI::Controller</a>
|
77
|
-
|
78
|
-
<li><a href="./MIDI/Event.html">MIDI::Event</a>
|
79
|
-
|
80
|
-
<li><a href="./MIDI/IO.html">MIDI::IO</a>
|
81
|
-
|
82
|
-
<li><a href="./MIDI/IO/MIDIFile.html">MIDI::IO::MIDIFile</a>
|
83
|
-
|
84
|
-
<li><a href="./MIDI/IO/SeqReader.html">MIDI::IO::SeqReader</a>
|
85
|
-
|
86
|
-
<li><a href="./MIDI/IO/SeqWriter.html">MIDI::IO::SeqWriter</a>
|
87
|
-
|
88
|
-
<li><a href="./MIDI/KeySig.html">MIDI::KeySig</a>
|
89
|
-
|
90
|
-
<li><a href="./MIDI/MIDI.html">MIDI::MIDI</a>
|
72
|
+
<li><a href="./README_rdoc.html">README</a>
|
91
73
|
|
92
|
-
<li><a href="./
|
93
|
-
|
94
|
-
<li><a href="./MIDI/MIDI/MIDI/Array.html">MIDI::MIDI::MIDI::Array</a>
|
95
|
-
|
96
|
-
<li><a href="./MIDI/Marker.html">MIDI::Marker</a>
|
97
|
-
|
98
|
-
<li><a href="./MIDI/Measure.html">MIDI::Measure</a>
|
99
|
-
|
100
|
-
<li><a href="./MIDI/Measures.html">MIDI::Measures</a>
|
101
|
-
|
102
|
-
<li><a href="./MIDI/MetaEvent.html">MIDI::MetaEvent</a>
|
103
|
-
|
104
|
-
<li><a href="./MIDI/NoteEvent.html">MIDI::NoteEvent</a>
|
105
|
-
|
106
|
-
<li><a href="./MIDI/NoteOff.html">MIDI::NoteOff</a>
|
107
|
-
|
108
|
-
<li><a href="./MIDI/NoteOff.html">MIDI::NoteOffEvent</a>
|
109
|
-
|
110
|
-
<li><a href="./MIDI/NoteOn.html">MIDI::NoteOn</a>
|
111
|
-
|
112
|
-
<li><a href="./MIDI/NoteOn.html">MIDI::NoteOnEvent</a>
|
113
|
-
|
114
|
-
<li><a href="./MIDI/PitchBend.html">MIDI::PitchBend</a>
|
115
|
-
|
116
|
-
<li><a href="./MIDI/PolyPressure.html">MIDI::PolyPressure</a>
|
117
|
-
|
118
|
-
<li><a href="./MIDI/ProgramChange.html">MIDI::ProgramChange</a>
|
119
|
-
|
120
|
-
<li><a href="./MIDI/Realtime.html">MIDI::Realtime</a>
|
121
|
-
|
122
|
-
<li><a href="./MIDI/Sequence.html">MIDI::Sequence</a>
|
123
|
-
|
124
|
-
<li><a href="./MIDI/SongPointer.html">MIDI::SongPointer</a>
|
125
|
-
|
126
|
-
<li><a href="./MIDI/SongSelect.html">MIDI::SongSelect</a>
|
127
|
-
|
128
|
-
<li><a href="./MIDI/Start.html">MIDI::Start</a>
|
129
|
-
|
130
|
-
<li><a href="./MIDI/Stop.html">MIDI::Stop</a>
|
131
|
-
|
132
|
-
<li><a href="./MIDI/SystemCommon.html">MIDI::SystemCommon</a>
|
133
|
-
|
134
|
-
<li><a href="./MIDI/SystemExclusive.html">MIDI::SystemExclusive</a>
|
135
|
-
|
136
|
-
<li><a href="./MIDI/SystemReset.html">MIDI::SystemReset</a>
|
137
|
-
|
138
|
-
<li><a href="./MIDI/Tempo.html">MIDI::Tempo</a>
|
139
|
-
|
140
|
-
<li><a href="./MIDI/TimeSig.html">MIDI::TimeSig</a>
|
141
|
-
|
142
|
-
<li><a href="./MIDI/Track.html">MIDI::Track</a>
|
143
|
-
|
144
|
-
<li><a href="./MIDI/TuneRequest.html">MIDI::TuneRequest</a>
|
145
|
-
|
146
|
-
<li><a href="./MIDI/Utils.html">MIDI::Utils</a>
|
147
|
-
|
148
|
-
<li><a href="./IO.html">IO</a>
|
74
|
+
<li><a href="./TODO_rdoc.html">TODO</a>
|
149
75
|
|
150
76
|
</ul>
|
151
|
-
</
|
77
|
+
</div>
|
152
78
|
|
153
79
|
</div>
|
154
80
|
</nav>
|
155
81
|
|
156
|
-
<
|
157
|
-
|
158
|
-
<h2 id="label-Bugs">Bugs
|
82
|
+
<main role="main" aria-label="Page TODO.rdoc">
|
83
|
+
|
84
|
+
<h2 id="label-Bugs">Bugs<span><a href="#label-Bugs">¶</a> <a href="#top">↑</a></span></h2>
|
159
85
|
|
160
|
-
<p>No known bugs. (If that
|
86
|
+
<p>No known bugs. (If that's not a challenge, I don't know what is.)</p>
|
161
87
|
|
162
|
-
<h2 id="label-Features">Features
|
88
|
+
<h2 id="label-Features">Features<span><a href="#label-Features">¶</a> <a href="#top">↑</a></span></h2>
|
163
89
|
<ul><li>
|
164
90
|
<p><code>print_decimal_numbers</code> and
|
165
91
|
<code>print_channel_numbers_from_one</code> should be associated with
|
166
92
|
sequence, or perhaps track, not event.</p>
|
167
93
|
</li><li>
|
168
|
-
<p>Method to translate event
|
169
|
-
start.</p>
|
94
|
+
<p>Method to translate event's time_from_start to number of milliseconds
|
95
|
+
from start.</p>
|
170
96
|
</li><li>
|
171
|
-
<p>Swing quantizing. (Implied by list email from Carl Youngblood
|
172
|
-
carl.youngblood.com>)</p>
|
97
|
+
<p>Swing quantizing. (Implied by list email from Carl Youngblood
|
98
|
+
<carl.youngblood@gmail.com>)</p>
|
173
99
|
</li><li>
|
174
100
|
<p>Implement key signature in SeqReader.</p>
|
175
101
|
</li><li>
|
@@ -178,23 +104,22 @@ carl.youngblood.com>)</p>
|
|
178
104
|
<p>Format 2 files(?).</p>
|
179
105
|
</li></ul>
|
180
106
|
|
181
|
-
<h2 id="label-Documentation">Documentation
|
107
|
+
<h2 id="label-Documentation">Documentation<span><a href="#label-Documentation">¶</a> <a href="#top">↑</a></span></h2>
|
182
108
|
<ul><li>
|
183
109
|
<p>Write better docs.</p>
|
184
110
|
</li></ul>
|
185
111
|
|
186
|
-
<h2 id="label-Tests">Tests
|
112
|
+
<h2 id="label-Tests">Tests<span><a href="#label-Tests">¶</a> <a href="#top">↑</a></span></h2>
|
187
113
|
<ul><li>
|
188
|
-
<p>Tests for Noah Thorp
|
114
|
+
<p>Tests for Noah Thorp's midilib bug fixes.</p>
|
189
115
|
</li></ul>
|
190
|
-
|
191
|
-
</div>
|
116
|
+
</main>
|
192
117
|
|
193
118
|
|
194
119
|
|
195
|
-
<footer id="validator-badges">
|
196
|
-
<p><a href="http://validator.w3.org/check/referer">
|
197
|
-
<p>Generated by <a href="
|
198
|
-
<p>
|
120
|
+
<footer id="validator-badges" role="contentinfo">
|
121
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
122
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
123
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
199
124
|
</footer>
|
200
125
|
|
data/html/created.rid
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
Tue,
|
2
|
-
README.rdoc
|
3
|
-
TODO.rdoc Tue,
|
4
|
-
lib/midilib
|
5
|
-
lib/midilib/
|
6
|
-
lib/midilib/
|
7
|
-
lib/midilib/
|
8
|
-
lib/midilib/io/
|
9
|
-
lib/midilib/io/
|
10
|
-
lib/midilib/
|
11
|
-
lib/midilib/
|
12
|
-
lib/midilib/
|
13
|
-
lib/midilib/
|
14
|
-
lib/midilib.rb
|
1
|
+
Tue, 16 Jun 2015 09:12:11 -0400
|
2
|
+
README.rdoc Tue, 16 Jun 2015 09:08:46 -0400
|
3
|
+
TODO.rdoc Tue, 14 Apr 2015 13:29:50 -0400
|
4
|
+
lib/midilib.rb Tue, 14 Apr 2015 13:29:50 -0400
|
5
|
+
lib/midilib/consts.rb Tue, 14 Apr 2015 13:29:50 -0400
|
6
|
+
lib/midilib/event.rb Tue, 14 Apr 2015 13:29:50 -0400
|
7
|
+
lib/midilib/info.rb Tue, 16 Jun 2015 09:08:40 -0400
|
8
|
+
lib/midilib/io/midifile.rb Tue, 14 Apr 2015 13:29:50 -0400
|
9
|
+
lib/midilib/io/seqreader.rb Tue, 14 Apr 2015 13:29:50 -0400
|
10
|
+
lib/midilib/io/seqwriter.rb Tue, 14 Apr 2015 13:29:50 -0400
|
11
|
+
lib/midilib/measure.rb Tue, 14 Apr 2015 13:29:50 -0400
|
12
|
+
lib/midilib/sequence.rb Tue, 14 Apr 2015 13:29:50 -0400
|
13
|
+
lib/midilib/track.rb Tue, 14 Apr 2015 13:29:50 -0400
|
14
|
+
lib/midilib/utils.rb Tue, 14 Apr 2015 13:29:50 -0400
|
data/html/css/fonts.css
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
|
3
|
+
* with Reserved Font Name "Source". All Rights Reserved. Source is a
|
4
|
+
* trademark of Adobe Systems Incorporated in the United States and/or other
|
5
|
+
* countries.
|
6
|
+
*
|
7
|
+
* This Font Software is licensed under the SIL Open Font License, Version
|
8
|
+
* 1.1.
|
9
|
+
*
|
10
|
+
* This license is copied below, and is also available with a FAQ at:
|
11
|
+
* http://scripts.sil.org/OFL
|
12
|
+
*/
|
13
|
+
|
14
|
+
@font-face {
|
15
|
+
font-family: "Source Code Pro";
|
16
|
+
font-style: normal;
|
17
|
+
font-weight: 400;
|
18
|
+
src: local("Source Code Pro"),
|
19
|
+
local("SourceCodePro-Regular"),
|
20
|
+
url("fonts/SourceCodePro-Regular.ttf") format("truetype");
|
21
|
+
}
|
22
|
+
|
23
|
+
@font-face {
|
24
|
+
font-family: "Source Code Pro";
|
25
|
+
font-style: normal;
|
26
|
+
font-weight: 700;
|
27
|
+
src: local("Source Code Pro Bold"),
|
28
|
+
local("SourceCodePro-Bold"),
|
29
|
+
url("fonts/SourceCodePro-Bold.ttf") format("truetype");
|
30
|
+
}
|
31
|
+
|
32
|
+
/*
|
33
|
+
* Copyright (c) 2010, Łukasz Dziedzic (dziedzic@typoland.com),
|
34
|
+
* with Reserved Font Name Lato.
|
35
|
+
*
|
36
|
+
* This Font Software is licensed under the SIL Open Font License, Version
|
37
|
+
* 1.1.
|
38
|
+
*
|
39
|
+
* This license is copied below, and is also available with a FAQ at:
|
40
|
+
* http://scripts.sil.org/OFL
|
41
|
+
*/
|
42
|
+
|
43
|
+
@font-face {
|
44
|
+
font-family: "Lato";
|
45
|
+
font-style: normal;
|
46
|
+
font-weight: 300;
|
47
|
+
src: local("Lato Light"),
|
48
|
+
local("Lato-Light"),
|
49
|
+
url("fonts/Lato-Light.ttf") format("truetype");
|
50
|
+
}
|
51
|
+
|
52
|
+
@font-face {
|
53
|
+
font-family: "Lato";
|
54
|
+
font-style: italic;
|
55
|
+
font-weight: 300;
|
56
|
+
src: local("Lato Light Italic"),
|
57
|
+
local("Lato-LightItalic"),
|
58
|
+
url("fonts/Lato-LightItalic.ttf") format("truetype");
|
59
|
+
}
|
60
|
+
|
61
|
+
@font-face {
|
62
|
+
font-family: "Lato";
|
63
|
+
font-style: normal;
|
64
|
+
font-weight: 700;
|
65
|
+
src: local("Lato Regular"),
|
66
|
+
local("Lato-Regular"),
|
67
|
+
url("fonts/Lato-Regular.ttf") format("truetype");
|
68
|
+
}
|
69
|
+
|
70
|
+
@font-face {
|
71
|
+
font-family: "Lato";
|
72
|
+
font-style: italic;
|
73
|
+
font-weight: 700;
|
74
|
+
src: local("Lato Italic"),
|
75
|
+
local("Lato-Italic"),
|
76
|
+
url("fonts/Lato-RegularItalic.ttf") format("truetype");
|
77
|
+
}
|
78
|
+
|
79
|
+
/*
|
80
|
+
* -----------------------------------------------------------
|
81
|
+
* SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
82
|
+
* -----------------------------------------------------------
|
83
|
+
*
|
84
|
+
* PREAMBLE
|
85
|
+
* The goals of the Open Font License (OFL) are to stimulate worldwide
|
86
|
+
* development of collaborative font projects, to support the font creation
|
87
|
+
* efforts of academic and linguistic communities, and to provide a free and
|
88
|
+
* open framework in which fonts may be shared and improved in partnership
|
89
|
+
* with others.
|
90
|
+
*
|
91
|
+
* The OFL allows the licensed fonts to be used, studied, modified and
|
92
|
+
* redistributed freely as long as they are not sold by themselves. The
|
93
|
+
* fonts, including any derivative works, can be bundled, embedded,
|
94
|
+
* redistributed and/or sold with any software provided that any reserved
|
95
|
+
* names are not used by derivative works. The fonts and derivatives,
|
96
|
+
* however, cannot be released under any other type of license. The
|
97
|
+
* requirement for fonts to remain under this license does not apply
|
98
|
+
* to any document created using the fonts or their derivatives.
|
99
|
+
*
|
100
|
+
* DEFINITIONS
|
101
|
+
* "Font Software" refers to the set of files released by the Copyright
|
102
|
+
* Holder(s) under this license and clearly marked as such. This may
|
103
|
+
* include source files, build scripts and documentation.
|
104
|
+
*
|
105
|
+
* "Reserved Font Name" refers to any names specified as such after the
|
106
|
+
* copyright statement(s).
|
107
|
+
*
|
108
|
+
* "Original Version" refers to the collection of Font Software components as
|
109
|
+
* distributed by the Copyright Holder(s).
|
110
|
+
*
|
111
|
+
* "Modified Version" refers to any derivative made by adding to, deleting,
|
112
|
+
* or substituting -- in part or in whole -- any of the components of the
|
113
|
+
* Original Version, by changing formats or by porting the Font Software to a
|
114
|
+
* new environment.
|
115
|
+
*
|
116
|
+
* "Author" refers to any designer, engineer, programmer, technical
|
117
|
+
* writer or other person who contributed to the Font Software.
|
118
|
+
*
|
119
|
+
* PERMISSION & CONDITIONS
|
120
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
121
|
+
* a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
122
|
+
* redistribute, and sell modified and unmodified copies of the Font
|
123
|
+
* Software, subject to the following conditions:
|
124
|
+
*
|
125
|
+
* 1) Neither the Font Software nor any of its individual components,
|
126
|
+
* in Original or Modified Versions, may be sold by itself.
|
127
|
+
*
|
128
|
+
* 2) Original or Modified Versions of the Font Software may be bundled,
|
129
|
+
* redistributed and/or sold with any software, provided that each copy
|
130
|
+
* contains the above copyright notice and this license. These can be
|
131
|
+
* included either as stand-alone text files, human-readable headers or
|
132
|
+
* in the appropriate machine-readable metadata fields within text or
|
133
|
+
* binary files as long as those fields can be easily viewed by the user.
|
134
|
+
*
|
135
|
+
* 3) No Modified Version of the Font Software may use the Reserved Font
|
136
|
+
* Name(s) unless explicit written permission is granted by the corresponding
|
137
|
+
* Copyright Holder. This restriction only applies to the primary font name as
|
138
|
+
* presented to the users.
|
139
|
+
*
|
140
|
+
* 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
141
|
+
* Software shall not be used to promote, endorse or advertise any
|
142
|
+
* Modified Version, except to acknowledge the contribution(s) of the
|
143
|
+
* Copyright Holder(s) and the Author(s) or with their explicit written
|
144
|
+
* permission.
|
145
|
+
*
|
146
|
+
* 5) The Font Software, modified or unmodified, in part or in whole,
|
147
|
+
* must be distributed entirely under this license, and must not be
|
148
|
+
* distributed under any other license. The requirement for fonts to
|
149
|
+
* remain under this license does not apply to any document created
|
150
|
+
* using the Font Software.
|
151
|
+
*
|
152
|
+
* TERMINATION
|
153
|
+
* This license becomes null and void if any of the above conditions are
|
154
|
+
* not met.
|
155
|
+
*
|
156
|
+
* DISCLAIMER
|
157
|
+
* THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
158
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
159
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
160
|
+
* OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
161
|
+
* COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
162
|
+
* INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
163
|
+
* DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
164
|
+
* FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
165
|
+
* OTHER DEALINGS IN THE FONT SOFTWARE.
|
166
|
+
*/
|
167
|
+
|