turbo-html2pdf 0.3.4 → 0.3.6

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