turbo-html2pdf 0.3.4 → 0.3.5

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/README.md CHANGED
@@ -201,7 +201,7 @@ fs.writeFileSync('out.pdf', pdf) // %PDF-1.7
201
201
 
202
202
  ## Status
203
203
 
204
- `v0.3.4`. The core engine is complete and heavily tested (the `turbo-html2pdf-core`
204
+ `v0.3.5`. The core engine is complete and heavily tested (the `turbo-html2pdf-core`
205
205
  crate holds 100% line coverage with a cyclomatic-complexity ≤ 5 gate). Bindings:
206
206
  Node (napi) and WebAssembly. See [`docs/`](https://github.com/miaskiewicz/turbo-html2pdf/blob/main/docs/) for the full guide and
207
207
  [`benches/competitive/`](https://github.com/miaskiewicz/turbo-html2pdf/blob/main/benches/competitive/) for the benchmark harness.
@@ -0,0 +1,634 @@
1
+ # Embedded font notices
2
+
3
+ # Bundled fonts — attribution & licenses
4
+
5
+ These fonts are embedded into `turbo-html2pdf-core` when the default `bundled-fonts`
6
+ feature is enabled (see `src/text/bundled.rs`). They back the CSS generic
7
+ families so a document renders with zero caller-supplied fonts. Every face below
8
+ is redistributed under a permissive open license; the full upstream license text
9
+ ships alongside each family.
10
+
11
+ | CSS generic | Role | Family | Faces bundled | License | License file |
12
+ |-------------|-----------|-----------------|-----------------------------------|---------|-------------------------------|
13
+ | sans-serif | primary | Inter | Regular, Bold, Italic, BoldItalic | OFL 1.1 | `inter/LICENSE.txt` |
14
+ | sans-serif | secondary | Roboto | Regular, Bold, Italic, BoldItalic | OFL 1.1 | `roboto/OFL.txt` |
15
+ | serif | primary | Liberation Serif| Regular, Bold, Italic, BoldItalic | OFL 1.1 | `liberation-serif/LICENSE` |
16
+ | serif | secondary | PT Serif | Regular, Bold, Italic, BoldItalic | OFL 1.1 | `pt-serif/OFL.txt` |
17
+ | monospace | primary | Fira Code | Regular, Bold | OFL 1.1 | `fira-code/OFL.txt` |
18
+ | monospace | secondary | IBM Plex Mono | Regular, Bold, Italic, BoldItalic | OFL 1.1 | `ibm-plex-mono/OFL.txt` |
19
+
20
+ Notes:
21
+
22
+ - Fira Code ships no italic faces upstream (it is a programming-ligature
23
+ monospace), so only Regular and Bold are bundled; italic monospace falls
24
+ through to IBM Plex Mono Italic / BoldItalic.
25
+ - Roboto is the current Google Fonts release, which is distributed under the SIL
26
+ Open Font License 1.1 (the project relicensed from Apache-2.0). The OFL text is
27
+ shipped in `roboto/OFL.txt`.
28
+ - Inter is the static OTF (CFF) build from the upstream `rsms/inter` v4.1
29
+ release; all other families are TrueType (`glyf`) outlines.
30
+
31
+ ## Sources
32
+
33
+ - Inter — https://github.com/rsms/inter (release v4.1, `extras/otf/`)
34
+ - Roboto — https://fonts.google.com/specimen/Roboto (latin subset)
35
+ - Liberation Serif — https://github.com/liberationfonts/liberation-fonts (2.1.5)
36
+ - PT Serif — https://fonts.google.com/specimen/PT+Serif
37
+ - Fira Code — https://github.com/tonsky/FiraCode (release 6.2)
38
+ - IBM Plex Mono — https://fonts.google.com/specimen/IBM+Plex+Mono
39
+
40
+ The SIL Open Font License 1.1 permits embedding the font (including subsetted) in
41
+ documents and bundling with software, provided the copyright + license notices
42
+ travel with the font. Those notices are the per-family license files in this
43
+ directory.
44
+
45
+
46
+ ## inter/LICENSE.txt
47
+
48
+ Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
49
+
50
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
51
+ This license is copied below, and is also available with a FAQ at:
52
+ http://scripts.sil.org/OFL
53
+
54
+ -----------------------------------------------------------
55
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
56
+ -----------------------------------------------------------
57
+
58
+ PREAMBLE
59
+ The goals of the Open Font License (OFL) are to stimulate worldwide
60
+ development of collaborative font projects, to support the font creation
61
+ efforts of academic and linguistic communities, and to provide a free and
62
+ open framework in which fonts may be shared and improved in partnership
63
+ with others.
64
+
65
+ The OFL allows the licensed fonts to be used, studied, modified and
66
+ redistributed freely as long as they are not sold by themselves. The
67
+ fonts, including any derivative works, can be bundled, embedded,
68
+ redistributed and/or sold with any software provided that any reserved
69
+ names are not used by derivative works. The fonts and derivatives,
70
+ however, cannot be released under any other type of license. The
71
+ requirement for fonts to remain under this license does not apply
72
+ to any document created using the fonts or their derivatives.
73
+
74
+ DEFINITIONS
75
+ "Font Software" refers to the set of files released by the Copyright
76
+ Holder(s) under this license and clearly marked as such. This may
77
+ include source files, build scripts and documentation.
78
+
79
+ "Reserved Font Name" refers to any names specified as such after the
80
+ copyright statement(s).
81
+
82
+ "Original Version" refers to the collection of Font Software components as
83
+ distributed by the Copyright Holder(s).
84
+
85
+ "Modified Version" refers to any derivative made by adding to, deleting,
86
+ or substituting -- in part or in whole -- any of the components of the
87
+ Original Version, by changing formats or by porting the Font Software to a
88
+ new environment.
89
+
90
+ "Author" refers to any designer, engineer, programmer, technical
91
+ writer or other person who contributed to the Font Software.
92
+
93
+ PERMISSION AND CONDITIONS
94
+ Permission is hereby granted, free of charge, to any person obtaining
95
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
96
+ redistribute, and sell modified and unmodified copies of the Font
97
+ Software, subject to the following conditions:
98
+
99
+ 1) Neither the Font Software nor any of its individual components,
100
+ in Original or Modified Versions, may be sold by itself.
101
+
102
+ 2) Original or Modified Versions of the Font Software may be bundled,
103
+ redistributed and/or sold with any software, provided that each copy
104
+ contains the above copyright notice and this license. These can be
105
+ included either as stand-alone text files, human-readable headers or
106
+ in the appropriate machine-readable metadata fields within text or
107
+ binary files as long as those fields can be easily viewed by the user.
108
+
109
+ 3) No Modified Version of the Font Software may use the Reserved Font
110
+ Name(s) unless explicit written permission is granted by the corresponding
111
+ Copyright Holder. This restriction only applies to the primary font name as
112
+ presented to the users.
113
+
114
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
115
+ Software shall not be used to promote, endorse or advertise any
116
+ Modified Version, except to acknowledge the contribution(s) of the
117
+ Copyright Holder(s) and the Author(s) or with their explicit written
118
+ permission.
119
+
120
+ 5) The Font Software, modified or unmodified, in part or in whole,
121
+ must be distributed entirely under this license, and must not be
122
+ distributed under any other license. The requirement for fonts to
123
+ remain under this license does not apply to any document created
124
+ using the Font Software.
125
+
126
+ TERMINATION
127
+ This license becomes null and void if any of the above conditions are
128
+ not met.
129
+
130
+ DISCLAIMER
131
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
132
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
133
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
134
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
135
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
136
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
137
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
138
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
139
+ OTHER DEALINGS IN THE FONT SOFTWARE.
140
+
141
+
142
+ ## roboto/OFL.txt
143
+
144
+ Copyright 2011 The Roboto Project Authors (https://github.com/googlefonts/roboto-classic)
145
+
146
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
147
+ This license is copied below, and is also available with a FAQ at:
148
+ https://openfontlicense.org
149
+
150
+
151
+ -----------------------------------------------------------
152
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
153
+ -----------------------------------------------------------
154
+
155
+ PREAMBLE
156
+ The goals of the Open Font License (OFL) are to stimulate worldwide
157
+ development of collaborative font projects, to support the font creation
158
+ efforts of academic and linguistic communities, and to provide a free and
159
+ open framework in which fonts may be shared and improved in partnership
160
+ with others.
161
+
162
+ The OFL allows the licensed fonts to be used, studied, modified and
163
+ redistributed freely as long as they are not sold by themselves. The
164
+ fonts, including any derivative works, can be bundled, embedded,
165
+ redistributed and/or sold with any software provided that any reserved
166
+ names are not used by derivative works. The fonts and derivatives,
167
+ however, cannot be released under any other type of license. The
168
+ requirement for fonts to remain under this license does not apply
169
+ to any document created using the fonts or their derivatives.
170
+
171
+ DEFINITIONS
172
+ "Font Software" refers to the set of files released by the Copyright
173
+ Holder(s) under this license and clearly marked as such. This may
174
+ include source files, build scripts and documentation.
175
+
176
+ "Reserved Font Name" refers to any names specified as such after the
177
+ copyright statement(s).
178
+
179
+ "Original Version" refers to the collection of Font Software components as
180
+ distributed by the Copyright Holder(s).
181
+
182
+ "Modified Version" refers to any derivative made by adding to, deleting,
183
+ or substituting -- in part or in whole -- any of the components of the
184
+ Original Version, by changing formats or by porting the Font Software to a
185
+ new environment.
186
+
187
+ "Author" refers to any designer, engineer, programmer, technical
188
+ writer or other person who contributed to the Font Software.
189
+
190
+ PERMISSION & CONDITIONS
191
+ Permission is hereby granted, free of charge, to any person obtaining
192
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
193
+ redistribute, and sell modified and unmodified copies of the Font
194
+ Software, subject to the following conditions:
195
+
196
+ 1) Neither the Font Software nor any of its individual components,
197
+ in Original or Modified Versions, may be sold by itself.
198
+
199
+ 2) Original or Modified Versions of the Font Software may be bundled,
200
+ redistributed and/or sold with any software, provided that each copy
201
+ contains the above copyright notice and this license. These can be
202
+ included either as stand-alone text files, human-readable headers or
203
+ in the appropriate machine-readable metadata fields within text or
204
+ binary files as long as those fields can be easily viewed by the user.
205
+
206
+ 3) No Modified Version of the Font Software may use the Reserved Font
207
+ Name(s) unless explicit written permission is granted by the corresponding
208
+ Copyright Holder. This restriction only applies to the primary font name as
209
+ presented to the users.
210
+
211
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
212
+ Software shall not be used to promote, endorse or advertise any
213
+ Modified Version, except to acknowledge the contribution(s) of the
214
+ Copyright Holder(s) and the Author(s) or with their explicit written
215
+ permission.
216
+
217
+ 5) The Font Software, modified or unmodified, in part or in whole,
218
+ must be distributed entirely under this license, and must not be
219
+ distributed under any other license. The requirement for fonts to
220
+ remain under this license does not apply to any document created
221
+ using the Font Software.
222
+
223
+ TERMINATION
224
+ This license becomes null and void if any of the above conditions are
225
+ not met.
226
+
227
+ DISCLAIMER
228
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
229
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
230
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
231
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
232
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
233
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
234
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
235
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
236
+ OTHER DEALINGS IN THE FONT SOFTWARE.
237
+
238
+
239
+ ## liberation-serif/LICENSE
240
+
241
+ Digitized data copyright (c) 2010 Google Corporation
242
+ with Reserved Font Arimo, Tinos and Cousine.
243
+ Copyright (c) 2012 Red Hat, Inc.
244
+ with Reserved Font Name Liberation.
245
+
246
+ This Font Software is licensed under the SIL Open Font License,
247
+ Version 1.1.
248
+
249
+ This license is copied below, and is also available with a FAQ at:
250
+ http://scripts.sil.org/OFL
251
+
252
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
253
+
254
+ PREAMBLE The goals of the Open Font License (OFL) are to stimulate
255
+ worldwide development of collaborative font projects, to support the font
256
+ creation efforts of academic and linguistic communities, and to provide
257
+ a free and open framework in which fonts may be shared and improved in
258
+ partnership with others.
259
+
260
+ The OFL allows the licensed fonts to be used, studied, modified and
261
+ redistributed freely as long as they are not sold by themselves.
262
+ The fonts, including any derivative works, can be bundled, embedded,
263
+ redistributed and/or sold with any software provided that any reserved
264
+ names are not used by derivative works. The fonts and derivatives,
265
+ however, cannot be released under any other type of license. The
266
+ requirement for fonts to remain under this license does not apply to
267
+ any document created using the fonts or their derivatives.
268
+
269
+
270
+
271
+ DEFINITIONS
272
+ "Font Software" refers to the set of files released by the Copyright
273
+ Holder(s) under this license and clearly marked as such.
274
+ This may include source files, build scripts and documentation.
275
+
276
+ "Reserved Font Name" refers to any names specified as such after the
277
+ copyright statement(s).
278
+
279
+ "Original Version" refers to the collection of Font Software components
280
+ as distributed by the Copyright Holder(s).
281
+
282
+ "Modified Version" refers to any derivative made by adding to, deleting,
283
+ or substituting ? in part or in whole ?
284
+ any of the components of the Original Version, by changing formats or
285
+ by porting the Font Software to a new environment.
286
+
287
+ "Author" refers to any designer, engineer, programmer, technical writer
288
+ or other person who contributed to the Font Software.
289
+
290
+
291
+ PERMISSION & CONDITIONS
292
+
293
+ Permission is hereby granted, free of charge, to any person obtaining a
294
+ copy of the Font Software, to use, study, copy, merge, embed, modify,
295
+ redistribute, and sell modified and unmodified copies of the Font
296
+ Software, subject to the following conditions:
297
+
298
+ 1) Neither the Font Software nor any of its individual components,in
299
+ Original or Modified Versions, may be sold by itself.
300
+
301
+ 2) Original or Modified Versions of the Font Software may be bundled,
302
+ redistributed and/or sold with any software, provided that each copy
303
+ contains the above copyright notice and this license. These can be
304
+ included either as stand-alone text files, human-readable headers or
305
+ in the appropriate machine-readable metadata fields within text or
306
+ binary files as long as those fields can be easily viewed by the user.
307
+
308
+ 3) No Modified Version of the Font Software may use the Reserved Font
309
+ Name(s) unless explicit written permission is granted by the
310
+ corresponding Copyright Holder. This restriction only applies to the
311
+ primary font name as presented to the users.
312
+
313
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
314
+ Software shall not be used to promote, endorse or advertise any
315
+ Modified Version, except to acknowledge the contribution(s) of the
316
+ Copyright Holder(s) and the Author(s) or with their explicit written
317
+ permission.
318
+
319
+ 5) The Font Software, modified or unmodified, in part or in whole, must
320
+ be distributed entirely under this license, and must not be distributed
321
+ under any other license. The requirement for fonts to remain under
322
+ this license does not apply to any document created using the Font
323
+ Software.
324
+
325
+
326
+
327
+ TERMINATION
328
+ This license becomes null and void if any of the above conditions are not met.
329
+
330
+
331
+
332
+ DISCLAIMER
333
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
334
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
335
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
336
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
337
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
338
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
339
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
340
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
341
+ DEALINGS IN THE FONT SOFTWARE.
342
+
343
+
344
+
345
+ ## pt-serif/OFL.txt
346
+
347
+ Copyright (c) 2010, ParaType Ltd. (http://www.paratype.com/public),
348
+ with Reserved Font Names "PT Sans", "PT Serif" and "ParaType".
349
+
350
+ This Font Software is licensed under the SIL Open Font License, Version 1.1
351
+ This license is copied below, and is also available with a FAQ at:
352
+ http://scripts.sil.org/OFL
353
+
354
+ -----------------------------------------------------------
355
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
356
+ -----------------------------------------------------------
357
+
358
+ PREAMBLE
359
+ The goals of the Open Font License (OFL) are to stimulate worldwide
360
+ development of collaborative font projects, to support the font creation
361
+ efforts of academic and linguistic communities, and to provide a free and
362
+ open framework in which fonts may be shared and improved in partnership
363
+ with others.
364
+
365
+ The OFL allows the licensed fonts to be used, studied, modified and
366
+ redistributed freely as long as they are not sold by themselves. The
367
+ fonts, including any derivative works, can be bundled, embedded,
368
+ redistributed and/or sold with any software provided that any reserved
369
+ names are not used by derivative works. The fonts and derivatives,
370
+ however, cannot be released under any other type of license. The
371
+ requirement for fonts to remain under this license does not apply
372
+ to any document created using the fonts or their derivatives.
373
+
374
+ DEFINITIONS
375
+ "Font Software" refers to the set of files released by the Copyright
376
+ Holder(s) under this license and clearly marked as such. This may
377
+ include source files, build scripts and documentation.
378
+
379
+ "Reserved Font Name" refers to any names specified as such after the
380
+ copyright statement(s).
381
+
382
+ "Original Version" refers to the collection of Font Software components as
383
+ distributed by the Copyright Holder(s).
384
+
385
+ "Modified Version" refers to any derivative made by adding to, deleting,
386
+ or substituting -- in part or in whole -- any of the components of the
387
+ Original Version, by changing formats or by porting the Font Software to a
388
+ new environment.
389
+
390
+ "Author" refers to any designer, engineer, programmer, technical
391
+ writer or other person who contributed to the Font Software.
392
+
393
+ PERMISSION & CONDITIONS
394
+ Permission is hereby granted, free of charge, to any person obtaining
395
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
396
+ redistribute, and sell modified and unmodified copies of the Font
397
+ Software, subject to the following conditions:
398
+
399
+ 1) Neither the Font Software nor any of its individual components,
400
+ in Original or Modified Versions, may be sold by itself.
401
+
402
+ 2) Original or Modified Versions of the Font Software may be bundled,
403
+ redistributed and/or sold with any software, provided that each copy
404
+ contains the above copyright notice and this license. These can be
405
+ included either as stand-alone text files, human-readable headers or
406
+ in the appropriate machine-readable metadata fields within text or
407
+ binary files as long as those fields can be easily viewed by the user.
408
+
409
+ 3) No Modified Version of the Font Software may use the Reserved Font
410
+ Name(s) unless explicit written permission is granted by the corresponding
411
+ Copyright Holder. This restriction only applies to the primary font name as
412
+ presented to the users.
413
+
414
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
415
+ Software shall not be used to promote, endorse or advertise any
416
+ Modified Version, except to acknowledge the contribution(s) of the
417
+ Copyright Holder(s) and the Author(s) or with their explicit written
418
+ permission.
419
+
420
+ 5) The Font Software, modified or unmodified, in part or in whole,
421
+ must be distributed entirely under this license, and must not be
422
+ distributed under any other license. The requirement for fonts to
423
+ remain under this license does not apply to any document created
424
+ using the Font Software.
425
+
426
+ TERMINATION
427
+ This license becomes null and void if any of the above conditions are
428
+ not met.
429
+
430
+ DISCLAIMER
431
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
432
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
433
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
434
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
435
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
436
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
437
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
438
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
439
+ OTHER DEALINGS IN THE FONT SOFTWARE.
440
+
441
+
442
+ ## fira-code/OFL.txt
443
+
444
+ Copyright (c) 2014, The Fira Code Project Authors (https://github.com/tonsky/FiraCode)
445
+
446
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
447
+ This license is copied below, and is also available with a FAQ at:
448
+ http://scripts.sil.org/OFL
449
+
450
+
451
+ -----------------------------------------------------------
452
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
453
+ -----------------------------------------------------------
454
+
455
+ PREAMBLE
456
+ The goals of the Open Font License (OFL) are to stimulate worldwide
457
+ development of collaborative font projects, to support the font creation
458
+ efforts of academic and linguistic communities, and to provide a free and
459
+ open framework in which fonts may be shared and improved in partnership
460
+ with others.
461
+
462
+ The OFL allows the licensed fonts to be used, studied, modified and
463
+ redistributed freely as long as they are not sold by themselves. The
464
+ fonts, including any derivative works, can be bundled, embedded,
465
+ redistributed and/or sold with any software provided that any reserved
466
+ names are not used by derivative works. The fonts and derivatives,
467
+ however, cannot be released under any other type of license. The
468
+ requirement for fonts to remain under this license does not apply
469
+ to any document created using the fonts or their derivatives.
470
+
471
+ DEFINITIONS
472
+ "Font Software" refers to the set of files released by the Copyright
473
+ Holder(s) under this license and clearly marked as such. This may
474
+ include source files, build scripts and documentation.
475
+
476
+ "Reserved Font Name" refers to any names specified as such after the
477
+ copyright statement(s).
478
+
479
+ "Original Version" refers to the collection of Font Software components as
480
+ distributed by the Copyright Holder(s).
481
+
482
+ "Modified Version" refers to any derivative made by adding to, deleting,
483
+ or substituting -- in part or in whole -- any of the components of the
484
+ Original Version, by changing formats or by porting the Font Software to a
485
+ new environment.
486
+
487
+ "Author" refers to any designer, engineer, programmer, technical
488
+ writer or other person who contributed to the Font Software.
489
+
490
+ PERMISSION & CONDITIONS
491
+ Permission is hereby granted, free of charge, to any person obtaining
492
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
493
+ redistribute, and sell modified and unmodified copies of the Font
494
+ Software, subject to the following conditions:
495
+
496
+ 1) Neither the Font Software nor any of its individual components,
497
+ in Original or Modified Versions, may be sold by itself.
498
+
499
+ 2) Original or Modified Versions of the Font Software may be bundled,
500
+ redistributed and/or sold with any software, provided that each copy
501
+ contains the above copyright notice and this license. These can be
502
+ included either as stand-alone text files, human-readable headers or
503
+ in the appropriate machine-readable metadata fields within text or
504
+ binary files as long as those fields can be easily viewed by the user.
505
+
506
+ 3) No Modified Version of the Font Software may use the Reserved Font
507
+ Name(s) unless explicit written permission is granted by the corresponding
508
+ Copyright Holder. This restriction only applies to the primary font name as
509
+ presented to the users.
510
+
511
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
512
+ Software shall not be used to promote, endorse or advertise any
513
+ Modified Version, except to acknowledge the contribution(s) of the
514
+ Copyright Holder(s) and the Author(s) or with their explicit written
515
+ permission.
516
+
517
+ 5) The Font Software, modified or unmodified, in part or in whole,
518
+ must be distributed entirely under this license, and must not be
519
+ distributed under any other license. The requirement for fonts to
520
+ remain under this license does not apply to any document created
521
+ using the Font Software.
522
+
523
+ TERMINATION
524
+ This license becomes null and void if any of the above conditions are
525
+ not met.
526
+
527
+ DISCLAIMER
528
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
529
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
530
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
531
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
532
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
533
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
534
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
535
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
536
+ OTHER DEALINGS IN THE FONT SOFTWARE.
537
+
538
+
539
+ ## ibm-plex-mono/OFL.txt
540
+
541
+ Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
542
+
543
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
544
+
545
+ This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
546
+
547
+
548
+ -----------------------------------------------------------
549
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
550
+ -----------------------------------------------------------
551
+
552
+ PREAMBLE
553
+ The goals of the Open Font License (OFL) are to stimulate worldwide
554
+ development of collaborative font projects, to support the font creation
555
+ efforts of academic and linguistic communities, and to provide a free and
556
+ open framework in which fonts may be shared and improved in partnership
557
+ with others.
558
+
559
+ The OFL allows the licensed fonts to be used, studied, modified and
560
+ redistributed freely as long as they are not sold by themselves. The
561
+ fonts, including any derivative works, can be bundled, embedded,
562
+ redistributed and/or sold with any software provided that any reserved
563
+ names are not used by derivative works. The fonts and derivatives,
564
+ however, cannot be released under any other type of license. The
565
+ requirement for fonts to remain under this license does not apply
566
+ to any document created using the fonts or their derivatives.
567
+
568
+ DEFINITIONS
569
+ "Font Software" refers to the set of files released by the Copyright
570
+ Holder(s) under this license and clearly marked as such. This may
571
+ include source files, build scripts and documentation.
572
+
573
+ "Reserved Font Name" refers to any names specified as such after the
574
+ copyright statement(s).
575
+
576
+ "Original Version" refers to the collection of Font Software components as
577
+ distributed by the Copyright Holder(s).
578
+
579
+ "Modified Version" refers to any derivative made by adding to, deleting,
580
+ or substituting -- in part or in whole -- any of the components of the
581
+ Original Version, by changing formats or by porting the Font Software to a
582
+ new environment.
583
+
584
+ "Author" refers to any designer, engineer, programmer, technical
585
+ writer or other person who contributed to the Font Software.
586
+
587
+ PERMISSION & CONDITIONS
588
+ Permission is hereby granted, free of charge, to any person obtaining
589
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
590
+ redistribute, and sell modified and unmodified copies of the Font
591
+ Software, subject to the following conditions:
592
+
593
+ 1) Neither the Font Software nor any of its individual components,
594
+ in Original or Modified Versions, may be sold by itself.
595
+
596
+ 2) Original or Modified Versions of the Font Software may be bundled,
597
+ redistributed and/or sold with any software, provided that each copy
598
+ contains the above copyright notice and this license. These can be
599
+ included either as stand-alone text files, human-readable headers or
600
+ in the appropriate machine-readable metadata fields within text or
601
+ binary files as long as those fields can be easily viewed by the user.
602
+
603
+ 3) No Modified Version of the Font Software may use the Reserved Font
604
+ Name(s) unless explicit written permission is granted by the corresponding
605
+ Copyright Holder. This restriction only applies to the primary font name as
606
+ presented to the users.
607
+
608
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
609
+ Software shall not be used to promote, endorse or advertise any
610
+ Modified Version, except to acknowledge the contribution(s) of the
611
+ Copyright Holder(s) and the Author(s) or with their explicit written
612
+ permission.
613
+
614
+ 5) The Font Software, modified or unmodified, in part or in whole,
615
+ must be distributed entirely under this license, and must not be
616
+ distributed under any other license. The requirement for fonts to
617
+ remain under this license does not apply to any document created
618
+ using the Font Software.
619
+
620
+ TERMINATION
621
+ This license becomes null and void if any of the above conditions are
622
+ not met.
623
+
624
+ DISCLAIMER
625
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
626
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
627
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
628
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
629
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
630
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
631
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
632
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
633
+ OTHER DEALINGS IN THE FONT SOFTWARE.
634
+
@@ -0,0 +1,27 @@
1
+ Copyright 2009 The Go Authors.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are
5
+ met:
6
+
7
+ * Redistributions of source code must retain the above copyright
8
+ notice, this list of conditions and the following disclaimer.
9
+ * Redistributions in binary form must reproduce the above
10
+ copyright notice, this list of conditions and the following disclaimer
11
+ in the documentation and/or other materials provided with the
12
+ distribution.
13
+ * Neither the name of Google LLC nor the names of its
14
+ contributors may be used to endorse or promote products derived from
15
+ this software without specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turbo-html2pdf",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Fast native HTML/CSS + Jinja templating to PDF for Node — no headless browser, no Chromium.",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -25,7 +25,9 @@
25
25
  "Cargo.toml",
26
26
  "src/*.rs",
27
27
  "LICENSE",
28
- "README.md"
28
+ "README.md",
29
+ "THIRD_PARTY_NOTICES.md",
30
+ "assets/fonts/Go-Font-LICENSE"
29
31
  ],
30
32
  "napi": {
31
33
  "name": "turbo-pdf-napi",
Binary file
Binary file
Binary file
Binary file
Binary file