fullbleed 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +176 -0
- package/assets/fonts/BebasNeue-OFL.txt +93 -0
- package/assets/fonts/BebasNeue-Regular.ttf +0 -0
- package/assets/fonts/DMSerifDisplay-Italic.ttf +0 -0
- package/assets/fonts/DMSerifDisplay-OFL.txt +93 -0
- package/assets/fonts/DMSerifDisplay-Regular.ttf +0 -0
- package/assets/fonts/Inter-OFL.txt +93 -0
- package/assets/fonts/Inter-Variable.ttf +0 -0
- package/dist/THIRD_PARTY_NOTICES.txt +1131 -0
- package/dist/build.json +83 -0
- package/dist/engine.wasm +0 -0
- package/dist/index.d.cts +36 -0
- package/package.json +71 -0
- package/src/index.cjs +133 -0
- package/src/index.d.ts +36 -0
- package/src/index.js +3 -0
- package/src/worker.js +46 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Fullbleed Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# Fullbleed for Node.js
|
|
2
|
+
|
|
3
|
+
Generate PDFs from static HTML and CSS in Node.js. The package includes the
|
|
4
|
+
Fullbleed Rust engine compiled to WebAssembly and four font faces, so installing
|
|
5
|
+
it does not require Python, Rust, a browser, or system fonts. MIT licensed.
|
|
6
|
+
|
|
7
|
+
This is an optional integration around the unchanged **Fullbleed 2.5.5** engine.
|
|
8
|
+
The Node package has its own version, **0.1.1**.
|
|
9
|
+
|
|
10
|
+
## Install and render
|
|
11
|
+
|
|
12
|
+
Use Node.js 22 or newer. Install the versioned package from its GitHub release:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install https://github.com/fullbleed-engine/fullbleed-node/releases/download/v0.1.1/fullbleed-0.1.1.tgz
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Save this as `invoice.mjs` and run `node invoice.mjs`:
|
|
19
|
+
|
|
20
|
+
```javascript
|
|
21
|
+
import { writeFile } from 'node:fs/promises';
|
|
22
|
+
import { renderPdf } from 'fullbleed';
|
|
23
|
+
|
|
24
|
+
const result = await renderPdf({
|
|
25
|
+
html: '<h1>Invoice NS-1042</h1><p>Consulting: USD 1,200.00</p>',
|
|
26
|
+
css: '@page { size: A4; margin: 20mm } h1 { color: #175c52 }',
|
|
27
|
+
previewDpi: 96,
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
await writeFile('invoice.pdf', result.pdf);
|
|
31
|
+
await writeFile('invoice.png', result.previews[0]);
|
|
32
|
+
console.log(`${result.pages} page; engine ${result.engineVersion}`);
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Inter is the default font. CommonJS also works:
|
|
36
|
+
`const { renderPdf } = require('fullbleed')`. TypeScript declarations are included.
|
|
37
|
+
|
|
38
|
+
[Try the browser playground](https://docs.fullbleed.dev/playground/) ·
|
|
39
|
+
[Fullbleed documentation](https://docs.fullbleed.dev/) ·
|
|
40
|
+
[CSS coverage](https://docs.fullbleed.dev/css-coverage/) ·
|
|
41
|
+
[Python and Rust engine](https://github.com/fullbleed-engine/fullbleed-official)
|
|
42
|
+
|
|
43
|
+
## A designed invoice
|
|
44
|
+
|
|
45
|
+

|
|
46
|
+
|
|
47
|
+
The [runnable example](examples/invoice.mjs) uses these same invoice sources and
|
|
48
|
+
the bundled Inter, DM Serif Display, and Bebas Neue families. It escapes the
|
|
49
|
+
customer name before inserting it into HTML. The data is fictional.
|
|
50
|
+
|
|
51
|
+
From a source checkout, after the build steps below:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
npm run example
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Open `output/invoice/invoice.pdf` and `page-1.png`. The [three-page report
|
|
58
|
+
sources](examples/report.html) demonstrate pagination, tables, and vector artwork.
|
|
59
|
+
|
|
60
|
+
## Fonts and assets
|
|
61
|
+
|
|
62
|
+
Supply file bytes explicitly. Additional fonts are registered alongside the
|
|
63
|
+
bundled fonts; use their actual family names in CSS. Asset names are relative to
|
|
64
|
+
the virtual `assets/` directory:
|
|
65
|
+
|
|
66
|
+
```javascript
|
|
67
|
+
import { readFile } from 'node:fs/promises';
|
|
68
|
+
import { renderPdf } from 'fullbleed';
|
|
69
|
+
|
|
70
|
+
const result = await renderPdf({
|
|
71
|
+
html: '<img src="assets/brand/logo.svg"><h1>Quarterly report</h1>',
|
|
72
|
+
css: "body { font-family: 'Your Font Family', Inter } img { width: 80pt }",
|
|
73
|
+
fonts: [await readFile('your-font.ttf')],
|
|
74
|
+
assets: { 'brand/logo.svg': await readFile('logo.svg') },
|
|
75
|
+
});
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
The WebAssembly engine sees an in-memory filesystem containing the supplied
|
|
79
|
+
inputs and bundled fonts. It does not fetch remote URLs or read application files.
|
|
80
|
+
Use the asset map or data URIs for document images. Render and review previews
|
|
81
|
+
when adapting a template; unsupported CSS or an unavailable asset can affect output.
|
|
82
|
+
|
|
83
|
+
Use registered font families in CSS. The engine can substitute an unavailable
|
|
84
|
+
family. Its missing-glyph report checks resolved fonts and is not an exhaustive
|
|
85
|
+
font-substitution or visual-validation report.
|
|
86
|
+
|
|
87
|
+
## API
|
|
88
|
+
|
|
89
|
+
`await renderPdf(options)` returns `{ pdf, previews, pages, missingGlyphs,
|
|
90
|
+
engineVersion }`. PDF and PNG values are Node `Buffer` objects. Previews are
|
|
91
|
+
generated from the finalized PDF and are empty when disabled.
|
|
92
|
+
|
|
93
|
+
The report example uses gradient chart fills. Its finalized PDF previews and
|
|
94
|
+
separate linear, translucent, and hard radial fixtures are checked against the
|
|
95
|
+
native engine.
|
|
96
|
+
|
|
97
|
+
| Option | Behavior |
|
|
98
|
+
| --- | --- |
|
|
99
|
+
| `html` | Required nonempty HTML string. |
|
|
100
|
+
| `css` | CSS string; defaults to empty. The default Inter rule precedes it. |
|
|
101
|
+
| `fonts` | Additional TrueType font bytes as `Uint8Array[]` or `Buffer[]`. |
|
|
102
|
+
| `assets` | Map relative asset names to nonempty byte arrays. |
|
|
103
|
+
| `previewDpi` | `0` disables previews; otherwise an integer from 36 to 300. |
|
|
104
|
+
| `maxPages` | Reject larger documents. Default: 1000. |
|
|
105
|
+
| `timeoutMs` | Deadline including initial engine loading. Default: 30000 ms. |
|
|
106
|
+
| `signal` | An `AbortSignal` to cancel rendering. |
|
|
107
|
+
| `allowMissingGlyphs` | Default `false`: reject engine-reported missing glyphs. |
|
|
108
|
+
|
|
109
|
+
Rendering runs in a dedicated worker. Concurrent calls use separate workers and
|
|
110
|
+
document state. Bound concurrency in a server according to its available memory;
|
|
111
|
+
each worker's WebAssembly memory has a 512 MiB ceiling. HTML and CSS together are
|
|
112
|
+
limited to 4,000,000 UTF-8 bytes; supplied fonts and assets together to 64 MiB.
|
|
113
|
+
Preview images can use substantially more memory than PDF-only rendering.
|
|
114
|
+
|
|
115
|
+
```javascript
|
|
116
|
+
import { FullbleedError, renderPdf } from 'fullbleed';
|
|
117
|
+
|
|
118
|
+
try {
|
|
119
|
+
const result = await renderPdf({
|
|
120
|
+
html: '<h1>Monthly statement</h1>',
|
|
121
|
+
maxPages: 20,
|
|
122
|
+
timeoutMs: 10_000,
|
|
123
|
+
signal: AbortSignal.timeout(8_000),
|
|
124
|
+
});
|
|
125
|
+
// Return result.pdf from your HTTP handler, or write it to your storage.
|
|
126
|
+
} catch (error) {
|
|
127
|
+
if (error instanceof FullbleedError) console.error(error.code, error.message);
|
|
128
|
+
else throw error;
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Error codes include `INVALID_INPUT`, `MISSING_GLYPHS`, `PAGE_LIMIT`, `TIMEOUT`,
|
|
133
|
+
`ABORTED`, `ENGINE_LOAD_FAILED`, `ENGINE_LIMIT`, `RENDER_FAILED`,
|
|
134
|
+
`PREVIEW_FAILED`, and `WORKER_FAILED`. Failed or cancelled calls do not return a
|
|
135
|
+
partial PDF. Caller-owned asset buffers are copied when a call starts.
|
|
136
|
+
|
|
137
|
+
This API covers ordinary document generation and previews. It does not expose
|
|
138
|
+
PDF/A, PDF/UA, PDF/X, template overlays, or compiled VDP. Use the
|
|
139
|
+
[Python or Rust APIs](https://docs.fullbleed.dev/) for those workflows and their
|
|
140
|
+
verification requirements. Unknown options are rejected. Fullbleed uses static
|
|
141
|
+
HTML/CSS for print layout; it does not execute document JavaScript or reproduce
|
|
142
|
+
arbitrary browser pages.
|
|
143
|
+
|
|
144
|
+
## Build and verify from source
|
|
145
|
+
|
|
146
|
+
Contributors need Node.js 22+ and Rust 1.97.0 with the WASI target. Package users
|
|
147
|
+
do not need a compiler. Dependencies are pinned in both lockfiles.
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
rustup target add wasm32-wasip1
|
|
151
|
+
npm ci --ignore-scripts
|
|
152
|
+
npm run build
|
|
153
|
+
npm test
|
|
154
|
+
npm run check:types
|
|
155
|
+
npm run verify:native
|
|
156
|
+
npm run verify:pack
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
The build records engine metadata, licenses, and artifact hashes in `dist/`.
|
|
160
|
+
The verification suite renders actual invoices, a three-page report, custom
|
|
161
|
+
fonts, and image assets; compares native and WebAssembly PDF/PNG bytes; checks
|
|
162
|
+
error recovery; and installs the packed tarball into a separate directory with
|
|
163
|
+
spaces in its path. CI exercises Node 22, 24, and 26 on Windows, Linux, and macOS.
|
|
164
|
+
Retained release evidence describes the verified fixtures and scope.
|
|
165
|
+
|
|
166
|
+
## License and support
|
|
167
|
+
|
|
168
|
+
The adapter and Fullbleed engine are MIT licensed. Bundled fonts use SIL OFL 1.1.
|
|
169
|
+
The WASI shim is used under its MIT option. Complete notices ship with the package
|
|
170
|
+
in `dist/THIRD_PARTY_NOTICES.txt` and `assets/fonts/`.
|
|
171
|
+
|
|
172
|
+
Report reproducible integration bugs in [this repository's
|
|
173
|
+
issues](https://github.com/fullbleed-engine/fullbleed-node/issues). Include the
|
|
174
|
+
package and Node versions, platform, minimal synthetic inputs, and error code.
|
|
175
|
+
For engine behavior and general usage, use the
|
|
176
|
+
[Fullbleed discussion forum](https://github.com/fullbleed-engine/fullbleed-official/discussions).
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright © 2010 by Dharma Type.
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2014-2018 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries. Copyright 2019 Google LLC.
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
|
|
5
|
+
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|