@iyulab/unpdf 0.47.0 → 0.49.0

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.
@@ -0,0 +1,146 @@
1
+ Third-party notices
2
+ ===================
3
+
4
+ The standard-fonts feature (on in the C ABI, .NET and Python packages) embeds the 14
5
+ stand-in font faces PDFium ships (assets/standard-fonts/), unmodified, and every build
6
+ converts DeviceCMYK colors with the color table PDFium uses (src/parser/cmyk_srgb_data.rs,
7
+ written by scripts/gen_cmyk_srgb.py from core/fxge/dib/cfx_cmyk_to_srgb.cpp), under this license:
8
+
9
+ Copyright 2014 PDFium Authors. All rights reserved.
10
+
11
+ Redistribution and use in source and binary forms, with or without
12
+ modification, are permitted provided that the following conditions are
13
+ met:
14
+
15
+ * Redistributions of source code must retain the above copyright
16
+ notice, this list of conditions and the following disclaimer.
17
+ * Redistributions in binary form must reproduce the above
18
+ copyright notice, this list of conditions and the following disclaimer
19
+ in the documentation and/or other materials provided with the
20
+ distribution.
21
+ * Neither the name of Google Inc. nor the names of its
22
+ contributors may be used to endorse or promote products derived from
23
+ this software without specific prior written permission.
24
+
25
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
+
37
+ ------------------------------------------------------------------------
38
+
39
+ Every build reads predefined CJK character collections with the CID-to-Unicode tables of
40
+ Adobe's CMap resources (https://github.com/adobe-type-tools/cmap-resources): the files
41
+ cmap-data/*/cid2code.txt are Adobe-CNS1-7, Adobe-GB1-6, Adobe-Japan1-7 and Adobe-Korea1-2,
42
+ unmodified, and build.rs compiles tables from them. Under this license:
43
+
44
+ Copyright 1990-2023 Adobe. All rights reserved.
45
+
46
+ Redistribution and use in source and binary forms, with or without
47
+ modification, are permitted provided that the following conditions are
48
+ met:
49
+
50
+ Redistributions of source code must retain the above copyright notice,
51
+ this list of conditions and the following disclaimer.
52
+
53
+ Redistributions in binary form must reproduce the above copyright
54
+ notice, this list of conditions and the following disclaimer in the
55
+ documentation and/or other materials provided with the distribution.
56
+
57
+ Neither the name of Adobe nor the names of its contributors may be
58
+ used to endorse or promote products derived from this software without
59
+ specific prior written permission.
60
+
61
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
62
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
63
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
64
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
65
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
66
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
67
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
68
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
69
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
70
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
71
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
72
+
73
+ ------------------------------------------------------------------------
74
+
75
+ Every build maps glyph names to Unicode with the Adobe Glyph List
76
+ (https://github.com/adobe-type-tools/agl-aglfn, glyphlist.txt, table version 2.0;
77
+ src/parser/agl_data.rs, written by scripts/gen_agl.py). Under this license:
78
+
79
+ Copyright 2002-2019 Adobe (http://www.adobe.com/).
80
+
81
+ Redistribution and use in source and binary forms, with or without
82
+ modification, are permitted provided that the following conditions are
83
+ met:
84
+
85
+ Redistributions of source code must retain the above copyright notice,
86
+ this list of conditions and the following disclaimer.
87
+
88
+ Redistributions in binary form must reproduce the above copyright
89
+ notice, this list of conditions and the following disclaimer in the
90
+ documentation and/or other materials provided with the distribution.
91
+
92
+ Neither the name of Adobe nor the names of its contributors may be
93
+ used to endorse or promote products derived from this software without
94
+ specific prior written permission.
95
+
96
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
97
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
98
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
99
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
100
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
101
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
102
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
103
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
104
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
105
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
106
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
107
+
108
+ ------------------------------------------------------------------------
109
+
110
+ Every build measures the 14 standard Type 1 fonts with the advance widths of Adobe's Core14
111
+ AFM files (AFM 4.1). src/parser/core14_data.rs, written by scripts/gen_core14_metrics.py,
112
+ is a modification of them: only the advance widths (WX) are kept, re-indexed by Unicode
113
+ code point (Latin fonts) or by built-in encoding code (Symbol, ZapfDingbats). The AFM files
114
+ carry this notice:
115
+
116
+ Copyright (c) 1985, 1987, 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated.
117
+ All Rights Reserved.
118
+
119
+ This file and the 14 PostScript(R) AFM files it accompanies may be used, copied, and
120
+ distributed for any purpose and without charge, with or without modification, provided
121
+ that all copyright notices are retained; that the AFM files are not distributed without
122
+ this file; that all modifications to this file or any of the AFM files are prominently
123
+ noted in the modified file(s); and that this paragraph is not modified. Adobe Systems has
124
+ no responsibility or obligation to support the use of the AFM files.
125
+
126
+ ------------------------------------------------------------------------
127
+
128
+ The Symbol and ZapfDingbats code -> Unicode maps in src/parser/core14_data.rs come from the
129
+ Unicode Consortium's Adobe vendor mappings
130
+ (https://unicode.org/Public/MAPPINGS/VENDORS/ADOBE/symbol.txt, zdingbat.txt), which carry
131
+ this notice:
132
+
133
+ Copyright (c) 1991-2011 Unicode, Inc. All Rights reserved.
134
+
135
+ This file is provided as-is by Unicode, Inc. (The Unicode Consortium). No
136
+ claims are made as to fitness for any particular purpose. No warranties of
137
+ any kind are expressed or implied. The recipient agrees to determine
138
+ applicability of information provided. If this file has been provided on
139
+ magnetic media by Unicode, Inc., the sole remedy for any claim will be
140
+ exchange of defective media within 90 days of receipt.
141
+
142
+ Unicode, Inc. hereby grants the right to freely use the information
143
+ supplied in this file in the creation of products supporting the
144
+ Unicode Standard, and to make copies of this file in any form for
145
+ internal or external distribution as long as this notice remains
146
+ attached.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iyulab/unpdf",
3
3
  "type": "module",
4
4
  "description": "High-performance PDF extraction to Markdown, text, and JSON (WebAssembly)",
5
- "version": "0.47.0",
5
+ "version": "0.49.0",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -12,7 +12,8 @@
12
12
  "unpdf_wasm_bg.wasm",
13
13
  "unpdf_wasm.js",
14
14
  "unpdf_wasm_bg.js",
15
- "unpdf_wasm.d.ts"
15
+ "unpdf_wasm.d.ts",
16
+ "THIRD-PARTY-NOTICES"
16
17
  ],
17
18
  "main": "unpdf_wasm.js",
18
19
  "types": "unpdf_wasm.d.ts",
Binary file